skrf.network.Network.interpolate_from_f¶
- Network.interpolate_from_f(f, interp_kwargs={}, **kwargs)[source]¶
Interpolates s-parameters from a frequency vector.
Given a frequency vector, and optionally a unit (see **kwargs) , interpolate the networks s-parameters linearly in real and imaginary components.
See
interpolate()for more information.Note
This creates a new
Frequency, object using the methodfrom_f(), and then callsinterpolate_self().- Parameters
new_frequency (
Frequency) – frequency information to interpolate atinterp_kwargs (dict) – dictionary of kwargs to be passed through to
scipy.interpolate.interpolate.interp1d()**kwargs – passed to
scipy.interpolate.interp1d()initializer.f (skrf.frequency.Frequency) –
- Return type
See also