# skrf.media.mline.MLine.to_meters¶

MLine.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’]

skrf.constants.to_meters()