sdr.wavelength(freq: ArrayLike) NDArray[float_]

Calculates the wavelength \(\lambda\) of an electromagnetic wave with frequency \(f\).

\[\lambda = \frac{c}{f}\]

Parameters:
freq: ArrayLike

The frequency \(f\) in Hz of the signal.

Returns:

The wavelength \(\lambda\) in meters.

Examples

The wavelength of a 1 GHz signal is 0.3 meters.

In [1]: sdr.wavelength(1e9)
Out[1]: 0.299792458