# Theory: Signal Analysis

> One page of the phonometry documentation, as Markdown. Index: https://docs.jmrp.io/phonometry/llms.txt

Canonical: https://docs.jmrp.io/phonometry/reference/theory/signal-analysis/
Language: en
Alternate: https://docs.jmrp.io/phonometry/es/reference/theory/signal-analysis/index.md
Version: phonometry 4.0.0
Install: pip install "phonometry[full]"
Author: José Manuel Requena Plens (https://orcid.org/0000-0003-1250-6212)
Published: 2026-07-15
Updated: 2026-11-16T21:36:13Z
Standards: IEC 61260-1:2014; IEC 61672-1:2013; IEC 61043:1993; ISO 9614-1:1993; JCGM 100:2008, the GUM; JCGM 101:2008
Verified: 86 conformance checks (IEC 61260-1:2014; IEC 61672-1:2013; IEC 61043:1993; ISO 9614-1:1993; JCGM 100:2008; JCGM 101:2008) https://docs.jmrp.io/phonometry/reference/conformance/
License: MIT (https://github.com/jmrplens/phonometry/blob/main/LICENSE)
Summary: Filter bank design, frequency weightings, time integration, level and exposure metrics, sound intensity and the GUM uncertainty framework behind phonometry.

---

This page collects the theory behind the measurement chain itself: the standardized fractional-octave bands and the time-domain filter banks that implement them, the frequency weighting curves, time integration, level, event and exposure metrics, sound intensity, and the GUM uncertainty framework that underpins every measured quantity. It is part of the [theory reference](https://docs.jmrp.io/phonometry/reference/theory/).

## Octave Band Frequencies (ANSI S1.11 / IEC 61260)

The mid-band frequencies ($f_\mathrm{m}$) and edges ($f_1$, $f_2$) use a base-10 ratio:

$$
G = 10^{0.3}
$$

$G = 10^{0.3} \approx 1.9953$ is the octave ratio IEC 61260-1 and ANSI S1.11
adopt in preference to an exact factor of 2, because a base-10 ratio keeps the
band grid commensurate with the decade grid tabulated data uses and puts 1 kHz
exactly on it. The band index $x$ is an integer, anchored so that $x = 30$ lands
on the 1 kHz reference, and the mid-band frequency depends on whether the
fraction $b$ is odd or even:

**Mid-band:**

$$
f_\mathrm{m} = 1000 \cdot G^{(x-30)/b} \quad (b \text{ odd}), \qquad
f_\mathrm{m} = 1000 \cdot G^{(2x-59)/(2b)} \quad (b \text{ even})
$$

The distinction is not cosmetic. For odd $b$ the reference sits at a band
*centre*, so a one-third-octave bank has a band centred exactly on 1000.00 Hz;
for even $b$ it sits on a band *edge*, so a sixth-octave bank has bands at
944.1 Hz and 1059.3 Hz and none at 1 kHz at all. A formula written only for odd
$b$ cannot produce the band set the library returns for `fraction=2`,
`fraction=6` or `fraction=12`.

**Band edges:**

$$
f_1 = f_\mathrm{m} \cdot G^{-1/(2b)}, \quad f_2 = f_\mathrm{m} \cdot G^{1/(2b)}
$$

![Three octaves about 1 kHz, from 354.8 Hz to 2818.4 Hz on a logarithmic frequency axis, cut into four rows of bands, each band carrying its exact mid-band frequency and, in bold, its label. Octave, b = 1: three bands centred on 501.2, 1000.0 and 1995.3 Hz, labelled 500, 1k and 2k. Half octave, b = 2: six bands, the two that meet at 1 kHz centred on 841.4 and 1188.5 Hz and labelled 841 and 1.19k. One-third octave, b = 3: nine bands from 398.1 to 2511.9 Hz, the middle one centred on 1000.0 Hz and the next one, 1258.9 Hz, labelled 1.25k. One-sixth octave, b = 6: eighteen bands, the two that meet at 1 kHz centred on 944.1 and 1059.3 Hz and labelled 940 and 1.06k. A dashed line marks the reference frequency of 1 kHz: it meets a mid-band frequency in the two rows of odd b and runs along a band edge in the two rows of even b, where no band is centred on it](https://docs.jmrp.io/phonometry/media/fractional_octave_band_ruler.svg)

The ruler draws the three octaves about 1 kHz as `nominal_frequencies` returns
them for `fraction=1`, `2`, `3` and `6`, each band from $f_1$ to $f_2$. Every
row shares the edges of the octave bands, so an octave band is exactly two
half-octave, three one-third-octave or six one-sixth-octave bands. The rows
differ at the reference: the odd ones have a band centred on it, the even ones
a band edge.

**Exact centre against printed label.** The $f_\mathrm{m}$ above is the exact mid-band
frequency; what an instrument prints (and what `nominal_frequencies` returns as
its `labels`, or `octave_filter(..., nominal=True)`) is the *nominal* mid-band
frequency of IEC 61260-1:2014 (5.5 and Annex E), and how it is rounded depends
on the fraction:

- **Octave and one-third octave.** The nominal frequencies of Table E.1, which
  are the preferred frequencies of ISO 266: the one-third-octave band whose
  exact centre is 1258.9 Hz is labelled 1250 Hz (`1.25k`).
- **Half octave.** The exact centre rounded to its first three significant
  digits (E.2): 841.4 Hz is labelled `841`.
- **From 1/4 to 1/24 octave.** Three significant digits when the leading digit
  of the exact centre is 1 to 4, and two when it is 5 to 9 (E.3.2 and E.3.3):
  the sixth-octave bands centred on 944.1 Hz and 1059.3 Hz are labelled `940`
  and `1.06k`.
- **Finer than 1/24 octave.** E.3.5 asks for more significant digits until no
  two labels in a decade are the same, and `nominal_frequencies` adds the
  fewest that do it to both counts of E.3: none up to 1/36 octave, one at 1/48,
  where the band centred on 497.6 Hz is labelled `497.6` and the next one, at
  504.8 Hz, `505`.

ISO 266 lists preferred frequencies for the octave and the one-third octave
only, so the label of any other fraction is not a preferred number. Compare
band levels between tools by index or by exact centre, never by matching label
strings: different tools round the labels differently.

## Frequency Resolution vs FFT Bin Spacing

`octave_filter` is a **time-domain fractional-octave filter bank**, not an FFT or
Welch spectrum estimator. Therefore, its result does not have a frequency
resolution in the `fs / nfft` sense.

For `fraction=3`, the output contains one scalar level per one-third-octave band.
The relevant frequency granularity is the standardized band definition: center
frequency, lower edge, and upper edge. Because fractional-octave bands are
logarithmically spaced, their absolute bandwidth in Hz grows with frequency
while their relative bandwidth remains approximately constant.

For example, with `fraction=3` and `limits=[12, 20000]`, the exact one-third-octave
band around 1 kHz is approximately:

| Nominal band | Lower edge | Center | Upper edge | Bandwidth |
| :--- | ---: | ---: | ---: | ---: |
| 1 kHz | 891.25 Hz | 1000.00 Hz | 1122.02 Hz | 230.77 Hz |

You can inspect the exact bands with:

```python
from phonometry import filters

bands = filters.nominal_frequencies(fraction=3, limits=[12, 20000])
for label, center, lower, upper in zip(
    bands.labels, bands.frequencies, bands.lower_edges, bands.upper_edges
):
    print(label, center, lower, upper, upper - lower)
```

If you need narrowband FFT bins for tonal inspection, run Welch/FFT on the
original signal and use the phonometry band edges as masks:

```python
import numpy as np
from scipy import signal
from phonometry import filters

fs = 100_000
# any 1D pressure signal in Pa (synthesized here so the example runs)
pressure_signal_pa = 0.02 * np.random.default_rng(0).standard_normal(fs)
x = pressure_signal_pa

# Standardized one-third-octave levels from phonometry.
filtered = filters.octave_filter(
    x,
    fs=fs,
    fraction=3,
    limits=[12, 20_000],
)
levels, centers = filtered.levels, filtered.frequencies

# Same standardized band definitions, including lower/upper edges.
bands = filters.nominal_frequencies(fraction=3, limits=[12, 20_000])
fc, fl, fu = bands.frequencies, bands.lower_edges, bands.upper_edges

# Narrowband Welch estimate on the original signal.
nperseg = min(2**15, len(x))
freq_bins, psd = signal.welch(
    x,
    fs=fs,
    window="hann",
    nperseg=nperseg,
    noverlap=nperseg // 2,
    scaling="density",
)

# Example: list the Welch bins inside the one-third-octave band closest to 1 kHz.
band_index = int(np.argmin(np.abs(np.asarray(fc) - 1000.0)))
in_band = (freq_bins >= fl[band_index]) & (freq_bins <= fu[band_index])

print("Selected one-third-octave band:", bands.labels[band_index])
print("Welch bin spacing:", freq_bins[1] - freq_bins[0], "Hz")
for f, pxx in zip(freq_bins[in_band], psd[in_band]):
    print(f, pxx)
```

![One-third-octave spectrum analysis of a six-tone signal with the raw PSD in the background](https://docs.jmrp.io/phonometry/media/signal_response_fraction_3.svg)

*The two objects on one axis, for a six-tone signal at 20, 100, 500, 2000,
4000 and 15 000 Hz. The grey trace is a Welch PSD ($f_\mathrm{s}$ = 48 kHz,
`nperseg = 8192`, so a fixed 5.86 Hz bin everywhere); the markers are the
standardized one-third-octave levels of the same signal. The bin width never
changes and the band width does: 4.60 Hz at the 20 Hz band, narrower than one
bin, against 230.77 Hz at 1 kHz and 3657 Hz at 16 kHz. That is why the top
bands each swallow hundreds of bins while the bottom ones sit inside a single
one, and why the two answers cannot be converted into each other. (The PSD
trace is offset vertically for legibility, so read its shape, not its level.)*

This keeps the two concepts separate: phonometry gives standardized
fractional-octave levels, while Welch gives narrowband FFT bins. With
`fs=100000` and `nperseg=2**15`, the Welch bin spacing is about 3.05 Hz.
Window choice and overlap affect leakage and averaging variance, but they do not
change the bin spacing of each FFT segment.

When `sigbands=True`, `octave_filter` can also return the time-domain waveform
filtered by each band. Applying Welch/FFT to one selected filtered waveform can
be useful as a diagnostic view of the content inside that filtered band, but it
does not recover FFT bins from the scalar band levels.

## Magnitude Responses

The magnitude response of a filter is $|H(j\omega)|$, the modulus of its
transfer function evaluated on the imaginary axis: what the filter does to the
amplitude of a steady sinusoid at each frequency, before any band is filtered.
The library implements standard classical filter prototypes:

**1. Butterworth:** Maximally flat passband.

$$
|H(j\omega)| = \frac{1}{\sqrt{1 + (\omega/\omega_\mathrm{c})^{2n}}}
$$

**2. Chebyshev I:** Equiripple in passband, steeper roll-off.

$$
|H(j\omega)| = \frac{1}{\sqrt{1 + \epsilon^2 T_n^2(\omega/\omega_\mathrm{c})}}
$$

**3. Chebyshev II:** Inverse Chebyshev, equiripple in stopband, flat passband.

$$
|H(j\omega)| = \frac{1}{\sqrt{1 + \frac{1}{\epsilon^2 T_n^2(\omega_\mathrm{stop}/\omega)}}}
$$

**4. Elliptic:** Equiripple in both, maximum selectivity.

$$
|H(j\omega)| = \frac{1}{\sqrt{1 + \epsilon^2 R_n^2(\omega/\omega_\mathrm{c}, L)}}
$$

**5. Bessel:** Maximally flat group delay (linear phase).

$$
H(s) = \frac{\theta_n(0)}{\theta_n(s/\omega_0)}
$$

(Where $\theta_n$ is the reverse Bessel polynomial)

The five are not interchangeable for a reported band level, and the table says
which is which:

| Prototype | Passband | Stopband | Where its edge frequency is defined | IEC 61260-1 class reachable | Where it belongs |
| :--- | :--- | :--- | :--- | :--- | :--- |
| Butterworth | Monotone, maximally flat | Monotone | −3 dB | **Class 1** with the defaults | The bank default, and any reported level |
| Chebyshev II | Flat | Equiripple | −3 dB (mapped from the stopband edge) | Class 1 once `attenuation` ≥ 70 dB | A steeper skirt at the same order |
| Chebyshev I | Equiripple (`ripple` dB) | Monotone | Passband ripple edge | None | Exploratory filtering |
| Elliptic | Equiripple | Equiripple | Passband ripple edge | None | Exploratory filtering |
| Bessel | Maximally flat group delay | Slow roll-off | −3 dB | None | Preserving a burst or decay envelope |

The bank default is Butterworth, order 6, and it is the only architecture that
clears the IEC 61260-1:2014 class 1 mask with the default parameters; Chebyshev II
joins it once the stopband attenuation is raised to 70 dB or more. Chebyshev I,
elliptic and Bessel fail the mask on passband ripple or roll-off whatever the
parameters, so they belong to exploratory filtering and not to a band level that
will be reported. The physical reason is worth carrying: a flat passband means an
in-band tone is measured with no ripple error wherever it sits, and a monotone
stopband makes leakage from a loud neighbouring band predictable. An equiripple
design reaches the same mask at a lower order but biases a narrowband source by
up to the ripple value depending on where in the band it falls, and smears
impulsive signals through group-delay distortion near the edges. Bessel does the
opposite: it preserves the shape of a decay or a burst envelope, which matters
when the band signal feeds a reverberation-time fit, but will not meet class 1
at any reasonable order. Raising the order tightens the mask fit and lengthens
the filter transient, which the settling rule below quantifies.
`verify_filter_class` checks a designed bank against the masks; see
[Filter Class Verification](https://docs.jmrp.io/phonometry/signals/filters/filter-compliance/).

![Magnitude response comparison of the five filter architectures for the 1 kHz octave band, with a zoom at the -3 dB crossover](https://docs.jmrp.io/phonometry/media/filter_type_comparison.svg)

*The same 1 kHz octave band designed five ways. Look at three things: the
flatness of the passband top (Butterworth and Chebyshev II flat, Chebyshev I and
elliptic rippling by the design ripple), the steepness of the skirt just outside
the edges, and the shape of the deep stopband. The zoom at the crossover is where
the band-edge rule below becomes visible: the two equiripple designs are not at
−3 dB there, because that is not where their edge is defined.*

### Band-edge placement

Every architecture is designed on the band edges themselves, at whichever
gain that architecture defines its edge frequency: **−3 dB** for Butterworth,
Chebyshev II and Bessel, and the **passband ripple edge** (`ripple` dB, 0.1 dB
by default) for Chebyshev I and elliptic, which are equiripple in the passband
and have no −3 dB point there. Two cases need special handling:

- **Chebyshev II**: scipy's `Wn` is the *stopband* edge. phonometry maps the
  desired −3 dB edges to stopband edges analytically (the prototype transition
  ratio is $\cosh(\operatorname{acosh}(\sqrt{10^{A/10}-1})/N)$), applying the
  lowpass→bandpass transform in the pre-warped bilinear domain so the mapping
  stays exact for decimated bands close to Nyquist.
- **Bessel**: designed with `norm="mag"`, which defines the −3 dB point exactly
  at `Wn` (the `phase` norm would shift the edges to roughly −10 dB).

## Filter Bank Design & Numerical Stability

A single high-order band-pass at 16 Hz and 192 kHz puts its poles within about
$10^{-4}$ of the unit circle, where float64 coefficients no longer resolve them
and the difference equation degenerates. Two measures keep every band of the bank
away from that regime:

![Data flow inside one band of the filter bank: a band with room to decimate, meaning half the sample rate is at least 32 times its upper edge, so that it can be decimated by two or more and still keep its processing Nyquist frequency sixteen times that edge, takes the resample_poly branch down to fs over M so its poles stay clear of the unit circle, every band is then a cascade of second-order sections designed on the IEC 61260-1 band edges rather than one high-order transfer function, both branches end in the band level in dB, and sigbands=True additionally returns the band signal brought back to the input rate](https://docs.jmrp.io/phonometry/media/diagram_bank_dataflow.svg)

1. **Second-Order Sections (SOS):** each band is a cascade of biquads rather than
   one high-order transfer function, so a coefficient rounding error perturbs one
   pole pair instead of all of them at once.
2. **Multi-rate Decimation:** whenever half the sample rate is at least 32
   times the band's upper edge, the signal is downsampled (decimated) by
   $M = \lfloor (f_\mathrm{s}/2) / (16\,f_\text{upper}) \rfloor$ before filtering
   (the 18 lowest of the 33 one-third-octave bands at 48 kHz), so each low band
   is filtered near its own natural rate and its poles sit well inside the unit
   circle. It stops at sixteen times the upper edge because closer to its
   Nyquist frequency the bilinear transform bends the band: at 1.25 times the
   edge the octave bank summed its adjacent outputs to +0.94 dB, past the
   +0.8 dB of class 1 in IEC 61260-1:2014 5.16, and at 16 the bend moves that
   sum by at most 0.005 dB. The band level is computed on the decimated signal;
   only `sigbands=True` brings the band signal back to the input rate, with
   `resample_poly(M, 1)`. Both directions run through the same linear-phase
   Kaiser-windowed filter, sized for a 120 dB stopband so that the images the
   decimation folds onto a band stay more than 125 dB below it. A Chebyshev II
   band of low order and deep stopband, whose stopband edge would sit above
   sixteen times its upper edge, reserves more so its stopband edge stays below
   the decimated Nyquist.
3. **Settling, and two effects that bias a band level.** A band filter needs
   roughly $5/f_\text{low}$ seconds to settle, so a 1 s record already truncates
   the 16 Hz band's response and reads several tenths of a decibel low while the
   same record is ample above 500 Hz; the analysed record must exceed both
   $5/f_\text{low}$ and, for a decay measurement, the reverberation time of the
   band. `mode='peak'` reads the filter's own onset overshoot (up to about 1 dB
   for an abruptly starting tone), so a peak band level of a gated signal should
   discard the first $5/f_\text{low}$ seconds. And `zero_phase=True` runs the
   cascade forwards and backwards: group delay disappears, which is what
   ISO 3382-2 clause 7.3 wants for a decay, but the effective passband narrows
   and the measured **broadband** band level falls by roughly 0.2 to 0.3 dB per
   band (a pure in-band tone is unaffected, sitting where both passes are ≈ 0 dB),
   so a level reported for conformity should come from the single forward pass.

See the [Filter Banks guide](https://docs.jmrp.io/phonometry/signals/filters/filter-banks/) for usage,
the [Filter Gallery](https://docs.jmrp.io/phonometry/signals/filters/filter-gallery/) for the five
architectures side by side, and
[Filter Class Verification](https://docs.jmrp.io/phonometry/signals/filters/filter-compliance/) for
checking a designed bank against the IEC 61260-1 masks.

## Weighting Curves (IEC 61672-1)

A frequency weighting is a fixed approximation to the ear's frequency response
*at one loudness*, obtained by inverting an equal-loudness contour. **A** follows
the inverse of the 40 phon contour, **C** the inverse of a contour near 100 phon
(hence nearly flat through the mid band, with only the band-limiting roll-offs
left), and **Z** is a defined flat response between stated band limits, not the
absence of a filter. That origin is also the domain of validity: because A is
anchored at 40 phon it progressively under-reads the low-frequency content of
loud sources, which is exactly why loudness models, C-weighted peaks and the G
curve below exist. See
[Equal-loudness contours](https://docs.jmrp.io/phonometry/reference/theory/perception/#equal-loudness-contours-iso-2262023)
for the contours themselves.

The A-weighting transfer function:

$$
R_\mathrm{A}(f) = \frac{12194^2 \cdot f^4}{(f^2 + 20.6^2)\sqrt{(f^2 + 107.7^2)(f^2 + 737.9^2)}(f^2 + 12194^2)}
$$

The four corner frequencies are the pole pairs at 20.6 Hz and 12194 Hz that band-
limit the response and the single poles at 107.7 Hz and 737.9 Hz that build the
low-frequency slope; the $+2.00$ dB term is the normalisation that forces the
response to exactly 0 dB at 1 kHz.

$$
A(f) = 20 \log_{10}(R_\mathrm{A}(f)) + 2.00
$$

The digital filter is obtained from the analog poles/zeros via the bilinear
transform. Because the bilinear transform compresses frequencies near Nyquist,
the default `high_accuracy` mode does not apply that transform to the printed
prototype: it fits a prototype of the same structure whose response *at the
warped frequencies* is the printed one's response at the true frequencies, and
transforms that; see [Frequency Weighting](https://docs.jmrp.io/phonometry/signals/levels/weighting/).

![A, C and Z frequency weighting curves of IEC 61672-1 with a zoom showing the positive region of the A curve (+1.27 dB at 2.5 kHz)](https://docs.jmrp.io/phonometry/media/weighting_responses.svg)

*The three IEC 61672-1 weighting curves realized by the library, with the small positive region of the A curve magnified. The special B, D and AU curves are charted in [Special Weightings](https://docs.jmrp.io/phonometry/signals/levels/special-weightings/).*

## Time Integration

Implemented as a first-order IIR exponential integrator:

$$
y[n] = \alpha \cdot x^2[n] + (1 - \alpha) \cdot y[n-1]
$$

$$
\alpha = 1 - \mathrm{e}^{-1 / (f_\mathrm{s} \cdot \tau)}
$$

This is the digital image of the analogue RC detector of the classical sound
level meter: the squared pressure charges a capacitor through a resistor, so the
displayed mean square is a one-pole low pass on $p^2$ with time constant $\tau$,
and $\alpha = 1 - \mathrm{e}^{-1/(f_\mathrm{s} \tau)}$ is its impulse-invariant discretisation,
exact at any $f_\mathrm{s}$, unlike the $1/(f_\mathrm{s} \tau)$ approximation often seen. The two
standard constants are $\tau = 125$ ms (**Fast**) and $\tau = 1$ s (**Slow**).
A step input reaches within 1 dB of its final value after about $1.6\tau$ and is
0.03 dB short at $5\tau$, which is why levels read from the first few time
constants of a record are biased low.

**Impulse is not this filter.** It cannot be: a single $\alpha$ cannot hold a
peak, and the figure below shows Impulse holding one. IEC 61672-1 defines the I
weighting as a fast 35 ms detector followed by a 1.5 s decay, implemented here as
an *asymmetric* detector: it charges with $\tau = 35$ ms whenever the input
exceeds the current state and discharges with $\tau = 1.5$ s otherwise, so a
transient is captured quickly and then held for over a second. That makes I
neither an r.m.s. nor an energy average, which is why it is reserved for the
specific regulations that name it and must never be energy-summed across
intervals.

The default initial condition is $y[-1] = 0$. Use `initial_state='first'` to
start from the first input energy, or pass a scalar/array with the previous
mean-square output state. See [Why phonometry](https://docs.jmrp.io/phonometry/start/why-phonometry/) for the
IEC 61672-1 tone-burst verification of this implementation.

![Fast, Slow and Impulse time weighting responses to a noise burst](https://docs.jmrp.io/phonometry/media/time_weighting_analysis.svg)

*The exponential integrator at the three standard time constants: Fast follows a burst, Slow smooths it and Impulse holds its peak.*

## G-weighting (ISO 7196)

The G curve extends frequency weighting into the infrasound range. ISO 7196:1995 Table 1 (p. 2) defines it by four zeros at the origin and four complex-conjugate pole pairs, given as coordinates in Hz (multiplied by $2\pi$ to obtain rad/s):

$$
z_{1..4} = 0, \qquad
p = 2\pi \left\lbrace -0.707 \pm j0.707,\  -19.27 \pm j5.16,\  -14.11 \pm j14.11,\  -5.16 \pm j19.27 \right\rbrace \ \text{Hz}
$$

The gain $k$ is chosen so that the response is exactly **0 dB at 10 Hz** (clause 4):

$$
k = \left| \frac{\prod_i (j\omega_{10} - p_i)}{\prod_i (j\omega_{10} - z_i)} \right|, \qquad \omega_{10} = 2\pi \cdot 10 \ \text{rad/s}
$$

The four zeros against eight poles shape the characteristic response: a rise of approximately **+12 dB/octave between 1 Hz and 20 Hz**, with roll-offs of approximately **24 dB/octave** below 1 Hz and above 20 Hz.

![G-weighting frequency response from 0.1 Hz to 1 kHz with the ISO 7196 Table 2 nominal values overlaid](https://docs.jmrp.io/phonometry/media/g_weighting_response.svg)

*The shape those four zeros and four pole pairs make, against the ISO 7196
Table 2 nominal values: 0 dB at the 10 Hz anchor, the +12 dB/octave climb
through the infrasound decade below it, and the two 24 dB/octave roll-offs
that fence the curve off below 1 Hz and above 20 Hz.*

Infrasound needs its own curve because near the hearing threshold the perceived loudness of very-low-frequency tones grows much more steeply with sound pressure level than at mid frequencies (a small dB increase above threshold produces a large loudness jump), so the A curve (anchored at 1 kHz) grossly misrepresents infrasonic annoyance.

Since G acts on 0.25 Hz – 315 Hz, far below the Nyquist frequency at audio rates, the frequency warping of the plain bilinear transform (applied without prewarping) is negligible there: about 0.014 % at 315 Hz for $f_\mathrm{s} = 48$ kHz, under 0.01 dB on the response. The default design still fits the prototype at the sample rate as it does for A and C, which costs nothing here and matters at the low rates infrasound is often recorded at, where 315 Hz approaches Nyquist.

See the [Special Weightings guide](https://docs.jmrp.io/phonometry/signals/levels/special-weightings/) for usage.

## Event and dose metrics

**Sound exposure level** (SEL; $L_{\mathrm{A}E}$ with A-weighting, IEC 61672-1:2013) normalizes the energy of a discrete event (aircraft flyover, train pass) to a 1 s reference duration:

$$
\mathrm{SEL} = L_{\mathrm{eq},T} + 10 \log_{10}\left(\frac{T}{T_0}\right), \qquad T_0 = 1\ \text{s}
$$

![A vehicle pass-by level history with its Leq over the whole event and the equal-energy one-second SEL block](https://docs.jmrp.io/phonometry/media/sel_concept.svg)

*What the formula does to an event: the pass-by is replaced by a one-second
block of the same total energy, which is why SEL exceeds the event's $L_\mathrm{eq}$
whenever the event lasts longer than a second, and why two events of the same
SEL are interchangeable in a dose even when one is loud and short and the
other quiet and long.*

**Sound exposure** $E$ (IEC 61252, 3.1) is the time integral of the squared A-weighted sound pressure, expressed in pascal-squared hours:

$$
E = \int_0^T p_\mathrm{A}^2(t)\ dt = \overline{p_\mathrm{A}^2} \cdot T \quad [\text{Pa}^2\text{h}]
$$

When the recording is a representative sample of a longer shift, $E$ scales the measured mean square by the actual exposure duration. The **normalized 8 h level** (IEC 61252, 3.3) converts exposure to the steady level that carries the same energy over a nominal working day:

$$
L_\mathrm{EX,8h} = 10 \log_{10}\left(\frac{E}{8\ \text{h} \cdot p_0^2}\right), \qquad p_0 = 20\ \mu\text{Pa}
$$

It is identical to $L_\mathrm{EP,d}$ of Directive 86/188/EEC and $L_\mathrm{EX,8h}$ of ISO 1999 (IEC 61252, 3.3 NOTES 5–6). The anchor of IEC 61252 (3.3 NOTE 4): an exposure of **3.2 Pa²h corresponds to $L_\mathrm{EX,8h}$ of exactly 90 dB**. ISO 9612 prescribes how to sample a working day to obtain it and how to bound the result; see [Occupational noise exposure](https://docs.jmrp.io/phonometry/reference/theory/environment-transport/#occupational-noise-exposure-iso-9612).

**$L_\mathrm{Cpeak}$** (IEC 61672-1:2013, subclause 5.13) is the absolute maximum of the C-weighted sound pressure expressed in dB, $L_\mathrm{Cpeak} = 20\log_{10}(\max|p_\mathrm{C}(t)|/p_0)$, the quantity behind the 135/137/140 dB(C) occupational action limits. The implementation is verified against the one-cycle and half-cycle reference responses of Table 5.

See the [Levels guide](https://docs.jmrp.io/phonometry/signals/levels/levels/) for usage and the [Calibration guide](https://docs.jmrp.io/phonometry/signals/metrology/calibration/) for absolute-scale setup.

## Sound intensity (IEC 61043)

Sound intensity is the time-averaged acoustic power flux $I = \overline{p u}$. The particle velocity follows from **Euler's equation** (linearized conservation of momentum):

$$
\rho_0 \frac{\partial u}{\partial t} = -\frac{\partial p}{\partial r}
$$

A p-p probe approximates the pressure gradient by the **finite difference** of two microphones a spacer distance $\Delta r$ apart (IEC 61043:1993, definition 3.2):

$$
p = \frac{p_1 + p_2}{2}, \qquad u = -\frac{1}{\rho_0 \Delta r} \int (p_2 - p_1)\ dt, \qquad I = \overline{p\ u}
$$

For stationary signals the same estimator has an exact frequency-domain form through the imaginary part of the one-sided **cross spectrum** $G_{12}$ of the two pressures; the implementation estimates it with Welch-averaged, Hann-windowed segments:

$$
I(f) = -\ \frac{\mathrm{Im}\lbrace G_{12}(f)\rbrace}{2 \pi f\ \rho_0\ \Delta r}
$$

The finite difference underestimates the true plane-wave intensity by the factor

$$
\frac{\sin(k \Delta r)}{k \Delta r}, \qquad k = \frac{2 \pi f}{c}
$$

IEC 61043 clause 7.3 specifies the probe intensity response with exactly this argument and Table 3 tabulates it (e.g. −10.5 dB at 6.3 kHz for a 25 mm spacer). Below $f = 0.1 c / \Delta r$ (i.e. $k \Delta r$ under 0.63) the bias stays within about 0.3 dB; `bias_correction` provides the reciprocal factor per band and `max_valid_frequency` the bound.

**The usable band is bounded below as well, and the library exposes no bound for
it.** Halving the spacer doubles the top of the band and simultaneously *halves*
the true pressure difference between the two microphones, because that difference
shrinks as $k \Delta r$. Any residual inter-channel phase mismatch is therefore
amplified in the same proportion, and at low frequency it eventually swamps the
true intensity, which is why a probe ships with a set of spacers rather than
one. As orders of magnitude, a 50 mm spacer covers roughly the 50 Hz to 1.25 kHz
thirds and a 12 mm spacer roughly 200 Hz to 5 kHz, so a full-range survey is two
passes stitched at the overlap. The consequence for validity is that a band fails
not because it lies above `max_valid_frequency` alone, but whenever the field
reactivity climbs to within the bias-error factor of the instrument's residual
index, which happens first at the *low*-frequency end.

![Two stacked panels against frequency. Above, the finite-difference bias for 6, 12 and 50 mm spacers, each falling away from 0 dB and crossing the dashed minus 0.3 dB line exactly at its own maximum valid frequency of 5.72, 2.86 and 0.69 kHz. Below, the residual-index margin each spacer inherits relative to the 25 mm separation IEC 61043 Table 2 is written for: minus 6.2 dB for 6 mm, minus 3.2 dB for 12 mm and plus 3.0 dB for 50 mm](https://docs.jmrp.io/phonometry/media/spacer_bandwidth.svg)

*Both ends of the band on one frequency axis, for 6, 12 and 50 mm spacers. Above, the finite-difference bias $\sin(k\Delta r)/(k\Delta r)$ of each: it crosses −0.3 dB at the spacer's own `max_valid_frequency`, 5.72, 2.86 and 0.69 kHz. That bound is stricter than the working ranges quoted above, which run on to about 1 dB of bias at their top (−1.0 dB at 1.25 kHz for 50 mm, −0.9 dB at 5 kHz for 12 mm). Below, what the spacer does to the other end: Table 2 of IEC 61043 states the minimum residual index for a 25 mm separation and its Note 1 moves the requirement by $10\log_{10}(x/25)$ for a separation of $x$ mm, which is how much the index a given phase mismatch leaves changes with the spacer: −6.2 dB for 6 mm, −3.2 dB for 12 mm and +3.0 dB for 50 mm. Doubling the spacer is worth 3 dB of low-frequency margin.*

That residual index is measured, not looked up. A residual intensity testing
device presents the same sound pressure to both microphones at once, both ports
opening onto one small cavity, so whatever intensity the probe then indicates is
pure phase-mismatch residual and $\delta_{pI0} = L_p - L_I$ in that state, per
band. It is part of the checks made before a survey, with the microphones in the
same ports and orientation they will be used in, and any phase compensation
applied there stays applied for the measurement.

![Three panels. First, the IEC 61043 residual-intensity testing device: a small coupler driving pink or white noise onto both probe capsules at the same level within plus or minus 0.1 decibel, from which the residual index is read as the pressure level minus the indicated intensity level. Second, an IEC 60942 class 0 or class 1 sound calibrator applied to one microphone at a time, with the instrument adjusted to within plus or minus 0.1 decibel in both channels. Third, the in-situ probe-reversal test: the probe on the measurement surface reading a positive normal intensity, then rotated 180 degrees about its acoustic centre and reading a negative one, accepted when the two have opposite signs and differ by less than 1.5 decibel in the band of maximum level](https://docs.jmrp.io/phonometry/media/diagram_residual_intensity_check.svg)

*The paragraph above is the first panel: the testing device of IEC 61043 clause 10.2, with pink or white noise over the whole or part of 45 Hz to 7.1 kHz and both capsules at the same level within ±0.1 dB (at least from 45 Hz to 1 kHz), from which $\delta_{pI0}$ is read. The other two panels are checks this page does not develop: the pressure check of each channel with a sound calibrator, adjusted to ±0.1 dB (IEC 61043 clause 14 b; ISO 9614-1 clause 6.2.1), and the probe reversal on the measurement surface, in which the two readings must have opposite signs and differ by less than 1.5 dB in the band of maximum level (clause 6.2.2 of ISO 9614-1 and of ISO 9614-2). The [Sound Intensity guide](https://docs.jmrp.io/phonometry/devices/emission/intensity/) works through both.*

![A two-microphone p-p sound intensity probe: two pressure microphones separated by a spacer, from which the pressure gradient and hence the normal intensity are estimated](https://docs.jmrp.io/phonometry/media/diagram_pp_probe.svg)

The **pressure-intensity index** $\delta_{pI} = L_p - L_I$ measures how reactive the field is: in a free plane progressive wave it equals $10 \log_{10}(\rho_0 c / 400) = 0.14$ dB, while large values flag reactive or noisy fields in which the inter-channel phase error dominates. ISO 9614-1:1993 Annex A generalizes it over a measurement surface as the indicator F2 (with F3 for negative partial power and F4 for field non-uniformity), and the instrument's **dynamic capability** $L_\mathrm{d} = \delta_{pI0} - K$ (pressure-residual intensity index minus the bias error factor: 10 dB for grades 1/2, 7 dB for grade 3) must exceed F2 for the measurement to be valid (criterion 1).

See the [Sound Intensity guide](https://docs.jmrp.io/phonometry/devices/emission/intensity/) for usage.

![One-third-octave pressure and intensity levels for a plane progressive wave versus a standing wave](https://docs.jmrp.io/phonometry/media/intensity_demo.svg)

*The p-p estimator in the two limiting fields: the gap between $L_p$ and $L_I$ is the pressure-intensity index that flags reactive fields.*

## Measurement uncertainty (ISO/IEC Guide 98-3: GUM and Supplement 1)

Domain budgets like ISO 12999-1 and ISO 9612 Annex C are instances of the
general framework of the GUM (ISO/IEC Guide 98-3:2008). Given a measurement
model $y = f(x_1, \ldots, x_N)$, the law of propagation of uncertainty
(clause 5) combines the input standard uncertainties through sensitivity
coefficients:

$$
u_\mathrm{c}^2(y) = \sum_{i=1}^{N} \left( \frac{\partial f}{\partial x_i} \right)^2 u^2(x_i),
$$

generalized to $(c \odot u)^{\top} r\ (c \odot u)$ for correlated inputs. The
sensitivities are obtained by central differences on the user's model callable
(step scaled to $10^{-3}$ of each input uncertainty), so no hand-derived
partials are needed. Type B inputs enter through the clause 4.3 half-width
rules: rectangular $a/\sqrt{3}$ (4.3.7), triangular $a/\sqrt{6}$ (4.3.9),
U-shaped $a/\sqrt{2}$. The expanded uncertainty $U = k\,u_\mathrm{c}$ takes $k$ from
the t-distribution at the Welch–Satterthwaite effective degrees of freedom
(Annex G.4):

$$
\nu_{\mathrm{eff}} = \frac{u_\mathrm{c}^4}{\sum_i u_i^4 / \nu_i}.
$$

**Supplement 1** (ISO/IEC Guide 98-3-1:2008) propagates the full distributions
instead: $10^6$ Monte Carlo draws (clause 6.4) through the same model give
$u(y)$ and the probabilistically symmetric coverage interval from the
$\frac{1}{2}(1 \mp p)$ fractiles (clause 7.7): the route when the model is
non-linear or the output visibly non-Gaussian. The Guides' own examples are
reproduced: the four-term additive model gives $u_\mathrm{c} = 2.0$ and the Monte Carlo
95 % interval $\pm 3.88$ of Supplement 1 clause 9.2/Table 3 (four rectangular
inputs; the output is nearly trapezoidal, not Gaussian, so the interval is
narrower than $\pm 1.96\,u$), and the GUM Annex H.1 end-gauge example gives
$k = t_{0.99}(\nu_{\mathrm{eff}} = 16) = 2.92$ and $U_{99} = 93$ nm.

![Two panels for the A-weighted level example. Left: the GUM uncertainty budget, a horizontal bar chart of each input's contribution to the combined uncertainty with a dashed line at uc of 0.407 dB. Right: the Monte Carlo output histogram overlaid with the GUM Gaussian and the shaded 95 percent coverage interval; the title reads Y equals 74.00 dB, U equals 0.86 dB, k equals 2.11](https://docs.jmrp.io/phonometry/media/uncertainty_budget.svg)

*The two routes on one problem, an A-weighted level, not the Supplement 1
four-term example quoted above. Left is the law of propagation as a budget:
one bar per input, so the term worth reducing is visible. Right is the
Supplement 1 route: the Monte Carlo output distribution with the GUM Gaussian
drawn over it and the 95 % coverage interval shaded. Here the two agree, which
is what clause 8 calls validation; where the model is non-linear or the output
visibly non-Gaussian the histogram departs from the curve and the interval is
read off the fractiles instead.*

See the [GUM Uncertainty guide](https://docs.jmrp.io/phonometry/signals/metrology/gum-uncertainty/) for usage.

## References

- **Fahy, F. J. (1995).** *Sound intensity* (2nd ed.). E&FN Spon. https://doi.org/10.4324/9780203475386
  ISBN 978-0-419-19810-9. The physics of the p-p estimator: active intensity, the finite-difference bias and the phase-mismatch error budget.
- **International Electrotechnical Commission. (1993).** [*Electroacoustics — Instruments for the measurement of sound intensity — Measurements with pairs of pressure sensing microphones*](https://webstore.iec.ch/en/publication/4353) (IEC 61043:1993).
  The p-p instrument standard, adopted in Europe as EN 61043:1994: the cross-spectral estimator and the pressure-residual intensity index behind the dynamic capability.
- **International Electrotechnical Commission. (2013).** [*Electroacoustics — Sound level meters — Part 1: Specifications*](https://webstore.iec.ch/en/publication/5708) (IEC 61672-1:2013).
  The A/C/Z weighting curves, the exponential time integration and the SEL and LCpeak definitions of the event-metric section.
- **International Electrotechnical Commission. (2014).** [*Electroacoustics — Octave-band and fractional-octave-band filters — Part 1: Specifications*](https://webstore.iec.ch/en/publication/5063) (IEC 61260-1:2014).
  The base-10 mid-band and band-edge definitions of the octave-band section and the class masks the banks are verified against.
- **International Organization for Standardization. (1993).** [*Acoustics — Determination of sound power levels of noise sources using sound intensity — Part 1: Measurement at discrete points*](https://www.iso.org/standard/17427.html) (ISO 9614-1:1993).
  The surface indicators F2–F4 that generalize the pressure-intensity index over a measurement surface.
- **Joint Committee for Guides in Metrology. (2008).** [*Evaluation of measurement data — Guide to the expression of uncertainty in measurement*](https://www.bipm.org/documents/20126/2071204/JCGM_100_2008_E.pdf) (JCGM 100:2008, the GUM). BIPM. https://doi.org/10.59161/JCGM100-2008E
  The law of propagation of uncertainty and the Welch–Satterthwaite expanded uncertainty of the GUM section. The linked PDF is the free download.
- **Joint Committee for Guides in Metrology. (2008).** [*Evaluation of measurement data — Supplement 1 to the "Guide to the expression of uncertainty in measurement" — Propagation of distributions using a Monte Carlo method*](https://www.bipm.org/documents/20126/2071204/JCGM_101_2008_E.pdf) (JCGM 101:2008). BIPM. https://doi.org/10.59161/JCGM101-2008
  The Monte Carlo propagation of distributions and its coverage-interval construction. The linked PDF is the free download.
- **Oppenheim, A. V., & Schafer, R. W. (2010).** [*Discrete-time signal processing*](https://openlibrary.org/isbn/9780131988422) (3rd ed.). Pearson.
  ISBN 978-0-13-198842-2. The digital-filter theory behind the SOS cascades, the bilinear transform and the multirate decimation of the filter-bank design section.
- **Smith, J. O. (n.d.).** [*Introduction to digital filters with audio applications*](https://ccrma.stanford.edu/~jos/filters/). Center for Computer Research in Music and Acoustics (CCRMA), Stanford University.
  A free online-book companion treatment of the classical filter prototypes and their magnitude responses.
