pub struct ComparedPrediction {Show 27 fields
pub id: String,
pub title: String,
pub altimeter: String,
pub altimeter_evidence: String,
pub era5_weather: bool,
pub design: String,
pub weather: String,
pub total_impulse_ns: f64,
pub catalog_total_impulse_ns: Option<f64>,
pub reference_log: String,
pub reference_log_sha256: String,
pub reference_rule: String,
pub log_rows: usize,
pub log_apogee_m: f64,
pub log_highest_sample_m: Option<f64>,
pub merged_apogee_m: f64,
pub merged_height_apogee_m: f64,
pub merged_apogee_error_percent: f64,
pub hpr_apogee_m: f64,
pub hpr_height_apogee_m: f64,
pub apogee_error_percent: f64,
pub revised_because: Option<String>,
pub all_inputs_traced: bool,
pub untraced: Vec<String>,
pub hpr_max_mach: f64,
pub catalog_curve: Option<ShownOnly>,
pub openrocket_stored: Option<ShownOnly>,
}Expand description
One predicted flight beside its log, as the real-flights report keeps it.
Fields§
§id: StringThe flight’s public id.
title: StringThe rocket, the team and the event.
altimeter: StringWhat measured the log’s height (crate::real_flight::Altimeter::kind).
altimeter_evidence: StringWhere that comes from.
era5_weather: boolWhether the flight was flown in the ERA5 air of its launch hour; otherwise in the standard atmosphere and steady wind of a stored simulation.
design: StringWhat was flown, in words: the design built from RocketPy’s example, or the design file as saved in the stored simulation that names the flight.
weather: StringThe air it was flown in, in words: the ERA5 hour of its launch, or the atmosphere its stored simulation states.
total_impulse_ns: f64The impulse of the thrust flown, N s.
catalog_total_impulse_ns: Option<f64>The impulse of the catalog’s curve, N s, where Self::catalog_curve shows that flight:
the gap from the impulse flown is stated beside the flight’s error.
reference_log: StringThe log, from the repository root.
reference_log_sha256: StringIts SHA-256, in hex: the file the rule was merged for.
reference_rule: StringThe rule its apogee is read by, as merged with the prediction.
log_rows: usizeThe rows or samples the log holds.
log_apogee_m: f64The log’s apogee by that rule, m above the pad.
log_highest_sample_m: Option<f64>The log’s highest sample, m, where the rule reads a header line: shown, never compared.
merged_apogee_m: f64The prediction as first merged, m, to the digit its page printed
(MergedPrediction::apogee_m).
merged_height_apogee_m: f64The same as a height above the pad, m.
merged_apogee_error_percent: f64The merged prediction’s error against the log’s apogee, per cent.
hpr_apogee_m: f64The prediction HPR Sim flies today, m, as the log’s altimeter would read it: the merged one to its printed digit, unless revised.
hpr_height_apogee_m: f64The same as a height above the pad, m.
apogee_error_percent: f64Today’s prediction less the log’s apogee, per cent of the log’s: the error counted.
revised_because: Option<String>Why today’s prediction is not the merged one, when it isn’t
(Revision::because).
all_inputs_traced: boolWhether every input is traced to the flight’s record, as tagged with the prediction.
untraced: Vec<String>What moves the apogee and no record states, as tagged with the prediction.
hpr_max_mach: f64HPR Sim’s largest Mach number over the flight.
catalog_curve: Option<ShownOnly>The flight on its catalog curve, where the counted curve is not the catalog’s.
openrocket_stored: Option<ShownOnly>The OpenRocket simulation stored in the design file, for a flight read from one.
Implementations§
Source§impl ComparedPrediction
impl ComparedPrediction
Sourcepub fn check(
&self,
merged: &[MergedPrediction],
revisions: &[Revision],
) -> Result<(), String>
pub fn check( &self, merged: &[MergedPrediction], revisions: &[Revision], ) -> Result<(), String>
Whether the row holds together without the files it was read from, as CI checks it: its
merged numbers are merged‘s, today’s prediction is the merged one or the one a revision
in revisions gives, the reason kept is that revision’s, each percentage is its meters’,
and the traced tag is its list’s.
§Errors
The first thing that doesn’t hold, in words.
Trait Implementations§
Source§impl Clone for ComparedPrediction
impl Clone for ComparedPrediction
Source§fn clone(&self) -> ComparedPrediction
fn clone(&self) -> ComparedPrediction
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ComparedPrediction
impl Debug for ComparedPrediction
Source§impl<'de> Deserialize<'de> for ComparedPrediction
impl<'de> Deserialize<'de> for ComparedPrediction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ComparedPrediction
impl PartialEq for ComparedPrediction
Source§fn eq(&self, other: &ComparedPrediction) -> bool
fn eq(&self, other: &ComparedPrediction) -> bool
self and other values to be equal, and is used by ==.