Weighting¶
Weightings according to IEC 61672-1:2003.
-
acoustics.weighting.
THIRD_OCTAVE_A_WEIGHTING
= array([-63.4, -56.7, -50.5, -44.7, -39.4, -34.6, -30.2, -26.2, -22.5, -19.1, -16.1, -13.4, -10.9, -8.6, -6.6, -4.8, -3.2, -1.9, -0.8, 0. , 0.6, 1. , 1.2, 1.3, 1.2, 1. , 0.5, -0.1, -1.1, -2.5, -4.3, -6.6, -9.3])¶ A-weighting filter for preferred 1/3-octave band center frequencies, as specified in
acoustics.bands.THIRD_OCTAVE_CENTER_FREQUENCIES
.
-
acoustics.weighting.
THIRD_OCTAVE_C_WEIGHTING
= array([-11.2, -8.5, -6.2, -4.4, -3. , -2. , -1.3, -0.8, -0.5, -0.3, -0.2, -0.1, 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , -0.1, -0.2, -0.3, -0.5, -0.8, -1.3, -2. , -3. , -4.4, -6.2, -8.5, -11.2])¶ C-weighting filter for preferred 1/3-octave band center frequencies, as specified in
acoustics.bands.THIRD_OCTAVE_CENTER_FREQUENCIES
.
-
acoustics.weighting.
a_weighting
(first, last)[source]¶ Select frequency weightings between
first
andlast
centerfrequencies from A-weighting. Possible values for these frequencies are third-octave frequencies between 12.5 Hz and 20,000 Hz (including them).- first : scalar
- First third-octave centerfrequency.
- last : scalar
- Last third-octave centerfrequency.
NumPy array with A-weighting between
first
andlast
centerfrequencies.
-
acoustics.weighting.
c_weighting
(first, last)[source]¶ Select frequency weightings between
first
andlast
centerfrequencies from C-weighting. Possible values for these frequencies are third-octave frequencies between 12.5 Hz and 20,000 Hz (including them).- first : scalar
- First third-octave centerfrequency.
- last : scalar
- Last third-octave centerfrequency.
NumPy array with A-weighting between
first
andlast
centerfrequencies.