pyntbci.envelope.erb_space_bw

pyntbci.envelope.erb_space_bw(fmin: float, fmax: float, bw: float = 1.0) NDArray[source]

Auditory scale points specified by bandwidth. It computes a vector containing values equidistantly scaled between frequencies fmin and fmax at the ERB auditory scale. All frequencies are specified in Hz. The distance between two consecutive values is bw on ERB auditory scale, and the points will be centered on the scale between fmin and fmax.

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

Parameters:
  • fmin (float) – Minimum center frequency.

  • fmax (float) – Maximum center frequency.

  • bw (float (default: 1.0)) – Bandwidth or spacing between center frequencies.

Returns:

y – A vector containing the center frequencies.

Return type:

NDArray