diff --git a/CHANGELOG.md b/CHANGELOG.md index 7996c43..f2a3af3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -92,6 +92,34 @@ All notable changes to seismo-relay are documented here. change. ### Added +- **A histogram's interval detail: frequencies, vector sums, interval size and + stop** (group B of the file-only decode). Measured on DL2 2026-11-03. + - **Frequency** = (sample rate / 2) / half-period: 527,915 / 527,915 cells + at 1024 sps and 1,725 / 1,725 at 2048. + - ✅ **Fixes #50.** `half_period_to_hz` used a fixed 512 and halved every + 2048-sps frequency. It now takes the rate (default 1024). + - Blastware prints "N/A" for a half-period of 0, ">100" (">200" at 2048) + at 5 samples or fewer, and "<1.0" below 1 Hz. + - **Each interval's vector sum**, √PVS² at the event's range. + - **Interval size:** uint16 seconds at `k − 40` (Series IV `[8:10]`). + - **Stop time:** the footer's. + - **`Event` gains** `histogram_interval_sec`, `interval_half_periods`, + `interval_pvs` and `stop_time`. + - **The `.h5` gains** `/intervals/half_period/` and `/intervals/pvs_ips`, + plus a `histogram_interval_sec` attribute. + - **Decoder:** a histogram is now walked once + (`histogram_codec.channels_from_records`). + - **Decode checker:** 508,080 comparisons fixed, 0 regressions, 34 of 88 + fields fully match (was 28). + - Frequencies on all four channels, interval size and stop date match + every DL2 histogram. + - Interval vector sum: 63,497 match, plus 17 clipped intervals now under + the saturation carve-out. Blastware prints OORANGE when the sum exceeds + the range in an interval where it clamped a channel (17 / 17). + - 4 cells sit 4e-6 past a rounding boundary and stay mismatches. + - 58 stop times are Blastware a second earlier, part of #51. + - ⚠ **Codec change:** it rides the next release's `TOOL_VERSION` bump and + backfill. The `.h5` additions are additive. No schema change. - **A Blastware file's identity, battery and trigger settings** (group A of the file-only decode). Every field is matched against every DL2 report (2026-11-03).