mwavepy.network.Network.interpolate

Network.interpolate(new_frequency, **kwargs)

calculates an interpolated network.

The default interpolation type is linear. see Notes for how to use other interpolation types.

Parameters :

new_frequency : Frequency

frequency information to interpolate at

**kwargs : keyword arguments

passed to scipy.interpolate.interp1d() initializer.

Returns :

result : Network

an interpolated Network

Notes

useful keyword for scipy.interpolate.interp1d(),
kind : str or int
Specifies the kind of interpolation as a string (‘linear’, ‘nearest’, ‘zero’, ‘slinear’, ‘quadratic, ‘cubic’) or as an integer specifying the order of the spline interpolator to use.

Previous topic

mwavepy.network.Network.flip

Next topic

mwavepy.network.Network.multiply_noise

This Page