|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <CaptureWindow.hpp>
Public Attributes | |
| bool | ok = false |
| false → the caller must NOT create a point | |
| double | adc_avg = 0.0 |
| size_t | n = 0 |
| samples inside the window | |
| uint64_t | span_ms = 0 |
| ts span actually covered | |
| uint64_t | age_ms = 0 |
| how old the newest sample is, our clock | |
| uint64_t | window_ms = kCaptureWindowMs |
| the window this sensor's rate called for | |
| uint64_t | max_age_ms = kMaxSampleAgeMs |
| the staleness limit it was held to | |
| double | spread = 0.0 |
| max - min inside the window | |
| double | drift = 0.0 |
| |mean(2nd half) - mean(1st half)| | |
| double | drift_z = 0.0 |
| drift in standard errors | |
| bool | settled = true |
| false → recorded, but flagged | |
| const char * | reason = kReasonOk |
Definition at line 104 of file CaptureWindow.hpp.
| double fsw::calibration::CaptureResult::adc_avg = 0.0 |
Definition at line 106 of file CaptureWindow.hpp.
Referenced by anonymous_namespace{test_capture_window.cpp}::low_rate_step_after_settle(), and main().
| uint64_t fsw::calibration::CaptureResult::age_ms = 0 |
how old the newest sample is, our clock
Definition at line 109 of file CaptureWindow.hpp.
| double fsw::calibration::CaptureResult::drift = 0.0 |
|mean(2nd half) - mean(1st half)|
Definition at line 113 of file CaptureWindow.hpp.
Referenced by main().
| double fsw::calibration::CaptureResult::drift_z = 0.0 |
| uint64_t fsw::calibration::CaptureResult::max_age_ms = kMaxSampleAgeMs |
the staleness limit it was held to
Definition at line 111 of file CaptureWindow.hpp.
| size_t fsw::calibration::CaptureResult::n = 0 |
| bool fsw::calibration::CaptureResult::ok = false |
false → the caller must NOT create a point
Definition at line 105 of file CaptureWindow.hpp.
Referenced by anonymous_namespace{test_capture_window.cpp}::empty_and_too_few(), anonymous_namespace{test_capture_window.cpp}::fast_sensor_bounds_unchanged(), anonymous_namespace{test_capture_window.cpp}::low_rate_step_after_settle(), main(), and anonymous_namespace{test_capture_window.cpp}::slow_load_cell_captures().
| const char* fsw::calibration::CaptureResult::reason = kReasonOk |
| bool fsw::calibration::CaptureResult::settled = true |
false → recorded, but flagged
Definition at line 115 of file CaptureWindow.hpp.
Referenced by main().
| uint64_t fsw::calibration::CaptureResult::span_ms = 0 |
ts span actually covered
Definition at line 108 of file CaptureWindow.hpp.
| double fsw::calibration::CaptureResult::spread = 0.0 |
| uint64_t fsw::calibration::CaptureResult::window_ms = kCaptureWindowMs |
the window this sensor's rate called for
Definition at line 110 of file CaptureWindow.hpp.
Referenced by main().