docs(reference): 256, 4,096 and 65,536 mean a number outgrew its box
A note at the head of Appendix D.6 listing every case so far: the O117I1NK sample wrap, the unit's 16.16 fixed-point step, the histogram PVS2 high word above 1.28 in/s, the old 1.275 in/s byte clip, and the 64 KB 5A page. Brian's observation, 2026-11-05. 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
6591b09b31
commit
d2fe675650
2 files changed
+19
No files matched your search
@@ -3650,6 +3650,22 @@ Each field was proven by the decode checker, `scratch/check_s3_decode.py`. It co
|
||||
decode with Blastware's `_XML.XML` report for every DL2 event: 70,042 events, 2016–2026, local
|
||||
copy in `~/dl2-archive`. Counts below are from that archive unless stated otherwise.
|
||||
|
||||
> 🔑 **Reading a mismatch: 256, 4,096 and 65,536 mean a number outgrew its box** (Brian,
|
||||
> 2026-11-05). These are 2⁸, 2¹² and 2¹⁶: how many values an 8-, 12- or 16-bit field can hold.
|
||||
> When a value is off by exactly one of them, or stops at one, suspect the storage, not the
|
||||
> physics. Every case so far:
|
||||
>
|
||||
> | Seen as | Box | Cause |
|
||||
> |---|---|---|
|
||||
> | O117I1NK's samples off by 65,536 counts at the trigger, the mic's by 4,096 (D.6.12) | 16-bit sample (12-bit mic) | the unit wrote a value beyond the range; it rolled over |
|
||||
> | the unit's largest step stored × 65,536 (D.6.12) | 16.16 fixed point | whole part in the top 16 bits, fraction in the bottom 16 |
|
||||
> | histogram PVS² high word non-zero above 1.28 in/s (D.6.5) | 16-bit half of a uint32 | 1.28 in/s = 256 units, and 256² = 65,536 |
|
||||
> | histogram peaks clipped at 1.275 in/s until 2026-08-25 | one byte read where the value is 16-bit | 255 units is the most a byte holds |
|
||||
> | the 5A walk failing past 64 KB until 2026-10-26 (§7.8) | 16-bit address | addresses roll over every 65,536 bytes |
|
||||
>
|
||||
> The geophone's full scale is 32,000 counts, deliberately short of the 16-bit limit (32,767):
|
||||
> that one is a design margin, not an overflow.
|
||||
|
||||
#### D.6.1 Record type — `STRT[18]` ✅
|
||||
|
||||
| `STRT[18]` | Type | DL2 |
|
||||
|
||||
Reference in new issue
Block a user