skrf.network.Network.cropped

Network.cropped(f_start, f_stop, unit=None)[source]

Returns a cropped network, leaves self alone.

Parameters:
  • f_start (number) – start frequency of crop range, in units of self.frequency.unit. If f_start is lower than the lowest frequency, no change to the network is made by the lower bound.

  • f_stop (number) – stop frequency of crop range, in units of self.frequency.unit If f_stop is higher than the highest frequency, no change to the network is made by the higher bound.

  • unit (string) – Units that f_start and f_stop are described in. This must be a string recognized by the Frequency class, e.g. ‘Hz’,’MHz’, etc. A value of None assumes units are same as self

Returns:

ntwk – Resulting cropped network

Return type:

Network object

See also

crop