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

Add phase delay to a given port.

This will cascade a matched line of length d/2 from a given media in front of port. If media==None, then freespace is used.

  • d (number) – the length of transmissin 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 delay to.
  • media ( – media object to use for generating delay. If None, this will default to freespace.