STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
CubicCalibrationStore.hpp File Reference
#include <cstdint>
#include <map>
#include <mutex>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for CubicCalibrationStore.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fsw::calibration::CubicPoint
 One operator-captured calibration point: raw ADC code paired with a known reference PSI. More...
struct  fsw::calibration::CubicFit
 Result of a least-squares polynomial fit over a channel's captured points. More...
struct  fsw::calibration::CaptureQuality
 How trustworthy the most recent capture on this channel was. More...
struct  fsw::calibration::CubicChannel
 Per-sensor calibration record: identity, captured points, and the current fit. More...
class  fsw::calibration::CubicCalibrationStore
 Owns the per-channel captured points and the fitted cubic for the calibration service. More...

Namespaces

namespace  fsw
 Motorized ball valve position: raw ADC counts -> % open.
namespace  fsw::calibration
 Output smoothing for calibrated PT pressure, per sensor uid (ESP32 and LabJack T7 alike).

Enumerations

enum class  fsw::calibration::SensorKind { fsw::calibration::PT , fsw::calibration::LC }
 Which family of sensor a channel belongs to. More...
enum class  fsw::calibration::CalTarget { fsw::calibration::None , fsw::calibration::PT , fsw::calibration::LC }
 Which live calibration manager a store entry's fit belongs in — the one rule every caller that applies a resumed curve to the running stream must go through. More...

Functions

CalTarget fsw::calibration::cal_target (const CubicChannel &ch)

Variables

constexpr const char * fsw::calibration::kRawUnitAdc = "adc"
 CubicChannel::raw_unit values.
constexpr const char * fsw::calibration::kRawUnitMicrovolts = "uV"