perwavenumber2perfrequency

typhon.physics.perwavenumber2perfrequency(perwn, wn_grid)[source]

Conversion between Wavenumber- and Frequency-related Spectral Quantities.

Parameters:
  • perwn (ndarray) – Quantity per wavenumber [?/1/m].

  • wn_grid (1darray) – Wavenumber grid [1/m].

Returns:

Quantity per frequency [?/Hz]. 1darray[nwn_grid]: Frequency grid [Hz].

Return type:

ndarray[nwn_grid, …]