Line.get_wavelength

rfnetwork.elements.Line.get_wavelength

Line.get_wavelength(frequency, units='in')

Returns the propagation wavelength [inches] of the medium at the specified frequency [Hz].

Return type:

ldarray

Parameters

frequency: float | np.ndarray

Frequencies [Hz] at which to compute wavelength.

units: {“in”, “m”}, default: “in”

units of the returned wavelength.

Returns

ldarray:

Mx1 array where M is the number of frequencies.

Examples

>>> import rfnetwork as rfn
>>> ln_er1 = rfn.elements.Line(er=1)
>>> ln_er3 = rfn.elements.Line(er=3)
>>> ln_er1.get_wavelength(10e9)
ldarray([1.18028591])...
>>> ln_er3.get_wavelength(10e9)
ldarray([0.68143839])...