nenupy.astro.astro_tools.wavelength

nenupy.astro.astro_tools.wavelength(frequency=<Quantity 50. MHz>)[source]

Converts an electromagnetic frequency to a wavelength.

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

where \(\lambda\) is the wavelength, \(c\) is the speed of light and \(\nu\) is the frequency.

Parameters:

frequency (Quantity) – Frequency to convert in wavelength.

Returns:

Wavelength in meters, same shape as frequency.

Return type:

Quantity

Example:
from nenupy.astro import wavelength
import astropy.units as u

wavelength(frequency=10*u.MHz)