skrf.network.Network.delay

Network.delay(d, unit='deg', port=0, media=None, **kw)[source]

Add phase delay to a given port.

This will connect a transmission line of length d/2 to the selected port. If no propagation properties are specified for the line (media=None), then freespace is assumed to convert a distance d into an electrical length. If a phase angle is specified for d, it will be evaluated at the center frequency of the network.

Parameters:
  • d (float) – The angle/length/delay of the transmission line (see unit argument)

  • unit (['deg','rad','m','cm','um','in','mil','s','us','ns','ps']) – The units of d. See Media.to_meters(), for details

  • port (int) – Port to add the delay to.

  • media (skrf.media.Media) – Media object to use for generating the delay. If None, this will default to freespace.

Returns:

ntwk – A delayed copy of the Network.

Return type:

Network object