pub struct SampleSpectrum {
pub energies: Vec<f64>,
pub transmission: Vec<f64>,
pub uncertainty: Vec<f64>,
pub isotopes: Vec<(ResonanceData, f64)>,
pub temperature_k: f64,
pub fit_temperature: bool,
}Expand description
The unknown spectrum and what the fit is free to move in it.
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)>Each isotope with the areal density to start it at.
temperature_k: f64Temperature (K); the start value when it is fitted.
fit_temperature: boolWhether the temperature is free.
Auto Trait Implementations§
impl Freeze for SampleSpectrum
impl RefUnwindSafe for SampleSpectrum
impl Send for SampleSpectrum
impl Sync for SampleSpectrum
impl Unpin for SampleSpectrum
impl UnsafeUnpin for SampleSpectrum
impl UnwindSafe for SampleSpectrum
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