percentile_level — ACOUSTICS level op

• Datenarten: signal → table

• Aufruf: import fullseye as fs; fs.ledger.percentile_level(x, rate, percentiles=(10.0, 50.0, 90.0), weighting='A', ref=1.0, window_s=0.125, floor_db=-200.0) (die Implementierung direkt: import acoustics; acoustics.percentile_level(x, rate, percentiles=(10.0, 50.0, 90.0), weighting='A', ref=1.0, window_s=0.125, floor_db=-200.0); aus dem Register: opsacoustics.get("percentile_level"))

Verwendung

Statistische Pegel: L_N ist der Pegel, der N % der Zeit überschritten wird.

> Die ausführliche Beschreibung unten ist der Originaltext — Zusammenfassung und Überschriften sind übersetzt.

The record is cut into non-overlapping blocks of window_s seconds, each block's equivalent level is computed, and L_N is the (100-N)-th percentile of those levels. Non-overlapping rectangular blocks are used rather than an exponential time weighting because the block length is then exactly what the caller asked for and the statistic is exactly a percentile of the returned levels array — an exponential average would make the effective averaging time a function of the signal.

Returns a dict with one key per requested percentile ("L10", "L50", "L90", formatted with %g), plus levels (the per-block levels), times (block start times, s), n_blocks, block_samples, leq (the energy-equivalent level of the whole record), ref, weighting.

Note that L50 is the *median* level and leq is the *energy* level; they are different numbers whenever the signal is not stationary, and the gap between them is itself the usual measure of how fluctuating a record is.

Measured on a two-level test signal (1 s at 16 kHz, first half a 1 kHz sine of amplitude 1.0, second half the same at 0.1, Z-weighted, 0.125 s blocks, 8 blocks): L10 = -3.010300 and L90 = -23.010300 dB — exactly the two constituent levels, 20.000000 dB apart, as they must be for a 50/50 split. L50 = -13.010300 is the interpolated midpoint of the two clusters and leq = -5.977386, which is 17 dB above L90: the energy level sits near the loud half while the median sits between them. On a constant-amplitude signal all three percentiles and leq agree to 3.6e-15 dB.

Raises ValueError: everything _as_signal refuses, a percentile outside [0, 100], a non-positive window_s, a window_s longer than the record (which would give one block and make every percentile the same number while still looking like a statistic), ref <= 0.

Ausführlicher Anwendungsleitfaden

• Leitfaden zur Familie acoustic_condition_monitoring

Referenzen (Beispieldaten, Literatur)

• Katalog der Beispieldaten (Download-URLs / Lizenzen) — 2-D nutzt skimage.data (BSD/Public Domain) plus synthetische Bilder, 3-D nennt Download-URLs echter Datenquellen (Stanford, PDS, …).

• Herkunft und Literatur der Operatoren — die Quellen der Forschung/Verfahren, auf denen diese Operatorfamilie beruht.

• Der kanonische Algorithmus (Autor, Jahr) und seine Anwendungen stehen im Familienleitfaden oben.

Ausführbare Beispiele (verifizierte Samples, die diesen Operator wirklich aufrufen)

• acoustic_condition_monitoring — py -3.11 examples/acoustic_condition_monitoring.py

Typkompatible Folge-Operatoren (nehmen table als Eingabe)

istft

Gleiche Kategorie (level)

octave_bands · octave_spectrum · weighting_response · apply_weighting · equivalent_level


*Provenance: acoustics.py — ACOUSTICS Operator-Registry. Diese Notiz wird von tools/opdocs.py md erzeugt (nicht von Hand bearbeiten).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.