pub struct CalibrantSpectrum {
pub energies: Vec<f64>,
pub transmission: Vec<f64>,
pub uncertainty: Vec<f64>,
pub isotopes: Vec<(ResonanceData, f64)>,
pub temperature_k: f64,
}Expand description
The known spectrum: what it is made of, at what temperature, and what was measured.
Its densities and temperature are fixed during the fit. That is what makes it a calibrant — the resolution is the only thing it is being asked about.
Fields§
§energies: Vec<f64>Energy grid (eV), ascending.
transmission: Vec<f64>Measured transmission on that grid.
uncertainty: Vec<f64>One-sigma uncertainty per point.
isotopes: Vec<(ResonanceData, f64)>Known composition: each isotope with its known areal density.
temperature_k: f64Known temperature (K).
Auto Trait Implementations§
impl Freeze for CalibrantSpectrum
impl RefUnwindSafe for CalibrantSpectrum
impl Send for CalibrantSpectrum
impl Sync for CalibrantSpectrum
impl Unpin for CalibrantSpectrum
impl UnsafeUnpin for CalibrantSpectrum
impl UnwindSafe for CalibrantSpectrum
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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