skrf.network.Network.interpolate_self

Network.interpolate_self(new_frequency, **kwargs)

interpolates s-parameters given a new :class:’~skrf.frequency.Frequency’ object.

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.

See also

interpolate
same function, but returns a new 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

skrf.network.Network.interpolate

Next topic

skrf.network.Network.interpolate_self_npoints

This Page