perfrequency2perwavelength

typhon.physics.perfrequency2perwavelength(perhz, f_grid)[source]

Conversion between Frequency- and Wavelength-related Spectral Quantities.

Parameters:
  • perhz (ndarray) – Quantity per frequency [?/Hz].

  • f_grid (1darray) – Frequency grid [Hz].

Returns:

Quantity per wavelength [?/m]. 1darray[nf_grid]: Wavelength grid [m].

Return type:

ndarray[nf_grid, …]