docs(changelog): Micromate .h5 samples on Thor's own LSB (#42)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-10-23 13:49:07 -04:00
1 parent a5373deae7
commit 6690434ecf
1 file changed
+22
+22
View File
@@ -78,6 +78,28 @@ All notable changes to seismo-relay are documented here.
- **`mm_client_check.py` carried two stale labels.** It still printed `0x06`
content[4:8] as "unexplained" (it is very likely the monitor-log count -- see
*Changed*) and announced UM20147 as "the FIRST 11.0BD unit this code has met".
- **Micromate `.h5` samples used the MiniMate's count scale (#42).** Every
idf-import `.h5` converted Thor's raw geo counts with `full_scale /
_GEO_INT16_FS`, the MiniMate body codec's count. A Thor count is
`_GEO_LSB_IPS` = 0.000310308 in/s, so the samples disagreed with the event's
own peak by a constant: **−1.65%** while that divisor was 32768 (before
2026-08-25) and **+0.71%** after it became 32000. v0.30.0's LSB fix corrected
the decoder's *peaks*, and those were right everywhere (DB, sidecar, h5
`peak_*_ips`, PDF numbers). It never reached the sample arrays, which go
through the shared writer. Off-scale: waveform and histogram charts, FFT
magnitudes, and the offset detector's 0.025 in/s floor. Crest factor and ZC
frequency are scale-free. `write_event_hdf5` now takes `geo_ips_per_count`.
`save_imported_idf` and `backfill_thor_events.py` pass Thor's LSB, and
MiniMate callers are unchanged. Measured: the 8 thor-idf fixtures (24
channels) go from max|sample| / peak = 1.00706 to 1.00000 through the real
ingest path.
⚠ **Existing Thor `.h5` files keep the wrong scale until regenerated.** Run
`scripts/backfill_thor_events.py` (bump `TOOL_VERSION` at release so it is
gated, or pass `--force`), then `backfill_event_shape.py`, because the offset
metrics read these samples. No schema change, no migration. **Series-3
`.h5` files are unaffected** and do not need `backfill_sidecars.py`. A
`TOOL_VERSION` bump would make that script regenerate them anyway (~2 h on
the NAS), so don't run it for this.
### Added