STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_measurements Namespace Reference

Functions

 _cfg ()
 _mv (v)
 _solve (cfg)
 test_no_measurements_changes_nothing ()
 pair ()
 test_each_measurement_reaches_the_physics (pair)
 test_forward_mode_marks_them_measured (pair)
 test_half_a_pair_is_partial ()
 test_a_measurement_without_a_source_is_refused ()

Variables

float PSI = 6894.757
str CFG = "tests/fixtures/ethalox_6500N_doublet_cad_2026-09-28.yaml"

Detailed Description

Measured values in place of assumptions (engine/pipeline/measurements.py).

Opt-in: no measurements, the config is used exactly as given. Each measurement reaches the physics
where the assumed number entered, and forward mode marks the input measured (◇ -> ●).

Function Documentation

◆ _cfg()

test_measurements._cfg ( )
protected

◆ _mv()

test_measurements._mv ( v)
protected

Definition at line 18 of file test_measurements.py.

Referenced by pair(), and test_half_a_pair_is_partial().

◆ _solve()

test_measurements._solve ( cfg)
protected

Definition at line 23 of file test_measurements.py.

Referenced by pair().

◆ pair()

test_measurements.pair ( )

Definition at line 36 of file test_measurements.py.

References _cfg(), _mv(), and _solve().

◆ test_a_measurement_without_a_source_is_refused()

test_measurements.test_a_measurement_without_a_source_is_refused ( )

Definition at line 74 of file test_measurements.py.

◆ test_each_measurement_reaches_the_physics()

test_measurements.test_each_measurement_reaches_the_physics ( pair)

Definition at line 45 of file test_measurements.py.

◆ test_forward_mode_marks_them_measured()

test_measurements.test_forward_mode_marks_them_measured ( pair)

Definition at line 55 of file test_measurements.py.

◆ test_half_a_pair_is_partial()

test_measurements.test_half_a_pair_is_partial ( )

Definition at line 66 of file test_measurements.py.

References _cfg(), and _mv().

◆ test_no_measurements_changes_nothing()

test_measurements.test_no_measurements_changes_nothing ( )

Definition at line 29 of file test_measurements.py.

References _cfg().

Variable Documentation

◆ CFG

str test_measurements.CFG = "tests/fixtures/ethalox_6500N_doublet_cad_2026-09-28.yaml"

Definition at line 10 of file test_measurements.py.

◆ PSI

float test_measurements.PSI = 6894.757

Definition at line 9 of file test_measurements.py.