SkrfNetwork

class pmrf.models.adapters.static.SkrfNetwork(network: Network | NetworkCollection, interpolation_kind: Literal['linear', 'cubic'] = 'linear')

Bases: Model

A model wrapping a static skrf.Network or NetworkCollection.

This model takes a skrf.Network and interpolates its S-parameters to the frequency grid requested during simulation.

Parameters:
  • network (skrf.Network | NetworkCollection) – The static network data containing S-parameters and frequency information.

  • interpolation_kind ({"linear", "cubic"}, default="linear") – How the S-parameters are interpolated onto the requested grid. "linear" interpolates the complex matrices directly; "cubic" evaluates not-a-knot splines fitted to the real and imaginary parts separately at construction time. Both give NaN outside the source band.

interpolation_kind: Literal['linear', 'cubic']

The interpolation used when evaluating at a new frequency grid.

property network: Network | NetworkCollection

The underlying network data, renormalised to 50 ohm.