pub struct Dispersion {
pub dry_mass_sd_fraction: f64,
pub cg_sd_m: f64,
pub drag_sd_fraction: f64,
pub impulse_sd_fraction: f64,
pub burn_time_sd_fraction: f64,
pub ejection_delay_sd_s: f64,
pub wind_speed_sd_fraction: f64,
pub wind_heading_sd_rad: f64,
pub rail_elevation_sd_rad: f64,
pub rail_azimuth_sd_rad: f64,
pub deployment_lag_sd_s: f64,
}Expand description
The standard deviation of each dispersed input; zero, the default, leaves an input at its nominal value. The module’s docs say what each does to a flight.
Fields§
§dry_mass_sd_fraction: f64Each stage’s mass without motors, as a fraction of it (0.02 is 2%).
cg_sd_m: f64Each stage’s center of mass along the axis, m.
drag_sd_fraction: f64The rocket’s zero-lift drag coefficient, as a fraction of it.
impulse_sd_fraction: f64Each motor’s total impulse, as a fraction of it, its propellant mass with it.
burn_time_sd_fraction: f64Each motor’s burn time, as a fraction of it, at the same impulse.
ejection_delay_sd_s: f64Each motor’s ejection delay, s.
wind_speed_sd_fraction: f64The wind’s speed at every height, as a fraction of it.
wind_heading_sd_rad: f64The wind’s direction, rad, about the nominal one.
rail_elevation_sd_rad: f64The rail’s angle above the horizon, rad.
rail_azimuth_sd_rad: f64The rail’s heading, rad.
deployment_lag_sd_s: f64Each recovery device’s lag after its trigger, s.
Implementations§
Source§impl Dispersion
impl Dispersion
Sourcepub fn validate(&self) -> Result<(), AnalysisError>
pub fn validate(&self) -> Result<(), AnalysisError>
Checks that every standard deviation is finite and not negative.
§Errors
AnalysisError::Domain naming the first that isn’t.
Trait Implementations§
Source§impl Clone for Dispersion
impl Clone for Dispersion
Source§fn clone(&self) -> Dispersion
fn clone(&self) -> Dispersion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Dispersion
Source§impl Debug for Dispersion
impl Debug for Dispersion
Source§impl Default for Dispersion
impl Default for Dispersion
Source§fn default() -> Dispersion
fn default() -> Dispersion
Source§impl<'de> Deserialize<'de> for Dispersionwhere
Dispersion: Default,
impl<'de> Deserialize<'de> for Dispersionwhere
Dispersion: Default,
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 Dispersion
impl PartialEq for Dispersion
Source§fn eq(&self, other: &Dispersion) -> bool
fn eq(&self, other: &Dispersion) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for Dispersion
impl Serialize for Dispersion
impl StructuralPartialEq for Dispersion
Auto Trait Implementations§
impl Freeze for Dispersion
impl RefUnwindSafe for Dispersion
impl Send for Dispersion
impl Sync for Dispersion
impl Unpin for Dispersion
impl UnsafeUnpin for Dispersion
impl UnwindSafe for Dispersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more