pyntbci.envelope.aud_to_freq

pyntbci.envelope.aud_to_freq(aud: NDArray, scale: str = 'erb') NDArray[source]

Convert auditory units at the auditory scale to frequency (Hz).

Adapted from LTFAT: https://ltfat.org/doc/auditory/audtofreq audtofreq.m (Peter L. Søndergaard)

Parameters:
  • aud (NDArray) – The values at the ERB auditory scale.

  • scale (str (default: "erb")) – Auditory scale.

Returns:

freq – The values in frequencies measured in Hz.

Return type:

NDArray