fix(decode): Blastware's g for peak acceleration, fitted to every DL2 value
Every printed acceleration in DL2 bounds Blastware's g; together they leave [386.2236, 386.2240] in/s^2, and 386.2238 fits 19,475 / 19,479 values. The other 4 are one odd file (O117I1NK.R70W, whose peak times are also off) and one sample mismatch. That is 9.81 m/s^2 (386.2205, 19,423) plus an unexplained offset, as with the mic's fitted dB offset. The 59 values 9.81 left were all one last digit high. 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
233289d029
commit
09f34c2c85
2 files changed
+11
-7
No files matched your search
@@ -501,8 +501,8 @@ def test_a_histogram_without_its_record_falls_back_to_the_footer_and_says_so():
|
||||
# Measured on 400 DL2 waveforms (2026-11-04):
|
||||
# time of peak = (peak sample - pre-trigger samples) / sample rate: 1,197 / 1,197
|
||||
# vector-sum time, the same on sqrt(T^2 + V^2 + L^2): 398 / 399
|
||||
# peak acceleration = largest |v[i+1] - v[i]| x rate / g, with Blastware's
|
||||
# g = 9.81 m/s^2 (386.2205 in/s^2): 1,190 / 1,197 (9.80665 gives 1,073)
|
||||
# peak acceleration = largest |v[i+1] - v[i]| x rate / g, with Blastware's g
|
||||
# fitted to [386.2236, 386.2240] in/s^2 by every DL2 value: 19,475 / 19,479
|
||||
|
||||
@pytest.mark.parametrize("rel,times,pvs_time,accel", [
|
||||
(f"{_SF}/T189HUD6.QE0W",
|
||||
|
||||
Reference in new issue
Block a user