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.

Parameters:
  • new_frequency (Frequency) – frequency information to interpolate at
  • interp_kwargs – dictionary of kwargs to be passed through to scipy.interpolate.interpolate.interp1d()
  • **kwargs – passed to scipy.interpolate.interp1d() initializer.

Notes

This creates a new Frequency, object using the method from_f(), and then calls interpolate_self().