skrf.media.coaxial.Coaxial.to_meters
- Coaxial.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.
- Parameters:
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’]
- Returns:
d_m – d in meters
- Return type:
number, array-like
See also