# Hearing Protectors (ISO 4869-1, -2, -3 and -6)

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

Canonical: https://docs.jmrp.io/phonometry/perception/hearing/hearing-protectors/
Language: en
Alternate: https://docs.jmrp.io/phonometry/es/perception/hearing/hearing-protectors/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-09-03
Updated: 2026-11-16T21:36:14Z
Standards: ISO 4869-2:2018; ISO 4869-1:2018; ISO 4869-6:2019; ISO 4869-3:2007
Verified: 22 conformance checks (ISO 4869-2:2018; ISO 4869-1:2018; ISO 4869-6:2019; ISO 4869-3:2007) https://docs.jmrp.io/phonometry/reference/conformance/
License: MIT (https://github.com/jmrplens/phonometry/blob/main/LICENSE)
Summary: ISO 4869 hearing protectors: attenuation on sixteen subjects (-1), effective A-weighted level (-2), insertion loss (-3) and active earmuffs (-6).

---

A hearing protector is not measured on a coupler. ISO 4869-1 seats it on
sixteen people and records the threshold shift each of them gets, so what
comes back from the laboratory is a **distribution**: one attenuation per
subject per octave band, with a spread that is often a third of the mean.
ISO 4869-2 is the standard that turns that distribution into a number someone
can act on, and the first thing it does is refuse to use the mean.

## Where the distribution comes from (ISO 4869-1)

ISO 4869-1 measures the attenuation at the threshold of hearing. The test
signals are one-third-octave bands of pink noise centred on the octave
frequencies from 125 Hz to 8 kHz, with 63 Hz optional (4.1). Each of sixteen
subjects finds a threshold for every one of them twice, with open ears and with
the protector in place, half the panel in each order, and the attenuation of
that subject in that band is the difference (4.6.2):

$$
A_{j,f} = L_{\mathrm{occluded},j,f} - L_{\mathrm{open},j,f}
$$

A report gives those individual values and, per test signal, their mean, their
standard deviation and the expanded uncertainty of the mean (Clause 6). Annex A
models the attenuation as the measured value plus three zero-mean inputs, for
the method (the subject group, the fitting, the threshold judgement, the
tester, the specimen), the test equipment and the environment. Within one
laboratory the combined standard uncertainty of a given measurement is the
standard deviation of its mean, and the coverage factor is 2:

$$
u = \frac{s}{\sqrt{N}}, \qquad U_{95} = 2u
$$

```python
import numpy as np
from phonometry import hearing

# ISO 4869-1 Table A.3: one earmuff on sixteen subjects, 125 Hz to 8 kHz.
table_a3 = np.array([
    [9.6, 13.5, 27.5, 32.4, 35.2, 29.1, 28.5],  [14.1, 20.2, 25.8, 32.0, 28.9, 35.3, 35.7],
    [21.8, 27.8, 28.3, 46.6, 37.4, 40.1, 38.7], [18.5, 22.2, 36.5, 44.8, 39.1, 30.6, 33.5],
    [15.6, 21.9, 31.8, 42.5, 38.9, 38.3, 37.1], [18.7, 28.6, 31.3, 39.0, 35.6, 35.3, 29.4],
    [23.0, 26.5, 34.0, 41.3, 40.8, 38.7, 35.9], [17.3, 21.7, 25.0, 30.7, 38.6, 37.9, 40.8],
    [19.4, 19.6, 28.0, 36.6, 40.7, 34.9, 39.4], [11.6, 20.4, 22.6, 38.0, 39.2, 33.9, 30.3],
    [20.5, 21.8, 29.2, 40.7, 36.2, 35.7, 38.4], [18.3, 19.6, 26.2, 34.6, 32.7, 34.9, 26.6],
    [15.1, 17.5, 30.1, 39.0, 39.4, 38.2, 39.5], [21.7, 20.8, 28.3, 39.5, 38.1, 40.0, 38.4],
    [15.9, 17.8, 26.0, 40.6, 38.0, 40.2, 37.2], [11.8, 18.4, 29.6, 37.2, 40.8, 36.0, 29.9],
])
reat = hearing.real_ear_attenuation(table_a3)
print(np.round(reat.mean_attenuation, 1))                  # [17.1 21.1 28.8 38.5 37.5 36.2 35. ]
print(np.round(reat.standard_deviation_db, 1))    # [3.9 3.9 3.5 4.5 3.2 3.2 4.6]
print(np.round(reat.expanded_uncertainty_db, 1))  # [2.  1.9 1.7 2.2 1.6 1.6 2.3]

# The grid is the input of every ISO 4869-2 method below, unchanged.
print(np.round(hearing.assumed_protection_value(reat.attenuation).apv, 1))
# [13.1 17.2 25.3 34.  34.3 33.  30.4]
```

The thresholds themselves can go in instead, as `open_threshold_levels` and
`occluded_threshold_levels`; they only need to share a reference, since a level in
sound pressure and one in hearing level give the same difference. Everything is
computed at full precision and rounded by whoever prints it, which is what
Tables A.3 and B.1 say they do.

![Left: the sound attenuation of one earmuff on sixteen subjects at the seven test signals from 125 Hz to 8 kHz, one faint line per subject, with the mean drawn over them and the expanded uncertainty of the mean as error bars, attenuation increasing downwards; the mean rises from about 17 dB at 125 Hz to about 38 dB at 1 kHz and stays near 35 dB above. Right: the difference between the means of two tests of the same earmuff as one bar per test signal, with the root sum of squares of the two expanded uncertainties marked over each bar; only the 8 kHz bar, at about 3.9 dB against a criterion of 3.4 dB, clears its mark and is hatched](https://docs.jmrp.io/phonometry/media/hearing_protector_reat.svg)

*Left, Table A.3: the spread across subjects is several decibels, and the
expanded uncertainty of the mean drawn on it is half that spread, because
sixteen subjects divide it by four and the coverage factor doubles it back.
Right, Table B.1: two tests of the earmuff under two test conditions (for
example two headband positions), which differ by more than the two
uncertainties allow only at 8 kHz.*

**Show the code for this figure**

```python
import matplotlib.pyplot as plt

# One line each, from the results computed on this page.
reat.plot()          # mean downwards, subjects faint, U95 as bars (Clause 6 l))
plt.show()

test_2_mean = [16.8, 21.0, 28.3, 38.2, 35.5, 34.6, 38.9]
test_2_u95 = [1.6, 1.2, 1.4, 1.5, 1.5, 1.7, 2.5]
hearing.assess_attenuation_difference(
    reat, test_2_mean, second_expanded_uncertainty_db=test_2_u95
).plot()
plt.show()
```

### Are two measurements different? (Annex B)

Two mean attenuations differ significantly at the 5 % level when their
difference exceeds the root sum of squares of their expanded uncertainties
(B.1.2):

$$
|m_1 - m_2| > \sqrt{U_{95,1}^2 + U_{95,2}^2}
$$

Table B.1 applies it to the earmuff above and to a second test of it under
another test condition (headband position is the example B.1.2 gives), which
the standard prints only as means and uncertainties:

```python
test_2_mean = [16.8, 21.0, 28.3, 38.2, 35.5, 34.6, 38.9]
test_2_u95 = [1.6, 1.2, 1.4, 1.5, 1.5, 1.7, 2.5]
difference = hearing.assess_attenuation_difference(
    reat, test_2_mean, second_expanded_uncertainty_db=test_2_u95
)
print(np.round(difference.significance_limit_db, 1))  # [2.5 2.3 2.2 2.7 2.2 2.3 3.4]
print(difference.significant_frequencies)    # [8000.]
```

When there are no data of the specific measurement, B.1.1 and B.2 take the
typical uncertainties of Table A.2 (within one laboratory) and Table B.2
(between laboratories), for earplugs and earmuffs in three frequency ranges.
The library carries the three components of each and derives the combined and
expanded values from them, which reproduces every printed cell. For two equal
uncertainties the criterion becomes $\sqrt{2}\,U_{95}$, and B.1.1 evaluates it
on the rounded value its table prints, writing that input out: "$\sqrt{2}$ ×
2,3 dB = 3,3 dB". The unrounded budget gives 3.21 dB:

```python
plug = hearing.REAT_WITHIN_LABORATORY_UNCERTAINTY["earplug"]["250 Hz up to 4 kHz"]
print(round(plug.expanded_uncertainty_db, 2))                                          # 2.27
print(round(hearing.min_significant_difference(2.3), 1))               # 3.3
print(round(hearing.min_significant_difference(plug.expanded_uncertainty_db), 2))  # 3.21

# The typical U95 band by band, ready for assess_attenuation_difference.
print(np.round(hearing.reat_expanded_uncertainty(reat.frequencies, protector="earplug"), 1))
# [3.2 2.3 2.3 2.3 2.3 2.3 3.2]
```

Between laboratories the same earplug needs 9.3 dB by B.2's arithmetic
($\sqrt{2}$ × 6.6 dB), or 9.37 dB from the unrounded 6.62 dB: two laboratories
disagree mostly on how their subjects fit the protector.

### The test room (4.2.2)

![Two rooms, each drawn in plan and in elevation with the listener and the chair dashed because both are out of the room. A, one loudspeaker on its axis, for the free and the quasi-free field of ISO 8253-2: the loudspeaker stands at the head height of a seated listener, its reference axis through the reference point and a distance r of at least 1 m from it; four points lie 0.15 m to the left, right, above and below the reference point, and two more on the axis a distance d in front of it and behind it. B, sound from every side, for the diffuse field of ISO 8253-2 and the test sites of ISO 4869: more than one loudspeaker around the reference point, six points on the three axes around it, and a directional microphone turned at the reference point. Under each drawing, what each clause asks. Free field, 5.2: the four lateral points within plus or minus 1 dB up to 4 kHz and 2 dB above, left and right within 3 dB of each other above 4 kHz, and with d equal to 0.15 m the level in front less the level behind within plus or minus 1 dB of the inverse distance law. Quasi-free field, 5.4: plus or minus 2 dB and d equal to 0.10 m. Plane progressive wave, ISO 4869-3 5.2.3: the two points the centres of the fixture's end faces will occupy, 145 mm apart, within 2 dB, and from 500 Hz a directional microphone reading at least 10 dB more facing the source than turned away. Diffuse field, 5.3: six points at 0.15 m within plus or minus 2.5 dB with an omnidirectional microphone kept in one orientation, and from 500 Hz the loudest and quietest directions within 5 dB for a front-to-random index of 5 dB or more. Hearing protector test site, ISO 4869-1 4.2.2: six points at 15 cm and the microphone turned through 360 degrees in the horizontal plane. Random-incidence field, ISO 4869-3 5.2.2: six positions at 150 mm with the fixture removed](https://docs.jmrp.io/phonometry/media/diagram_soundfield_qualification.svg)

*Panel B is this test room: six points 15 cm from the reference point on the
three axes, and a directional microphone turned through 360° at it. The lists
under the drawings set its numbers beside those of ISO 8253-2 and of the two
sites of ISO 4869-3, further down this page.*

The sound field is qualified with the subject and the chair absent. The level
15 cm from the reference point on the three axes stays within ±2.5 dB of the
level at it, the right and left positions within 3 dB of each other, and from
500 Hz up a directional microphone rotated through 360° sees a variation no
larger than Table 1 allows for its free-field rejection (20 dB from a rejection
of 25 dB down to 5 dB for one of 10 dB, and no microphone below that):

```python
field = hearing.check_reat_sound_field(
    {"front": [0.8] * 7, "back": [-0.6] * 7, "left": [1.1] * 7,
     "right": [-1.2] * 7, "up": [1.9] * 7, "down": [-2.0] * 7},
    [0.0] * 7,
    rotation_levels=[[0.0] * 7, [4.0] * 7],
    free_field_rejection=17.0,
)
print(hearing.allowable_field_variation(17.0))  # 10.0
print(field.passes)                             # True
```

4.2.2 b) is a requirement of the clause, not an extra: left out, the rotation
leaves `field.directionality_judged` false and `field.passes` false with it,
while `field.uniform` and `field.balanced` still give the verdict of a) band by
band.

## The distribution first (Clause 5)

All three methods take a mean less a multiple of its own spread, and differ in
what they take it over. The octave-band method takes it over the attenuations
of each band, and the result is the assumed protection value:

$$
APV_{fx} = m_f - \alpha\, s_f
$$

$\alpha$ is the inverse standard normal cumulative distribution at the
protection performance $x$ (Table 1), so $APV_{f84}$ with $\alpha = 1$ is the
attenuation 84 % of wearers reach or beat, and $APV_{f98}$ with $\alpha = 2$ is
what all but one in fifty reach. Quoting a protector at its mean would describe
a wearer who does not exist.

The HML and SNR methods never form that value. They rate each subject first,
against the eight reference noises of Table 2 or the pink noise of Table 3, and
take the same reduction over those ratings (Formulae (3) to (5) and (19)). What
the three share is the choice of $x$ and its $\alpha$.

```python
import numpy as np
from phonometry import hearing

# ISO 4869-1 attenuation of one protector: 16 subjects, eight octave bands
# from 63 Hz to 8 kHz. Annexes A to D of ISO 4869-2 work this same example
# through all three methods.
attenuation = np.array([
    [4, 8, 13, 18, 20, 30, 35, 30],   [6, 12, 16, 21, 29, 35, 47, 35],
    [10, 16, 17, 23, 25, 32, 48, 37], [3, 7, 12, 18, 20, 25, 33, 30],
    [8, 10, 16, 16, 25, 27, 43, 32],  [4, 7, 10, 15, 19, 32, 35, 31],
    [5, 5, 9, 16, 20, 25, 30, 28],    [15, 15, 21, 26, 25, 38, 46, 38],
    [5, 6, 10, 13, 19, 22, 29, 28],   [9, 9, 10, 19, 20, 27, 37, 31],
    [9, 16, 18, 24, 25, 35, 44, 39],  [5, 6, 11, 12, 17, 20, 28, 28],
    [7, 10, 17, 22, 25, 35, 41, 44],  [6, 8, 16, 18, 19, 19, 30, 33],
    [10, 12, 17, 25, 28, 33, 45, 40], [12, 13, 17, 27, 29, 38, 49, 41],
], dtype=float)

apv = hearing.assumed_protection_value(attenuation)          # x = 84 % by default
print(np.round(apv.mean_attenuation, 1))    # [ 7.4 10.  14.4 19.6 22.8 29.6 38.8 34.1]
print(np.round(apv.standard_deviation, 1))  # [3.3 3.6 3.6 4.6 4.  6.2 7.4 5.2]
print(np.round(apv.apv, 1))                 # [ 4.1  6.4 10.7 14.9 18.8 23.4 31.3 28.9]

# A stricter performance subtracts more of the same spread.
strict = hearing.assumed_protection_value(attenuation, performance=98)
print(np.round(apv.apv - strict.apv, 1))    # [3.3 3.6 3.6 4.6 4.  6.2 7.4 5.2]
```

![Left: the mean sound attenuation of a hearing protector across the eight octave bands from 63 Hz to 8 kHz, with its standard deviation shaded either side and the assumed protection value for 84 % of wearers drawn a full standard deviation below the mean. Right: the predicted noise level reduction as a function of the difference between the C-weighted and A-weighted levels of the noise, drawn as two straight segments through the H, M and L anchors, with the eight reference noises scattered at their own differences and the three methods' answers for one noise boxed](https://docs.jmrp.io/phonometry/media/hearing_protector_methods.svg)

*Left, the protector: the assumed protection value sits a full standard
deviation below the mean, and the gap is widest where the spread is, at 4 kHz.
Right, the method: the HML line and the eight reference noises it was fitted
on, with the three methods' answers for the same noise.*

**Show the code for this figure**

```python
import matplotlib.pyplot as plt

# apv is the AssumedProtectionResult computed above. One line:
apv.plot()   # mean, its spread shaded, and the assumed protection on top
plt.show()

# The HML side, by hand.
hml = hearing.hml_rating(attenuation)
high, medium, low = hml.reported
left, right = np.array([-4.0, 2.0]), np.array([2.0, 12.0])
fig, ax = plt.subplots()
ax.plot(left, medium - (high - medium) / 4 * (left - 2), color="#1f77b4")
ax.plot(right, medium - (medium - low) / 8 * (right - 2), color="#1f77b4")
ax.plot([-2, 2, 10], [high, medium, low], "o", color="#d62728", label="H, M, L")
differences = np.asarray(hearing.HML_REFERENCE_C_MINUS_A)
ax.plot(np.repeat(differences, 16), hml.predicted_reduction.T.reshape(-1), ".",
        color="#2ca02c", alpha=0.5, label="reference noises")
ax.set(xlabel="LpC - LpA [dB]", ylabel="Predicted noise level reduction [dB]")
ax.legend()
plt.show()
```

## Three methods, in decreasing order of what they need

![Calculation chain in four tiers. Top: the ISO 4869-1 test, drawn as a head wearing earmuffs beside a grid of sixteen rows of dots, one row per subject, across the octave centre frequencies from 63 Hz, greyed as optional, to 8 kHz, each dot sized by that subject's attenuation so that the dots grow towards 4 kHz; the text beside it names the one-third-octave bands of pink noise, the open and occluded thresholds taken in both orders, and the attenuation as the occluded threshold minus the open one. A band across the page sets one protection performance for all three methods, 84 % with alpha 1 or 98 % with alpha 2. Three columns follow, each with a protector box, a noise box and a result box. The octave-band method of Clause 6 takes the spread out band by band into eight assumed protection values drawn as bars, adds the octave-band spectrum of the noise, and sums the protected bands on energy to 81 dB. The HML method of Clause 7 rates each subject against eight reference noises and reduces the ratings to H 24, M 18 and L 13, adds the C- and A-weighted levels of 103 dB and 104 dB, and subtracts the predicted noise level reduction to reach 82 dB. The SNR method of Clause 8 rates each subject against a pink noise, gives SNR 21, adds the C-weighted level of 103 dB alone, or the A-weighted level with a known difference, and subtracts the rating to reach 82 dB. A box at the foot gives the assumed protection value as the mean attenuation less alpha times the standard deviation, with the same reduction written for H, M, L and SNR, and two notes say that HML and SNR start at 125 Hz and that every answer is rounded to the nearest integer, with the unweighted level allowed in place of the C-weighted one](https://docs.jmrp.io/phonometry/media/diagram_hearing_protector_chain.svg)

*One protector model on sixteen subjects, reduced three ways and met with one
noise. Only the octave-band method goes through the assumed protection value;
HML and SNR rate each subject first and take the spread out over those ratings,
and the three land within a decibel of each other.*

### The octave-band method (Clause 6)

The most faithful, and the only one that sees the shape of the noise: subtract
the assumed protection value band by band from the A-weighted spectrum and sum
what is left.

$$
L'_{p,\mathrm{A}x} = 10 \lg \sum_{k=1}^{8} 10^{0.1\left(L_{p,f(k)} + A_{f(k)} - APV_{f(k)x}\right)}\ \mathrm{dB}
$$

```python
# Annex B's noise: octave-band levels of a machine hall, LpA = 104 dB.
noise = [75.0, 84.0, 86.0, 88.0, 97.0, 99.0, 97.0, 96.0]
octave = hearing.octave_band_protected_level(noise, apv)
print(round(octave.effective_level, 1))   # 81.4
print(octave.reported_level)              # 81
print(round(octave.noise_reduction, 1))   # 22.6
```

The summation runs over the eight octaves from 63 Hz, or over seven from
125 Hz when either the noise or the protector has no 63 Hz data. Clause 6
rounds the result to the nearest integer, which is what `reported_level` does;
`effective_level` keeps the unrounded value.

### The HML method (Clause 7)

Three numbers instead of a spectrum. $H$, $M$ and $L$ are the predicted noise
level reduction this protector gives for reference noises whose
$(L_{p,\mathrm{C}} - L_{p,\mathrm{A}})$ is $-2$, $+2$ and $+10$ dB, fitted across the eight
reference spectra of Table 2. Applying them needs only the C- and A-weighted
levels of the real noise:

$$
PNR_x = M_x - \frac{H_x - M_x}{4}\left(L_{p,\mathrm{C}} - L_{p,\mathrm{A}} - 2\right)
\quad\text{for } (L_{p,\mathrm{C}} - L_{p,\mathrm{A}}) \leq 2\ \mathrm{dB}
$$

$$
PNR_x = M_x - \frac{M_x - L_x}{8}\left(L_{p,\mathrm{C}} - L_{p,\mathrm{A}} - 2\right)
\quad\text{otherwise},\qquad L'_{p,\mathrm{A}x} = L_{p,\mathrm{A}} - PNR_x
$$

```python
hml = hearing.hml_rating(attenuation)
print(hml.reported)                       # (24, 18, 13)

by_hml = hearing.hml_protected_level(104.0, 103.0, hml)
print(round(by_hml.noise_reduction, 1))   # 22.5
print(by_hml.reported_level)              # 82
```

Both branches meet at $+2$ dB, which is where $M$ itself is defined, so the
line has a corner and no step. The values that enter them are the **rounded**
ones: Clause 7.2 rounds $H$, $M$ and $L$ to the nearest integer, which is what
a protector is published with, so that is what the application consumes.

### The SNR method (Clause 8)

One number, against a pink noise, subtracted from the C-weighted level.

$$
L'_{p,\mathrm{A}x} = L_{p,\mathrm{C}} - SNR_x
$$

```python
snr = hearing.snr_rating(attenuation)
print(snr.reported)                       # 21

by_snr = hearing.snr_protected_level(snr, l_p_c=103.0)
print(by_snr.reported_level)              # 82

# When only the A-weighted level was recorded, Formula (24) reassembles the
# C-weighted one from an estimate of the difference and lands in the same place.
print(hearing.snr_protected_level(snr, l_p_a=104.0, c_minus_a=-1.0).reported_level)  # 82
```

Clause 8.2 rounds the SNR to the nearest integer, as Clause 7.2 does the HML
values, and that rounded rating is the one `snr.reported` carries and the
application consumes. Clause 8.3 also allows the unweighted level in place of
the C-weighted one, and Clause 7.3 says the same for HML. It reads high for noise with a lot of
very low frequency content, so it is a fallback rather than an equivalent.

Because the reference noise is fixed, the rating says nothing about the shape
of the noise it will meet, which is exactly what the HML method's three values
recover.

## Which number to believe

The three methods answer the same question and rarely agree exactly. On the
worked example above the same protector in the same noise gives **81 dB, 82 dB
and 82 dB**, and the NOTE that closes the Introduction puts differences of 3 dB
or less between comparable protectors below the resolution of the exercise. The
ordering is not a ranking: the octave-band method uses more information and is
the one to prefer when the spectrum is available, while HML and SNR exist
precisely for when it is not.

The octave-band method starts at 63 Hz when both the noise and the protector
have data there and at 125 Hz when either does not (Clause 6). The HML and SNR
computations start at 125 Hz always, whatever is available at 63 Hz, which is
why the reference spectra of Table 2 (Clause 7) and Table 3 (Clause 8) begin
there.

One caution about the reference spectra: Annex C reprints Table 2 as its
Table C.1 and the reprint disagrees with the original in two cells. Table 2 is
the one that reproduces the annex's own worked results, and it is the one this
library carries; the discrepancy is registered in
[ERRATA](https://docs.jmrp.io/phonometry/reference/errata/).

## Active noise reduction earmuffs (ISO 4869-6)

An active noise reduction earmuff adds a cancellation circuit to a passive
shell, and the circuit works mostly at low frequencies, where the shell is
weakest. A threshold test cannot see it: ISO 4869-1 runs at levels far below
those the circuit has anything to cancel. ISO 4869-6 therefore measures the two
halves separately, on the same sixteen subjects, and adds them subject by
subject. Its methods are meant for steady noise exposures and do not apply to
noise with impulsive components (Clause 1):

- the **passive** attenuation is the ISO 4869-1 result with the circuit off,
  in octave bands;
- the **active insertion loss** (5.4.3) is the level at each ear with the
  circuit off minus the level with it on, measured with a microphone in the
  closed ear canal (ISO 11904-1) in one-third-octave bands of a broadband noise
  at 85 dB to 95 dB:

$$
\alpha_{j,e,f} = L_{\mathrm{passive},j,e,f} - L_{\mathrm{active},j,e,f}
$$

The two readings of an ear are taken one straight after the other, with the
fitting of the earmuff and the microphones in the ears left as they are
(5.4.3), in the random-incidence field of ISO 4869-1 (5.2). Four pairs of
earmuffs are submitted, and each is tested by four of the sixteen subjects
(5.1, 5.4.1).

![Left, a head seen from the front wearing an earmuff, drawn twice with sound arriving from every side: in passive mode with the circuit off and the cups drawn empty, and in active mode with the circuit on and the cups filled; a dot at each ear marks a microphone in the ear with the ear canal closed, and a note between the two heads, over an arrow pointing both ways, says the fitting and the microphones are left untouched and one reading follows the other as soon as possible. A list under them gives the active insertion loss as the level in passive mode less the level in active mode in each ear and band, the broadband noise at an A-weighted level from 85 dB to 95 dB read in one-third-octave bands from 50 Hz or 100 Hz to 10 kHz, the sixteen subjects with both ears, the four pairs of earmuffs each tested by four subjects, and the 10 dB by which each band under the earmuff has to exceed its level with the noise off. Right, the linearity check of 5.4.4 as two staircases against the steps of the noise outside: the A-weighted level outside rises in equal steps to a dashed line marked 110 dB at most, the level at the ear follows it step for step until its last step, which is drawn short and marked not linear, and a dot marks the highest level outside for which the ear still followed. A list under it gives the red noise with its maximum in the 125 Hz one-third-octave band, the 5 dB steps, the 5 dB plus or minus 1 dB the level at the ear has to rise in the 125 Hz octave band, and what is reported. A strip at the foot gives the total attenuation as the passive attenuation of ISO 4869-1 plus the active insertion loss of the ear with the lower value, added subject by subject](https://docs.jmrp.io/phonometry/media/diagram_anr_insertion_loss.svg)

*Left, the two readings of 5.4.3 on one wearer, with a microphone in each ear.
Right, the check of [5.4.4](#linear-operation-544), further down this page:
the staircases are levels without a scale, and the last step of the one at the
ear is drawn short to show what the check is there to find.*

Annex A treats its uncertainty the way ISO 4869-1 treats the attenuation's,
over the sixteen values of the ear with the lower insertion loss, and prints an
example, Table A.3:

```python
# ISO 4869-6 Table A.3: the lower-ear active insertion loss of sixteen
# subjects at the octave frequencies 63 Hz to 8 kHz.
table_a3_anr = np.array([
    [18.4, 23.9, 21.6, 5.2, -4.5, -0.2, -1.3, -1.0], [19.4, 23.0, 21.7, 5.7, -6.4, -0.4, 0.8, -1.9],
    [19.7, 23.1, 20.8, 3.6, -4.2, -2.9, 0.2, -0.6], [19.8, 23.1, 18.7, 2.2, -4.9, -0.5, -0.2, 0.2],
    [20.5, 24.5, 20.2, 3.1, -4.4, -2.9, -1.4, 0.3], [18.8, 24.4, 20.8, 3.9, -4.3, -2.6, -0.4, -0.2],
    [21.7, 24.4, 22.2, 4.7, -5.2, -5.1, -1.5, -0.3], [20.5, 22.7, 24.3, 8.8, -8.8, -3.1, -4.8, -0.7],
    [22.9, 23.2, 20.7, 5.4, -6.5, -2.8, -0.5, -1.0], [21.9, 22.9, 23.1, 8.8, -8.4, -4.9, -2.6, -0.7],
    [23.7, 24.6, 20.8, 3.4, -6.4, -0.1, -0.3, -0.6], [22.0, 23.9, 20.3, 3.0, -4.2, -0.8, -1.0, 0.3],
    [23.2, 24.3, 20.9, 4.6, -5.6, -0.1, -0.5, -1.0], [21.5, 23.5, 23.3, 5.9, -5.2, -3.1, -3.6, -1.6],
    [24.3, 24.2, 22.5, 4.2, -6.3, -2.5, -0.9, -0.5], [23.8, 24.9, 20.7, 3.8, -4.8, -0.5, -0.3, 0.2],
])
insertion = hearing.active_insertion_loss(table_a3_anr)
print(np.round(insertion.mean_insertion_loss, 1))                  # [21.4 23.8 21.4  4.8 -5.6 -2.  -1.1 -0.6]
print(np.round(insertion.expanded_uncertainty_db, 1))  # [0.9 0.4 0.7 0.9 0.7 0.8 0.7 0.3]
```

From 1 kHz up the circuit adds sound instead of removing it, up to 6 dB at
1 kHz, and the negative values are kept as they are. The mean and standard deviation rows of
Table A.3 reproduce exactly, but its $u$ and $U_{95}$ rows are the formula
applied to the **rounded** row above each ($1.4 / 4 = 0.35$ prints as 0.4),
which puts six of its eight $U_{95}$ cells a tenth above the value A.1 and A.2
define. The library returns the defined value; the discrepancy is registered in
[ERRATA](https://docs.jmrp.io/phonometry/reference/errata/). Table A.2's typical budget is
`hearing.ANR_WITHIN_LABORATORY_UNCERTAINTY`, $U_{95}$ = 1.56 dB.

### The total attenuation (5.5)

Clause 5.5 adds the two halves per subject. The passive attenuation is
interpolated into one-third-octave bands and extended to 50 Hz and 10 kHz
(a), only the ear with the lower active insertion loss is kept in each band
(b), the two are added (c), each octave is the energetic average of its three
one-third-octave bands (d), and the sixteen octave-band results go into the
ISO 4869-2 methods at 84 % (e):

$$
A_{\mathrm{total,oct},j} = -10 \lg \left[\left(
\sum_{i=1}^{3} 10^{-0.1 A_{\mathrm{total},f_i,j}}\right) / 3\right] \mathrm{dB}
$$

The standard sends the reader to a calculation workbook ISO publishes for the
details, and that workbook interpolates **linearly in hertz** between the
nominal centre frequencies, not on a logarithmic axis: 80 Hz lies 27 % of the
way from 63 Hz to 125 Hz, not a third. The library follows the workbook and
reproduces each step of 5.5 it stores: the ear with the lower value, the
interpolation, the sums, Formula (1), and the mean, standard deviation and
$APV_{f84}$. The workbook rounds the interpolation, Formula (1), the mean and
the standard deviation to 0.1 dB and leaves the rest as it comes; the library
rounds nothing, which moves an octave-band total or an $APV_{f84}$ by less
than 0.1 dB.

**Show the data of ISO's calculation example**

```python
# The REAT of the sixteen subjects, octave bands 63 Hz to 8 kHz.
reat_anr = np.array([
    [11.7, 15.7, 8.6, 10.7, 25.6, 22.7, 43.0, 38.0], [12.7, 20.3, 15.7, 13.4, 23.0, 24.3, 36.7, 42.0],
    [21.0, 22.7, 17.7, 18.0, 27.4, 31.0, 36.3, 45.0], [21.6, 22.0, 21.0, 13.4, 24.7, 30.3, 36.3, 42.3],
    [10.6, 10.0, 11.7, 16.0, 24.6, 23.4, 38.0, 42.4], [12.3, 13.3, 12.3, 17.6, 30.0, 22.6, 39.3, 43.3],
    [11.0, 10.0, 10.0, 13.6, 24.3, 25.4, 36.3, 37.4], [16.0, 12.0, 11.3, 13.0, 28.7, 25.7, 38.0, 35.0],
    [11.4, 11.6, 11.0, 13.7, 29.3, 24.3, 42.7, 37.6], [12.7, 12.0, 8.0, 9.0, 32.7, 25.6, 37.0, 41.0],
    [14.0, 10.3, 7.7, 15.0, 21.0, 22.7, 33.3, 33.0], [19.3, 18.3, 15.6, 16.3, 21.0, 26.4, 32.7, 31.0],
    [13.7, 15.4, 12.6, 13.4, 22.0, 19.0, 40.0, 33.3], [13.0, 15.3, 6.7, 12.0, 23.0, 28.7, 40.4, 38.0],
    [16.7, 21.6, 18.4, 18.0, 33.7, 37.7, 57.0, 50.6], [10.7, 15.0, 10.0, 11.7, 25.0, 22.0, 32.0, 38.7],
])
# Their lower-ear active insertion loss, 24 one-third octaves 50 Hz to 10 kHz.
ail_anr = np.array([
    [17.3, 18.4, 20.6, 23.3, 23.9, 24.8, 23.6, 21.6, 17.0, 12.1, 5.2, -0.7, -5.7, -4.5, -2.0, 0.1, -0.2, -6.5, -4.4, -1.3, -0.2, 0.2, -1.0, -0.1],
    [17.5, 19.4, 19.9, 21.7, 23.0, 23.9, 23.9, 21.7, 17.6, 12.8, 5.7, 0.8, -6.8, -6.4, -2.6, -1.2, -0.4, -1.6, -0.8, 0.8, -0.4, -1.3, -1.9, 0.7],
    [17.0, 19.7, 21.2, 22.0, 23.1, 24.6, 23.7, 20.8, 17.0, 11.6, 3.6, -2.0, -7.0, -4.2, -1.9, -0.6, -2.9, -6.2, -2.8, 0.2, 0.3, -1.0, -0.6, 0.6],
    [17.4, 19.8, 21.3, 22.4, 23.1, 22.3, 20.6, 18.7, 14.6, 9.7, 2.2, -2.6, -6.3, -4.9, -2.5, -1.4, -0.5, -2.9, -1.1, -0.2, 0.2, 0.1, 0.2, 1.1],
    [19.0, 20.5, 21.8, 23.1, 24.5, 24.5, 22.3, 20.2, 16.2, 10.6, 3.1, -1.5, -5.9, -4.4, -1.6, -0.8, -2.9, -7.7, -5.8, -1.4, 0.0, -0.6, 0.3, -0.7],
    [17.7, 18.8, 20.4, 23.0, 24.4, 25.3, 24.3, 20.8, 16.4, 10.6, 3.9, -1.7, -6.2, -4.3, -2.0, -1.2, -2.6, -5.1, -3.9, -0.4, 0.3, -0.1, -0.2, 0.3],
    [20.0, 21.7, 22.8, 23.2, 24.4, 24.1, 24.2, 22.2, 17.3, 12.5, 4.7, 0.2, -5.5, -5.2, -2.4, -1.5, -5.1, -8.7, -6.6, -1.5, -1.1, -1.7, -0.3, -0.4],
    [20.1, 20.5, 21.2, 21.4, 22.7, 24.7, 25.1, 24.3, 19.7, 15.5, 8.8, 5.4, -3.3, -8.8, -7.6, -4.1, -3.1, -6.2, -8.3, -4.8, -2.1, -0.6, -0.7, -1.9],
    [22.9, 22.9, 22.9, 22.9, 23.2, 24.0, 23.6, 20.7, 17.2, 11.7, 5.4, 0.1, -7.7, -6.5, -3.0, -1.9, -2.8, -3.9, -4.5, -0.5, 0.0, -0.7, -1.0, 1.1],
    [21.9, 21.9, 21.9, 21.9, 22.9, 24.3, 24.4, 23.1, 17.8, 14.3, 8.8, 5.3, -3.4, -8.4, -4.8, -2.7, -4.9, -5.0, -4.2, -2.6, -0.3, -0.4, -0.7, -0.4],
    [23.7, 23.7, 23.7, 23.7, 24.6, 24.3, 23.0, 20.8, 16.7, 11.1, 3.4, -2.2, -8.0, -6.4, -3.0, -1.7, -0.1, 0.0, -0.5, -0.3, -0.2, -1.8, -0.6, 0.0],
    [22.0, 22.0, 22.0, 22.0, 23.9, 24.1, 22.8, 20.3, 16.1, 11.1, 3.0, -1.8, -6.2, -4.2, -1.9, -0.1, -0.8, -6.0, -5.2, -1.0, -0.2, 0.1, 0.3, 0.7],
    [23.2, 23.2, 23.2, 23.2, 24.3, 23.9, 23.5, 20.9, 16.8, 11.8, 4.6, -1.2, -6.8, -5.6, -2.3, -1.2, -0.1, -1.5, -3.2, -0.5, 0.8, 0.1, -1.0, -0.3],
    [21.5, 21.5, 21.5, 21.5, 23.5, 24.6, 25.1, 23.3, 17.6, 13.4, 5.9, 1.6, -4.3, -5.2, -2.3, -1.2, -3.1, -7.3, -4.0, -3.6, 0.0, -1.3, -1.6, 0.6],
    [24.3, 24.3, 24.3, 24.3, 24.2, 24.6, 23.9, 22.5, 17.7, 12.4, 4.2, -0.2, -7.2, -6.3, -2.2, -1.0, -2.5, -6.9, -3.1, -0.9, 0.0, -0.1, -0.5, 0.6],
    [23.8, 23.8, 23.8, 23.8, 24.9, 24.2, 22.3, 20.7, 15.9, 10.9, 3.8, -0.4, -6.7, -4.8, -2.1, -0.7, -0.5, -6.3, -3.4, -0.3, 0.2, 0.1, 0.2, 1.3],
])
```

```python
anr = hearing.anr_total_attenuation(reat_anr, ail_anr)
print(np.round(anr.assumed_protection.apv, 1))  # [31.6 34.5 29.1 16.9 15.2 19.9 27.8 33.5]
print(anr.hml.reported, anr.snr.reported)       # (21, 17, 19) 21

# The same earmuff with the circuit off, straight into ISO 4869-2:
print(hearing.hml_rating(reat_anr).reported, hearing.snr_rating(reat_anr).reported)
# (24, 17, 12) 20
```

The circuit buys seven decibels of $L$, the low-frequency value, and costs three
of $H$: it adds sound from 1 kHz up. The single number moves by one decibel, which
is why a protector for a low-frequency noise is better chosen by $L$, or by the
octave-band method, than by its SNR.

![Left: averaged over sixteen subjects, the passive attenuation of an active noise reduction earmuff interpolated into one-third-octave bands from 50 Hz to 10 kHz, rising from about 14 dB at low frequency to about 39 dB at 8 kHz; the active insertion loss of the ear with the lower value, about 20 to 24 dB below 250 Hz, falling through zero near 630 Hz to about minus 6 dB at 1 kHz and staying slightly below zero above; their sum, about 39 dB at 125 Hz and again at the top of the range, dipping to about 15 dB near 800 Hz; and the assumed protection value at 84 % in each octave band, drawn as squares a few decibels below the total. Right: the active insertion loss of each of the sixteen subjects in one-third-octave bands, with the mean and the expanded uncertainty of the mean as error bars, and a line at zero](https://docs.jmrp.io/phonometry/media/hearing_protector_anr.svg)

*Left, ISO's calculation example for 5.5: the circuit adds more than 20 dB where the passive shell is weakest, below 250 Hz, and takes a few decibels away from 1 kHz up. Right, the active insertion loss itself, the same data as Annex A: the spread between subjects is small, so its expanded uncertainty is too.*

**Show the code for this figure**

```python
import matplotlib.pyplot as plt

anr.plot()  # passive, active and total, with the octave totals and the APV
plt.show()
# The workbook's lower-value-ear insertion loss in its 24 one-third octaves,
# of which Table A.3 is the octave-centre subset, with its expanded uncertainty.
hearing.active_insertion_loss(ail_anr).plot()
plt.show()
```

### Linear operation (5.4.4)

A cancellation circuit saturates, so its insertion loss only holds up to some
external level. With red noise and the circuit on, the external A-weighted
level rises in 5 dB steps from the insertion-loss level to at most 110 dB, and
the level at each ear in the 125 Hz octave band shall rise by the same 5 dB,
within ±1 dB. What is reported is the highest external level up to which that
holds for every sample, subject and ear:

```python
external = [90.0, 95.0, 100.0, 105.0, 110.0]
at_the_ears = [[60.0, 65.0, 70.0, 75.0, 80.0],   # one row per ear
               [61.0, 66.0, 71.0, 75.5, 78.0]]   # rises 2.5 dB on the last step
linearity = hearing.assess_anr_linearity(external, at_the_ears)
print(linearity.max_linear_level)  # 105.0
print(linearity.linear_to_110_db)         # False
```

The three one-third-octave levels at the ear can go in instead, as
`ear_third_octave_levels`, and are summed into the octave on energy.

## Earmuffs on a test fixture (ISO 4869-3)

Sixteen subjects are a laboratory's week. ISO 4869-3 measures an earmuff
without any: the acoustic test fixture is a non-magnetic cylinder 135 mm across with
its end faces 145 mm apart and a pressure microphone flush with one of them
(5.1), and the **insertion loss** is the level at that microphone without the
earmuff less the level with it seated on the fixture, in one-third-octave bands
from at least 63 Hz to 8 kHz (5.3, 5.4.2):

$$
IL_f = \overline{L}_{\mathrm{open},f} - \overline{L}_{\mathrm{occl},f}
$$

It is a screening method. Its scope names what it is for, checking the spread
of production for type approval or certification, the change of performance
with age, and whether the samples sent for the subjective test of ISO 4869-1
are typical of their type, and what it is not: its data "are not intended to be
quoted as representing the real-ear sound attenuation of an ear-muff, nor the
protection provided by the ear-muff" (Clause 1). So nothing here feeds an
insertion loss to the ISO 4869-2 methods above, which take the real-ear
attenuation of sixteen subjects.

The fixture gives the earmuff the width of a head and a place to rest its
headband, and nothing else of a wearer. Its axis is horizontal; each end face
leans 4.5° to the vertical, so the two are further apart at the top, and a
spacer above the cylinder ends in a rubber pad for the headband (5.1.2, 5.1.3).
The measurement is three readings of the one microphone. The first is taken
with nothing on the fixture. For the second the earmuff goes on with its
cushions centred on the end faces and its headband tightened until it just
touches its support (5.4.1), and the level is read once it has been in place
for about 30 s (5.4.2); the difference is the insertion loss of that fitting,
and at least three fittings are made unless the repeatability of the device is
already known from experience (5.4.3). The third puts an isolation cup in the
earmuff's place and has to fall at least 10 dB below the occluded one (5.3),
which is what tells the sound that came through the earmuff from the floor of
the fixture and of the measuring system:

![Top, the acoustic test fixture of ISO 4869-3 drawn to scale in two views. Along its axis it is a circle 135 mm plus or minus 5 mm across with the microphone at its centre, two dashed circles and two diameters marked on the end face, a spacer above it carrying a rubber pad 50 mm wide and 6 mm thick, and a short stand on a spring below. From the side the cylinder is a trapezium, its two end faces 145 mm plus or minus 1 mm apart at their centres and each leaning 4.5 degrees plus or minus 0.5 degrees to the vertical so that they are further apart at the top; the microphone lies inside on the axis with its diaphragm in the plane of the right-hand face, and the spacer reaches 123 mm plus or minus 1 mm from the axis under a curved pad 77 mm long. A list beside the views gives what 5.1.2 and 5.1.3 ask: a non-magnetic cylinder with its axis horizontal, a pressure microphone WS1P or WS2P of IEC 61094-4, positioning marks on each end face, a resilient mounting, and a spacer whose free end has a 100 mm radius under a pad of 30 IRHD to 85 IRHD. Bottom, three readings at the same microphone, each with a bar for its level. One, open: nothing on the fixture, the tallest bar. Two, occluded: an earmuff with its cushions centred on the end faces and its headband just touching the pad, read after about 30 s in place and fitted at least three times; its bar is lower, and the drop is marked insertion loss. Three, isolation cup: a small cup with absorbing material sealed over the microphone in place of the earmuff; its bar is lower again by at least 10 dB. A strip at the foot gives the insertion loss as the open level minus the occluded level in one-third-octave bands from at least 63 Hz to 8 kHz, the requirements of 5.3 on the test signal, the acoustic isolation of 5.1.4 and the two test sites of 5.2](https://docs.jmrp.io/phonometry/media/diagram_earmuff_test_fixture.svg)

*Above, the fixture to scale in the two views of Figure 1 a), with the
dimensions 5.1.2 and 5.1.3 give it. Below, the three readings: the bars are
levels without a scale, drawn for their order and for the two differences the
standard names.*

```python
# An earmuff fitted three times on the fixture (5.4.3), 63 Hz to 8 kHz.
bands = np.asarray(hearing.EARMUFF_TEST_BANDS_HZ)
loss = np.array([7.5, 9.0, 11.0, 13.5, 16.5, 20.0, 23.5, 27.0, 30.0, 32.5, 34.5,
                 36.0, 37.0, 37.5, 37.0, 36.0, 35.5, 36.5, 38.0, 37.0, 35.0, 33.5])
spread = np.array([[-0.6], [0.1], [0.5]]) * np.linspace(1.0, 2.2, 22)
open_level = np.full(22, 88.0)
fittings = open_level - loss + spread
il = hearing.earmuff_insertion_loss(
    open_level, fittings, isolation_cup_levels=open_level - 70.0
)
print(il.reported_insertion_loss[[3, 9, 12, 18]])                   # [13.5 32.5 37.  38. ]
print(np.round(il.expanded_uncertainty_db[[3, 12, 21]], 1))  # [1.8 1.9 2.1]
print(il.repetitions_sufficient, bool(np.all(il.floor_adequate)))  # True True
```

The result is reported to 0.1 dB and drawn as Clause 6 asks, increasing
downwards on the IEC 60263 scale of 50 dB per decade of frequency; `.plot()`
gives the axes that aspect whether it creates them or they are passed in. Annex B's uncertainty is evaluated band by band: the two levels carry the
standard deviation of the mean of their repetitions (B.3), or Table B.1's
typical 0.5 dB and 1.0 dB when there is only one of them, and the fixture, the
field and the equipment add 0.3 dB, 0.5 dB and 0.2 dB. Table B.1 with its
typical values gives $u$ = 1.3 dB and $U$ = 2.6 dB, which is
`hearing.EARMUFF_INSERTION_LOSS_UNCERTAINTY`. The isolation cup in place of the
earmuff has to read at least 10 dB lower (5.3), which `floor_adequate` checks,
and `level_stable` and `response_smooth` check that the test signal held within
±1 dB and that no two adjacent bands of it differ by more than 5 dB.

The test site is qualified as a random-incidence field or a plane progressive
wave (5.2), with the fixture removed. The random-incidence field is the diffuse
field of ISO 8253-2
([audiometric test methods](https://docs.jmrp.io/phonometry/perception/hearing/audiometry/)) with
this standard's own Table 1: six positions 150 mm from the reference point,
which here is midway between the end faces of the fixture (3.9). They are the
points of panel B in the drawing under [the test room](#the-test-room-422),
whose lists carry both sites of this standard. Annex A notes that the fixture
itself can be the directional microphone where its front-to-random index
reaches 4 dB:

```python
index = [hearing.ATF_FRONT_TO_RANDOM_INDEX.get(f, np.nan) for f in bands]
positions = dict.fromkeys(("front", "back", "left", "right", "up", "down"),
                          np.full(22, 1.0))
ring = np.zeros((2, 22))
ring[1] = 3.0
field = hearing.check_random_incidence_field(
    positions, np.zeros(22), directional_levels=ring, front_to_random_index=index
)
print(bands[field.directional_required & ~field.directional_judged])
# [ 500.  630.  800. 1000. 4000. 5000.]: another microphone has to read these
```

`hearing.check_plane_progressive_wave` judges the other site of 5.2.3, the two
end-face positions within 2 dB and a directional microphone reading at least
10 dB more facing the source than facing away, and
`hearing.verify_fixture_isolation` judges the fixture itself: with its isolation
cup sealed on, at least 50 dB up to 250 Hz, 65 dB from 315 Hz to 4 kHz and
55 dB above (5.1.4). Table 1 of ISO 4869-3 prints its first row as "> 5" while
5.2.2 asks for an index "of at least 5 dB"; the library follows the text, and
the discrepancy is registered in [ERRATA](https://docs.jmrp.io/phonometry/reference/errata/).

![Left: the insertion loss of an earmuff on the acoustic test fixture from 63 Hz to 8 kHz, drawn increasing downwards, the three fittings as faint lines around the mean, which rises from 7.5 dB at 63 Hz to about 37 dB at 1 kHz and stays between 33 dB and 38 dB above, with the expanded uncertainty of each band as error bars of about 2 dB. Right: the fixture's acoustic isolation, rising from 54 dB at 63 Hz to 74 dB at 1 kHz and falling to 59 dB at 8 kHz, above the stepped requirement of 5.1.4 at 50 dB up to 250 Hz, 65 dB from 315 Hz to 4 kHz and 55 dB above; the fixture qualifies](https://docs.jmrp.io/phonometry/media/hearing_protector_insertion_loss.svg)

*Left, 5.4: three fittings and their mean, with the uncertainty of Annex B.
Right, 5.1.4: the fixture isolates its microphone by more than the earmuff it
tests will, which is what makes the insertion loss measurable.*

**Show the code for this figure**

```python
isolation = hearing.verify_fixture_isolation(
    np.full(22, 120.0),
    120.0 - np.array([54, 55, 57, 59, 61, 63, 66, 68, 70, 71, 72, 73, 74, 74,
                      73, 72, 71, 70, 68, 64, 61, 59]),
)
fig, (left, right) = plt.subplots(1, 2, figsize=(13.5, 5.6))
il.plot(left)          # the fittings, their mean and U, 50 dB per decade downwards
isolation.plot(right)  # the isolation against the three ranges of 5.1.4
plt.show()
```

## What this guide covers

- **Covered.** ISO 4869-1:2018's attenuation of 4.6.2 and its statistics (4.6.3), the
  uncertainty of the mean of Annex A with the typical budgets of Tables A.2 and
  B.2, the significance test of Annex B (B.1.2, and the minimum difference of
  B.1.1 and B.2) and the sound-field conditions of 4.2.2 with Table 1, via
  `hearing.real_ear_attenuation`, `hearing.assess_attenuation_difference`,
  `hearing.min_significant_difference`, `hearing.reat_expanded_uncertainty`
  and `hearing.check_reat_sound_field`. Every derived cell of Tables A.2, A.3
  and B.2, the criterion row and the verdict of Table B.1 and the four minimum
  differences are reproduced to the printed decimal in the test suite and in the
  conformance report. The difference row of Table B.1 agrees within 0.1 dB,
  because the standard prints the means of its second test rounded: at 8 kHz it
  comes out 3.94 dB against the printed 4.0.

- **Covered.** ISO 4869-6:2019's active insertion loss (5.4.1 and 5.4.3, from the MIRE
  levels of both ears or given directly), the choice of the ear with the lower
  value in 5.5 b), the uncertainty of its mean in Annex A with the typical
  budget of Table A.2, the total attenuation of 5.5 a) to e) with Formula (1),
  and the linear-operation check of 5.4.4, via `hearing.active_insertion_loss`,
  `hearing.anr_total_attenuation` and `hearing.assess_anr_linearity`. The mean
  and standard deviation of Table A.3 and its $u$ and $U_{95}$ rows as the
  table forms them are reproduced in the test suite and in the conformance
  report, and so is each step of 5.5 that ISO's calculation workbook stores
  (rows 134-149, 182-197, 206-221, 230-245 and 247-249): the lower-ear rows
  exactly, the others within the rounding the workbook applies along the chain.

- **Covered.** ISO 4869-2:2018's assumed protection value (Clause 5, Formula (1), with all
  seven protection performances of Table 1), the octave-band method (Clause 6,
  Formula (2)), the HML method (Clause 7, Formulae (3) to (18), including the
  eight reference noises and the empirical weights of Table 2) and the SNR
  method (Clause 8, Formulae (19) to (24), against the pink noise of Table 3),
  via `hearing.assumed_protection_value`,
  `hearing.octave_band_protected_level`, `hearing.hml_rating`,
  `hearing.hml_protected_level`, `hearing.snr_rating` and
  `hearing.snr_protected_level`. Every printed number of the worked example that
  runs through Annexes A to D is reproduced in the test suite and in the
  conformance report.

- **Covered.** ISO 4869-3:2007's insertion loss of an earmuff on the acoustic test fixture
  (5.4.2 and 5.4.3, reported as Clause 6 asks) with the uncertainty of Annex B and
  the checks of 5.3 on the isolation cup, the test signal's stability and its
  spectrum; the random-incidence field of 5.2.2 with Table 1 and the fixture's own
  front-to-random index of Table A.1; the plane progressive wave of 5.2.3; and the
  acoustic isolation of the fixture (5.1.4), via `hearing.earmuff_insertion_loss`,
  `hearing.check_random_incidence_field`, `hearing.check_plane_progressive_wave`
  and `hearing.verify_fixture_isolation`. Tables 1, A.1 and B.1 ($u$ = 1.3 dB,
  $U$ = 2.6 dB) and the isolation of 5.1.4 are reproduced in the test suite and in
  the conformance report. The insertion loss is a screening quantity and is not
  converted into a real-ear attenuation.

- **Not covered.** The threshold measurement itself is not simulated: ISO 4869-1's subject
  selection and training (4.4), its fitting procedure (4.5), the test equipment
  (4.3), the reverberation time (4.2.3) and ambient noise (4.2.4, Table 2) of the
  test room and the application force of Clause 5 are laboratory requirements
  this library does not judge, and it starts from the thresholds or the
  attenuations they produced. The MIRE measurement of ISO 11904-1 behind
  the active insertion loss, the test signals of 5.3 and the oscillation check of
  5.4.2 are likewise taken as given, and so are the construction of ISO 4869-3's
  fixture (5.1.2, 5.1.3), the fitting of the earmuff on it (5.4.1) and the
  background noise of its test site (5.2.4). ISO 4869-2's Annex E uncertainty
  treatment of attenuation values and ratings is not implemented either. Nothing
  here models the difference between laboratory attenuation and what a protector
  achieves in the field, which is the subject of ISO/TR 4869-5 and is
  consistently large; a derating factor is a policy decision this library does
  not make for you.

## See also

- [Occupational Noise Exposure (ISO 9612)](https://docs.jmrp.io/phonometry/perception/hearing/occupational-exposure/):
  the daily exposure level the protected level feeds into.
- [Noise-induced hearing loss (ISO 1999)](https://docs.jmrp.io/phonometry/perception/hearing/noise-induced-hearing-loss/):
  what the exposure the protector did not stop does over a working life.
- [Hearing threshold (age and reference zero)](https://docs.jmrp.io/phonometry/perception/hearing/hearing-threshold/):
  the baseline any protected exposure is judged against.
- [Audiometric Test Methods (ISO 8253-1 and -2)](https://docs.jmrp.io/phonometry/perception/hearing/audiometry/):
  the diffuse-field test the site of ISO 4869-3 shares, and the room and the
  rules behind every threshold a protector is measured with.
- API reference: [`hearing`: real-ear attenuation](https://docs.jmrp.io/phonometry/reference/api/hearing/real-ear-attenuation/),
  [`hearing.hearing_protectors`](https://docs.jmrp.io/phonometry/reference/api/hearing/hearing-protectors/),
  [`hearing.active_noise_reduction`](https://docs.jmrp.io/phonometry/reference/api/hearing/active-noise-reduction/)
  and [`hearing`: earmuff insertion loss](https://docs.jmrp.io/phonometry/reference/api/hearing/earmuff-insertion-loss/).

## References

- **International Organization for Standardization. (2007).** *Acoustics — Hearing protectors — Part 3: Measurement of insertion loss of ear-muff type protectors using an acoustic test fixture* (ISO 4869-3:2007).
  The insertion loss of 5.4 with the uncertainty of Annex B, the random-incidence field and plane progressive wave of the test site (5.2, Table 1) and the fixture's acoustic isolation (5.1.4), validated against Tables 1, A.1 and B.1.
- **International Organization for Standardization. (2018).** [*Acoustics — Hearing protectors — Part 1: Subjective method for the measurement of sound attenuation*](https://www.iso.org/standard/65581.html) (ISO 4869-1:2018).
  Where the per-subject attenuation values come from: the real-ear attenuation at threshold of 4.6, the uncertainty of its mean in Annex A, the significance test of Annex B and the sound-field qualification of 4.2.2 with its Table 1, validated against Tables A.2, A.3, B.1 and B.2 and the minimum differences of B.1.1 and B.2.
- **International Organization for Standardization. (2018).** [*Acoustics — Hearing protectors — Part 2: Estimation of effective A-weighted sound pressure levels when hearing protectors are worn*](https://www.iso.org/standard/65582.html) (ISO 4869-2:2018).
  The implemented standard: the assumed protection value of Clause 5, the octave-band method of Clause 6, the HML method of Clause 7 and the SNR method of Clause 8, validated against the worked examples of Annexes A to D.
- **International Organization for Standardization. (2019).** *Acoustics — Hearing protectors — Part 6: Determination of sound attenuation of active noise reduction earmuffs* (ISO 4869-6:2019).
  The active insertion loss of 5.4, the ear with the lower value and its uncertainty (Annex A), the total attenuation of 5.5 and the linear-operation check of 5.4.4, validated against Tables A.2 and A.3 and against each step of 5.5 stored in the calculation workbook ISO publishes with it.
