perfrequency2perwavenumber

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

Conversion between Frequency- and Wavenumber-related Spectral Quantities.

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

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

Returns:

Quantity per wavenumber [?/1/m]. 1darray[nf_grid]: Wavenumber grid [1/m].

Return type:

ndarray[nf_grid, …]