CPW.to_meters(d, unit='deg')

Translate various units of distance into meters

This is a method of media to allow for electrical lengths as inputs. For dispersive media, mean group velocity is used to translate time-based units to distance.

  • d (number or array-like) – the value
  • unit (str) – the unit to that x is in: [‘deg’,’rad’,’m’,’cm’,’um’,’in’,’mil’,’s’,’us’,’ns’,’ps’]

See also