Skip to main content

Apogee

Struct Apogee 

Source
pub struct Apogee {
Show 13 fields pub time_s: f64, pub time_after_liftoff_s: Option<f64>, pub time_bound_s: f64, pub time_interval_s: Option<Interval>, pub height_m: f64, pub bound_m: f64, pub height_interval_m: Option<Interval>, pub altitude_m: f64, pub is_floor: bool, pub highest_sample: Sample, pub source: Source, pub provenance: Provenance, pub method: Method,
}
Expand description

The highest point.

Fields§

§time_s: f64

When, s on the track’s clock: the middle of the run of samples at the filtered track’s highest value.

§time_after_liftoff_s: Option<f64>

When, s after liftoff; None when liftoff is withheld.

§time_bound_s: f64

The bound on the time’s error, s: the time the top of a coast takes to fall by the height’s noise and step there, √(2 (noise + step)/g), and the longest interval either side of the peak’s flat run.

§time_interval_s: Option<Interval>

The time’s 90% interval, s on the track’s clock (interval::APOGEE_TIME_SHARES); None when the height is a floor.

§height_m: f64

The filtered track there, m above the pad, or on a short pad above the track’s zero, whose possible error the bound holds.

§bound_m: f64

The bound on the height’s error, m: the day’s air (TEMPERATURE_SHARE) and the barometer’s gain (BAROMETER_GAIN) as shares of the height, then its noise (NOISE_M), drift (DRIFT_M_PER_S) since the log began, a step at the pad and one at the peak, and the median’s peak_bound_m.

§height_interval_m: Option<Interval>

The height’s 90% interval, m above the pad (interval::APOGEE_HEIGHT_SHARES); None when the height is a floor.

§altitude_m: f64

The filtered track there, m above the track’s own zero: the logger’s, for its own altitude; for a channel’s, as the channel or the standard atmosphere gives it.

§is_floor: bool

Whether the peak lies within half the median’s window of the log’s end, so the log may have stopped before the rocket did: the height is then a floor.

§highest_sample: Sample

The highest sample the track holds before the filter: above the apogee when the median set a pulse aside.

§source: Source

The track it came from.

§provenance: Provenance

Measured.

§method: Method

How it was read.

Trait Implementations§

Source§

impl Clone for Apogee

Source§

fn clone(&self) -> Apogee

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Apogee

Source§

impl Debug for Apogee

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Apogee

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Apogee

Source§

fn eq(&self, other: &Apogee) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Apogee

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Apogee

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.