Skip to content
This documentation describes version 4.0.0, which is not released yet. The current version on PyPI is 3.3.0 and does not carry everything described here.

materials.absorbers.uncertainty

Measurement uncertainty for sound absorption (ISO 12999-2:2020).

Companion of the sound-insulation uncertainty of phonometry.building.measurement.uncertainty (ISO 12999-1). This part gives the standard uncertainty u of the quantities produced by a reverberation-room absorption measurement and its ratings:

  • the sound absorption coefficient αs and the equivalent sound absorption area AT measured according to ISO 354, in one-third-octave bands (Clause 5, Table 1);
  • the practical sound absorption coefficient αp determined according to ISO 11654, in octave bands (Clause 6, Table 2);
  • the single-number weighted sound absorption coefficient αw (ISO 11654) and single-number rating DLα,NRD (EN 1793-1) (Clause 7).

The standard uncertainty is estimated by the reproducibility standard deviation σR (different laboratories) or the repeatability standard deviation σr (same location, operator and equipment), both derived from inter-laboratory tests to ISO 5725. Where specimen-specific uncertainty data exist they take precedence (Clause 4).

Band formulae (Clause 5-6). For the absorption coefficient (Formula (1)/(4)); for the equivalent area with (Formula (2)); the repeatability value is (Formula (3)/(5)). m and n are the frequency-dependent constants of Table 1 (one-third-octave, 63-5000 Hz) and Table 2 (octave, 250-4000 Hz).

Single numbers (Clause 7). αw: (Formula (6)), (Formula (7)). DLα,NRD: (Formula (8)), (Formula (9)).

Reporting (Clause 8). The expanded uncertainty is (Formula (10)) with the coverage factor k of Table 3 (Gaussian assumption). The reported U is rounded to two decimal digits for absorption coefficients and one decimal digit for the equivalent area and DLα,NRD; the code keeps the exact U and exposes the rounded view through AbsorptionUncertaintyResult.reported_expanded_uncertainty.

Auto-generated from the source docstrings by scripts/generate_api_docs.py (make api-docs). Do not edit by hand.

absorption_coverage_factor(confidence: float = 0.95) -> float

Return the coverage factor k for a confidence level (Table 3).

Parameters

NameDescription
confidenceConfidence level as a fraction; one of 0.68, 0.80, 0.90, 0.95, 0.99, 0.999 (Table 3, Gaussian measurand).

Raises

ExceptionWhen
ValueErrorConfidence level not tabulated in Table 3.
AbsorptionUncertaintyResult(
quantity: str,
condition: str,
frequencies: np.ndarray,
values: np.ndarray,
standard_uncertainty: np.ndarray,
coverage_factor: float,
expanded_uncertainty: np.ndarray,
)

Standard and expanded uncertainty of an absorption quantity (ISO 12999-2).

For the single-number quantities (αw, DLα,NRD) it is the frequency array alone that is empty; the value and the two uncertainty arrays each hold a single element. That empty frequencies is what marks a single-number result apart, and what plot refuses on.

Attributes

NameDescription
quantity"absorption_coefficient", "equivalent_area", "practical_coefficient", "weighted_coefficient" or "single_number_rating".
condition"reproducibility" (σR) or "repeatability" (σr).
frequenciesBand centre frequencies, in Hz (empty for single numbers).
valuesThe input quantity per band (one element for single numbers).
standard_uncertaintyStandard uncertainty u (σR/σr), one per band.
coverage_factorCoverage factor k (Table 3).
expanded_uncertaintyExact (Formula (10)), one per band.

property

Lower interval bound value − U (exact U).

AbsorptionUncertaintyResult.plot(
ax: Axes | None = None,
*,
language: str = 'en',
**kwargs: Any,
) -> Axes

Plot the quantity with its ±U uncertainty ribbon (band quantities).

Requires matplotlib (pip install phonometry[plot]); returns the Axes.

AbsorptionUncertaintyResult.reported_expanded_uncertainty

Section titled “AbsorptionUncertaintyResult.reported_expanded_uncertainty”

property

U rounded for reporting (Clause 8): two decimals for absorption coefficients, one decimal for the equivalent area and DLα,NRD.

property

Upper interval bound value + U (exact U).

equivalent_area_uncertainty(
area: float | Sequence[float] | np.ndarray,
frequencies: float | Sequence[float] | np.ndarray,
*,
condition: str = 'reproducibility',
confidence: float = 0.95,
) -> AbsorptionUncertaintyResult

Uncertainty of the ISO 354 equivalent sound absorption area AT (Clause 5).

with (Formula (2)) per one-third-octave band; (Formula (3)).

Parameters

NameDescription
areaEquivalent sound absorption area AT per band, in m².
frequenciesOne-third-octave midband frequencies in Hz (Table 1), aligned with area.
condition"reproducibility" (default) or "repeatability".
confidenceConfidence level for the coverage factor k (Table 3).

Raises

ExceptionWhen
ValueErrorMismatched shapes, an untabulated frequency, an unknown condition or an untabulated confidence.
practical_coefficient_uncertainty(
alpha_p: float | Sequence[float] | np.ndarray,
frequencies: float | Sequence[float] | np.ndarray,
*,
condition: str = 'reproducibility',
confidence: float = 0.95,
) -> AbsorptionUncertaintyResult

Uncertainty of the ISO 11654 practical absorption coefficient αp (Clause 6).

(Formula (4)) per octave band; (Formula (5)).

Parameters

NameDescription
alpha_pPractical sound absorption coefficient αp per band.
frequenciesOctave midband frequencies in Hz (Table 2, 250-4000), aligned with alpha_p.
condition"reproducibility" (default) or "repeatability".
confidenceConfidence level for the coverage factor k (Table 3).

Raises

ExceptionWhen
ValueErrorMismatched shapes, an untabulated frequency, an unknown condition or an untabulated confidence.
single_number_rating_uncertainty(
dl_alpha: float,
*,
condition: str = 'reproducibility',
confidence: float = 0.95,
) -> AbsorptionUncertaintyResult

Uncertainty of the EN 1793-1 single-number rating DLα,NRD (Clause 7).

(Formula (8)), (Formula (9)).

Parameters

NameDescription
dl_alphaSingle-number rating DLα,NRD, in dB (non-negative).
condition"reproducibility" (default) or "repeatability".
confidenceConfidence level for the coverage factor k (Table 3).

Raises

ExceptionWhen
ValueErrorNegative dl_alpha, unknown condition or an untabulated confidence.
sound_absorption_coefficient_uncertainty(
alpha: float | Sequence[float] | np.ndarray,
frequencies: float | Sequence[float] | np.ndarray,
*,
condition: str = 'reproducibility',
confidence: float = 0.95,
) -> AbsorptionUncertaintyResult

Uncertainty of the ISO 354 sound absorption coefficient αs (Clause 5).

(Formula (1)) per one-third-octave band; (Formula (3)).

Parameters

NameDescription
alphaSound absorption coefficient αs per band.
frequenciesOne-third-octave midband frequencies in Hz (Table 1, 63-5000), aligned with alpha.
condition"reproducibility" (default) or "repeatability".
confidenceConfidence level for the coverage factor k (Table 3).

Raises

ExceptionWhen
ValueErrorMismatched shapes, an untabulated frequency, an unknown condition or an untabulated confidence.
weighted_coefficient_uncertainty(
alpha_w: float = 0.0,
*,
condition: str = 'reproducibility',
confidence: float = 0.95,
) -> AbsorptionUncertaintyResult

Uncertainty of the ISO 11654 weighted absorption coefficient αw (Clause 7).

The standard uncertainty is a constant: (Formula (6)), (Formula (7)), independent of the value.

Parameters

NameDescription
alpha_wWeighted sound absorption coefficient αw (carried through for the reported interval; does not affect u).
condition"reproducibility" (default) or "repeatability".
confidenceConfidence level for the coverage factor k (Table 3).

Raises

ExceptionWhen
ValueErrorUnknown condition or an untabulated confidence.