Network.interpolate_self(freq_or_n, **kwargs)[source]

Interpolate the current Network along frequency axis (inplace).

The input ‘freq_or_n` can be either a new Frequency or an int, or a new frequency vector (in Hz).

See interpolate() for more information.

  • freq_or_n (Frequency or int or list-like) –

    The new frequency over which to interpolate. this arg may be one of the following:

    • a new Frequency object

    • an int: the current frequency span is resampled linearly.

    • a list-like: create a new frequency using from_f()

  • **kwargs (keyword arguments) – passed to scipy.interpolate.interp1d() initializer.


The interpolation is performed inplace.

Return type


See also

resample, interpolate, interpolate_from_f