fix: continue to debug and fix strt amd waveform weirdness
This commit is contained in:
@@ -627,10 +627,13 @@ def _build_waveform_blob(e: Event) -> Optional[str]:
|
||||
pv = e.peak_values
|
||||
peak_values = None
|
||||
if pv:
|
||||
# Key names must match sfm/server.py _serialise_peak_values() so the
|
||||
# waveform viewer (which reads tran_in_s / vert_in_s / long_in_s) works
|
||||
# identically in both live-device mode and DB mode.
|
||||
peak_values = {
|
||||
"tran": pv.tran,
|
||||
"vert": pv.vert,
|
||||
"long": pv.long,
|
||||
"tran_in_s": pv.tran,
|
||||
"vert_in_s": pv.vert,
|
||||
"long_in_s": pv.long,
|
||||
"micl_psi": pv.micl,
|
||||
"peak_vector_sum": pv.peak_vector_sum,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user