perwavelength2perfrequency
- typhon.physics.perwavelength2perfrequency(perm, lam_grid)[source]
Conversion between Wavelength- and Frequency-related Spectral Quantities.
- Parameters:
perm (ndarray) – Quantity per wavelength [?/m].
lam_grid (1darray) – Wavelength grid [m].
- Returns:
Quantity per frequency [?/Hz]. 1darray[nlam_grid]: Frequency grid [Hz].
- Return type:
ndarray[nlam_grid, …]