aspcore.fouriertransform.dft.freqs_to_wavenum

aspcore.fouriertransform.dft.freqs_to_wavenum(freqs: numpy.ndarray, c: float)

Converts an array of frequencies to wave numbers

Parameters:
  • freqs (ndarray) – the frequencies in Hz

  • c (float) – the speed of sound

Returns:

wavenums – the wavenumbers

Return type:

ndarray