pub struct ExposureSpec {
pub lambda: f64,
pub beam: ExposureBeamSpec,
pub volumes: Vec<ExposureVolumeSpec>,
pub bins: usize,
pub x_max_ev: Option<f64>,
pub quantiles: Vec<f64>,
pub below_ev: Vec<f64>,
pub above_ev: Vec<f64>,
pub tail_tolerance: f64,
}Expand description
[electron.tally.exposure]: the per-electron deposit in target volumes
and the compound-Poisson distribution of a finite exposure
(crate::tally::exposure).
Fields§
§lambda: f64Mean number of incident electrons.
beam: ExposureBeamSpecBeam profile.
volumes: Vec<ExposureVolumeSpec>Target volumes (a neighbour is another volume at its offset).
bins: usizeHistogram bins of the per-electron deposit.
x_max_ev: Option<f64>Upper edge of the histogram, eV. Default: the beam energy.
quantiles: Vec<f64>Probabilities whose quantiles of the exposure energy are reported.
below_ev: Vec<f64>Thresholds a, eV, for P(S < a).
above_ev: Vec<f64>Thresholds b, eV, for P(S > b).
tail_tolerance: f64Poisson tail mass dropped from the convolution.
Trait Implementations§
Source§impl Clone for ExposureSpec
impl Clone for ExposureSpec
Source§fn clone(&self) -> ExposureSpec
fn clone(&self) -> ExposureSpec
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 ExposureSpec
impl Debug for ExposureSpec
Source§impl<'de> Deserialize<'de> for ExposureSpec
impl<'de> Deserialize<'de> for ExposureSpec
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 ExposureSpec
impl PartialEq for ExposureSpec
Source§impl Serialize for ExposureSpec
impl Serialize for ExposureSpec
impl StructuralPartialEq for ExposureSpec
Auto Trait Implementations§
impl Freeze for ExposureSpec
impl RefUnwindSafe for ExposureSpec
impl Send for ExposureSpec
impl Sync for ExposureSpec
impl Unpin for ExposureSpec
impl UnsafeUnpin for ExposureSpec
impl UnwindSafe for ExposureSpec
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