em_wavelength
- plasmapy.formulary.laser.em_wavelength( ) Annotated[Quantity, Unit('m')][source]
Calculate the wavelength of a laser \(\lambda\) given the angular frequency \(\omega\).
The wavelength of an electromagnetic wave \(\lambda\) is calculated using:
\[\lambda = \frac{2\pi c}{\omega},\]where \(\omega\) is the angular frequency of the beam.
- Parameters:
angular_frequency (
Quantity) – angular frequency of the laser beam (convertible to rad / s).- Returns:
wavelength – The wavelength of a laser with a given angular frequency.
- Return type:
Notes
For details, see Ling et al. [2016].
Examples
>>> import astropy.units as u >>> em_wavelength(2.354307546e15 * u.rad / u.s) <Quantity 8e-07 m>