pub struct StatsResult {Show 23 fields
pub min: f64,
pub max: f64,
pub mean: f64,
pub sigma: f64,
pub total: f64,
pub net: f64,
pub num_elements: usize,
pub min_x: usize,
pub min_y: usize,
pub max_x: usize,
pub max_y: usize,
pub histogram: Vec<f64>,
pub hist_below: f64,
pub hist_above: f64,
pub hist_entropy: f64,
pub profile_avg_x: Vec<f64>,
pub profile_avg_y: Vec<f64>,
pub profile_threshold_x: Vec<f64>,
pub profile_threshold_y: Vec<f64>,
pub profile_centroid_x: Vec<f64>,
pub profile_centroid_y: Vec<f64>,
pub profile_cursor_x: Vec<f64>,
pub profile_cursor_y: Vec<f64>,
}Expand description
Statistics computed from an NDArray.
Fields§
§min: f64§max: f64§mean: f64§sigma: f64§total: f64§net: f64§num_elements: usize§min_x: usize§min_y: usize§max_x: usize§max_y: usize§histogram: Vec<f64>§hist_below: f64§hist_above: f64§hist_entropy: f64§profile_avg_x: Vec<f64>§profile_avg_y: Vec<f64>§profile_threshold_x: Vec<f64>§profile_threshold_y: Vec<f64>§profile_centroid_x: Vec<f64>§profile_centroid_y: Vec<f64>§profile_cursor_x: Vec<f64>§profile_cursor_y: Vec<f64>Trait Implementations§
Source§impl Clone for StatsResult
impl Clone for StatsResult
Source§fn clone(&self) -> StatsResult
fn clone(&self) -> StatsResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatsResult
impl Debug for StatsResult
Source§impl Default for StatsResult
impl Default for StatsResult
Source§fn default() -> StatsResult
fn default() -> StatsResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatsResult
impl RefUnwindSafe for StatsResult
impl Send for StatsResult
impl Sync for StatsResult
impl Unpin for StatsResult
impl UnsafeUnpin for StatsResult
impl UnwindSafe for StatsResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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