pub struct RunLog {
pub times: Vec<f64>,
pub values: Vec<f64>,
pub duration_s: f64,
pub offset_iso: Option<String>,
pub n_dropped_corrupt: usize,
}Expand description
One slow-control PV read from /entry/DASlogs/<pv> plus the run length.
Fields§
§times: Vec<f64>Transition times in seconds relative to run start (ascending).
values: Vec<f64>Value taking effect at the matching times entry.
duration_s: f64Total run duration in seconds (/entry/duration), the implicit end
of the last transition segment.
offset_iso: Option<String>ISO-8601 epoch of the time axis (the start or offset attribute),
when recorded. Compare with
crate::nexus::BankSpectrum::pulse_time_offset_iso to confirm the
log clock and the pulse clock share a zero point (at SNS both are
seconds since run start and the attributes match exactly).
n_dropped_corrupt: usizeEntries dropped as corrupt reconnect records — backward time jump or subnormal value payload (see the module docs). Non-zero is worth a mention in run-health screens; retained entries are unaffected.