From 287ef2a6530de64c989222e9dfa887ea2183f6f6 Mon Sep 17 00:00:00 2001 From: serversdown Date: Sat, 31 Oct 2026 02:19:49 -0400 Subject: [PATCH] docs(changelog): Unreleased -- one MicL count is 0.25 Pa Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9 --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 390cf08..7bb5bd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,37 @@ All notable changes to seismo-relay are documented here. ## Unreleased ### Fixed +- **The mic in psi was ~95× low: one MicL count is 0.25 Pa.** + - SFM converted mic counts with a "~0.5 psi full-scale" guess (0.0125 / + 32768 psi per count). The decoded count was always right: count 16 on + `K441LTON.900` is Blastware's 106.0 dB. + - Measured against 1,729,253 DL2 histogram intervals' "MicL Peak" + columns: count × 0.25 Pa matches Blastware's psi(L) on every one. + - `event_file_io._MIC_FS_PSI` is now `_MIC_PSI_PER_COUNT` = 0.25 / 6894.757 + (3.626e-5 psi per count). + - The event's mic peak comes right on events with no report, and so does + the `.h5` mic trace (`event_hdf5` derives its scale from that peak). + - **dB offset:** `waveform_codec.mic_count_to_db` now uses 81.9384, not + 81.94. Blastware's dB sits in a measured window, [81.9383, 81.9385], a + hair above the exact 81.93820. Any value in the window matches on + 1,729,252 / 1,729,253 intervals. + - The checker's first run of this fix flagged 280 regressions, every one + count 129, which exact 0.25 Pa rounds to 124.1 against Blastware's + 124.2. + - The old 81.94 misses counts 119 and 132. + - Decode checker, against the pre-fix baseline: 45,035 fixed, 0 + regressions. + + | Field | Mismatches before | After | + |---|---|---| + | interval psi | 42,783 | 26 | + | interval dB | 974 | 20 | + | mic peak | 345 | 40 | + | waveform mic samples | 1,056 | 37 | + + - ⚠ **Codec change, covered by the same release bump.** The backfill + rewrites stored mic values on report-less events; report-paired events + keep the report's. No schema change. - **A histogram's peak vector sum is now the one the unit stores.** SFM computed it from each channel's interval peak, and those can come from different moments. So on 86% of DL2's histograms with no report it read