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

Functions

SimpleNamespace _sample (float t, float thrust, float ox, float fuel, float pc=2.5e6)
None test_totals_are_right_endpoint_sums_over_each_steps_own_length ()
None test_a_history_splits_into_burns_at_every_quiet_step ()
None test_a_burn_found_in_a_sessions_history_totals_what_its_trace_totals ()
None test_install_is_attach_plus_the_cards_chamber_at_its_own_site ()

Detailed Description

One way to total a burn (feedtwin.session.report), and one way to put a card on an engine.

The cockpit finds its burns in a session's history; Layer X records one burn as columns. The
totals have to be the same arithmetic on the same steps, or a disagreement between the tools
could be bookkeeping. Checked against hand sums, and against the burn's own trace.

Function Documentation

◆ _sample()

SimpleNamespace test_burn_report._sample ( float t,
float thrust,
float ox,
float fuel,
float pc = 2.5e6 )
protected

◆ test_a_burn_found_in_a_sessions_history_totals_what_its_trace_totals()

None test_burn_report.test_a_burn_found_in_a_sessions_history_totals_what_its_trace_totals ( )
The cockpit's way (find the burn in the samples) against the burn's own trace,
step for step: same impulse, same propellant, to rounding.

Definition at line 84 of file test_burn_report.py.

References min.

◆ test_a_history_splits_into_burns_at_every_quiet_step()

None test_burn_report.test_a_history_splits_into_burns_at_every_quiet_step ( )

Definition at line 61 of file test_burn_report.py.

References _sample().

◆ test_install_is_attach_plus_the_cards_chamber_at_its_own_site()

None test_burn_report.test_install_is_attach_plus_the_cards_chamber_at_its_own_site ( )

Definition at line 134 of file test_burn_report.py.

◆ test_totals_are_right_endpoint_sums_over_each_steps_own_length()

None test_burn_report.test_totals_are_right_endpoint_sums_over_each_steps_own_length ( )

Definition at line 36 of file test_burn_report.py.