pub struct DepthDose {
pub edges_m: Vec<f64>,
pub layer_of_bin: Vec<usize>,
pub energy_ev: Vec<Estimate>,
pub ev_per_nm: Vec<Estimate>,
pub dose_gy_m2: Vec<Option<Estimate>>,
pub outside_ev: Estimate,
}Expand description
The depth-dose profile through the stack.
Fields§
§edges_m: Vec<f64>Bin edges, m: bin i is [edges_m[i], edges_m[i + 1]), so there is one
more edge than bins. Layer boundaries are shared edges.
layer_of_bin: Vec<usize>The layer of each bin.
energy_ev: Vec<Estimate>Energy deposited per primary in each bin, eV.
ev_per_nm: Vec<Estimate>The same, per nm of depth, eV per primary per nm.
dose_gy_m2: Vec<Option<Estimate>>Dose per unit incident fluence in each bin, Gy m²; None in a
semi-infinite layer.
outside_ev: EstimateEnergy deposited per primary deeper than the binned depth of a semi-infinite layer, eV.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DepthDose
impl<'de> Deserialize<'de> for DepthDose
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
impl StructuralPartialEq for DepthDose
Auto Trait Implementations§
impl Freeze for DepthDose
impl RefUnwindSafe for DepthDose
impl Send for DepthDose
impl Sync for DepthDose
impl Unpin for DepthDose
impl UnsafeUnpin for DepthDose
impl UnwindSafe for DepthDose
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