pub struct PsfSpec {
pub depth_lo_nm: f64,
pub depth_hi_nm: f64,
pub r_min_nm: f64,
pub r_max_nm: f64,
pub bins: usize,
pub fits: Vec<PsfFitSpec>,
pub normalization: PsfNormalizationSpec,
}Expand description
[electron.tally.psf]: the radial profile of the energy deposited in a
depth slab, on log radial bins, and the PSF fits to it
(crate::tally::psf).
Fields§
§depth_lo_nm: f64Lower depth of the slab, nm.
depth_hi_nm: f64Upper depth of the slab (excluded), nm.
r_min_nm: f64Outer edge of the central disc and inner edge of the first log bin, nm.
r_max_nm: f64Outer edge of the last bin, nm.
bins: usizeLog bins between r_min_nm and r_max_nm.
fits: Vec<PsfFitSpec>Forms to fit ("double", "triple"); may be empty.
normalization: PsfNormalizationSpecHow the energy scale of the fits is set.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PsfSpec
impl<'de> Deserialize<'de> for PsfSpec
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 PsfSpec
Auto Trait Implementations§
impl Freeze for PsfSpec
impl RefUnwindSafe for PsfSpec
impl Send for PsfSpec
impl Sync for PsfSpec
impl Unpin for PsfSpec
impl UnsafeUnpin for PsfSpec
impl UnwindSafe for PsfSpec
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