pub struct CompoundPoisson {
pub lambda: f64,
pub mean_ev: f64,
pub mean_std_err_ev: f64,
pub variance_ev2: f64,
pub variance_std_err_ev2: f64,
pub p_zero: f64,
pub k_max: usize,
pub truncated_mass: f64,
pub bin_width_ev: f64,
pub overflow_fraction: f64,
pub distribution: Option<CompoundDistribution>,
pub note: Option<String>,
}Expand description
Compound-Poisson summary of the energy S in a volume.
Fields§
§lambda: f64Mean number of incident electrons.
mean_ev: f64E[S] = λ E[X], eV.
mean_std_err_ev: f64Standard error of mean_ev, eV.
variance_ev2: f64Var[S] = λ E[X²], eV².
variance_std_err_ev2: f64Standard error of variance_ev2, eV².
p_zero: f64P(S = 0), exact.
k_max: usizeLargest number of depositing electrons kept in the convolution.
truncated_mass: f64Poisson mass beyond k_max that was dropped.
bin_width_ev: f64Bin width of X, eV (the grid of the representation).
overflow_fraction: f64Fraction of histories whose X was clamped into the last bin.
distribution: Option<CompoundDistribution>Quantiles and threshold probabilities, if computed.
note: Option<String>Why distribution is absent, if it is.
Trait Implementations§
Source§impl Clone for CompoundPoisson
impl Clone for CompoundPoisson
Source§fn clone(&self) -> CompoundPoisson
fn clone(&self) -> CompoundPoisson
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompoundPoisson
impl Debug for CompoundPoisson
Source§impl<'de> Deserialize<'de> for CompoundPoisson
impl<'de> Deserialize<'de> for CompoundPoisson
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
Source§impl PartialEq for CompoundPoisson
impl PartialEq for CompoundPoisson
Source§impl Serialize for CompoundPoisson
impl Serialize for CompoundPoisson
impl StructuralPartialEq for CompoundPoisson
Auto Trait Implementations§
impl Freeze for CompoundPoisson
impl RefUnwindSafe for CompoundPoisson
impl Send for CompoundPoisson
impl Sync for CompoundPoisson
impl Unpin for CompoundPoisson
impl UnsafeUnpin for CompoundPoisson
impl UnwindSafe for CompoundPoisson
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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