docs(changelog): Unreleased -- ZC frequency, displacement and times of peak from the unit's summary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
This commit is contained in:
1 parent
8e9a3ac9cf
commit
6591b09b31
1 file changed
+59
@@ -4,6 +4,65 @@ All notable changes to seismo-relay are documented here.
|
||||
|
||||
---
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
- **ZC frequency, peak displacement and times of peak come from the unit's own
|
||||
event summary** (group D, part 2 of the file-only decode;
|
||||
`feat/waveform-zc-displacement`, merged 2026-11-06). Measured on DL2
|
||||
2026-11-05.
|
||||
- **Where they are:** every event file carries the unit's per-channel
|
||||
summary right after its embedded event record. It is a chain of
|
||||
`[length][id][payload]` records, ids `0x32`–`0x35`, each holding min, max,
|
||||
peak sample, half-period and a displacement integral (reference D.6.12).
|
||||
Blastware prints these values as they are.
|
||||
- **ZC frequency** = (rate / 2) / half-period, on every record type. It
|
||||
matches 25,966 / 25,966 waveform and 253,958 / 253,958 histogram channel
|
||||
values, including the words (">100", "N/A", "<1.0"). Above range the value
|
||||
is Blastware's threshold, flagged, as when it comes from a report.
|
||||
- **Peak displacement** = half the integral (new
|
||||
`PeakValues.*_peak_disp_in`): 19,479 / 19,479.
|
||||
- **Times of peak and the vector-sum time** now come from the unit's peak
|
||||
samples. They differ from the samples' own only on O117I1NK.R70W, whose
|
||||
stored samples wrap at the trigger. Blastware's own sample table has the
|
||||
same wrapped values.
|
||||
- **Why recomputing failed:** from the samples, ZC frequency had matched 46%
|
||||
and displacement 84%. The unit computes them at full resolution.
|
||||
- **Peak acceleration** stays Blastware's own computation from the samples.
|
||||
The unit stores its own largest step too (`[15:21]`, inferred), and
|
||||
Blastware ignores it.
|
||||
- **Decode checker:** 59 of 88 fields now match on every DL2 event, 47 before
|
||||
group D (run `20261105-140021`, 0 regressions). Still open: O117I1NK's three
|
||||
accelerations and S353I5PZ.EP0W's Vert acceleration.
|
||||
- ⚠ **Operational:** codec change.
|
||||
- The next release bumps `TOOL_VERSION`, then runs `backfill_sidecars.py`
|
||||
and `backfill_event_shape.py`: about 8 h on the NAS (v0.34.0's took
|
||||
13:13 → 21:16 on 2026-11-05).
|
||||
- No schema change, no migration, and no stored time moves.
|
||||
- **Report-less events gain a ZC frequency** in the existing `*_zc_freq` /
|
||||
`*_zc_above_range` columns, so Terra-View shows a frequency where it
|
||||
showed "—".
|
||||
- Report-paired events keep the report's values, which are equal. A
|
||||
report's "<1.0" still overlays as no value until the overlay is retired.
|
||||
- Displacement and times of peak are not stored in the DB or `.h5` yet.
|
||||
|
||||
### Fixed
|
||||
- **The decode checker reads the mic's above-range ZC flag under its real name**
|
||||
(`mic_zc_above_range`). A mic ">100" could never match before.
|
||||
|
||||
### Protocol / Documentation
|
||||
- **Reference D.6.12 (new):**
|
||||
- the unit's event summary: its layout, and what Blastware prints from it
|
||||
- why recomputing failed
|
||||
- the two odd 2019 files
|
||||
- group D part 1 (time of peak, acceleration with the fitted g),
|
||||
documented there too
|
||||
- **Reference §7.8.9:** its "constant, meaning ❓" bytes amended in place. They
|
||||
are the vector-sum peak's sample, then the next record's lead.
|
||||
- **Reference D.6.11 and CLAUDE.md:** the 59 / 88 status. Leads for E: records
|
||||
`0x3c` / `0x3d`, probably the sensor check. Leads for F: a waveform's
|
||||
monitor log may be its event record's start and stop.
|
||||
|
||||
## v0.34.0 — 2026-11-04
|
||||
|
||||
**SFM reaches Series-4 parity, and reads most of Blastware's report from the
|
||||
|
||||
Reference in new issue
Block a user