pub struct EnsembleStats {
pub mean: Vec<f64>,
pub median: Vec<f64>,
pub min: Vec<f64>,
pub max: Vec<f64>,
pub p25: Vec<f64>,
pub p75: Vec<f64>,
}Expand description
Per-time-step ensemble statistics across all members of a
ComparisonResult.
Every Vec<f64> field has length time_steps. At each step the values
are computed over the set {r.discharge[step] : r in results} — i.e.
the model outputs at that time-step form the ensemble. ensemble_stats
is the constructor.
Fields§
§mean: Vec<f64>Arithmetic mean of member discharges at each step (m³/s).
median: Vec<f64>Median (50th percentile, linear-interpolated) at each step (m³/s).
min: Vec<f64>Minimum member discharge at each step (m³/s).
max: Vec<f64>Maximum member discharge at each step (m³/s).
p25: Vec<f64>25th percentile (linear-interpolated) at each step (m³/s).
p75: Vec<f64>75th percentile (linear-interpolated) at each step (m³/s).
Trait Implementations§
Source§impl Clone for EnsembleStats
impl Clone for EnsembleStats
Source§impl Debug for EnsembleStats
impl Debug for EnsembleStats
Source§impl<'de> Deserialize<'de> for EnsembleStats
impl<'de> Deserialize<'de> for EnsembleStats
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EnsembleStats
impl RefUnwindSafe for EnsembleStats
impl Send for EnsembleStats
impl Sync for EnsembleStats
impl Unpin for EnsembleStats
impl UnsafeUnpin for EnsembleStats
impl UnwindSafe for EnsembleStats
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
Mutably borrows from an owned value. Read more