pub struct SpectrumSpec {
pub energies: Vec<f64>,
pub resonance_data: Vec<ResonanceData>,
pub densities: Densities,
pub temperature_index: Option<usize>,
pub temperature_k: f64,
}Expand description
One spectrum in a joint fit: its grid, what is in the beam, and how its free parameters are read out of the shared vector.
Fields§
§energies: Vec<f64>Energy grid (eV), ascending.
resonance_data: Vec<ResonanceData>One entry per isotope in the beam.
densities: DensitiesAreal densities, fitted or known.
temperature_index: Option<usize>params[temperature_index] is the temperature, else temperature_k.
temperature_k: f64Temperature (K) when it is not fitted.
Auto Trait Implementations§
impl Freeze for SpectrumSpec
impl RefUnwindSafe for SpectrumSpec
impl Send for SpectrumSpec
impl Sync for SpectrumSpec
impl Unpin for SpectrumSpec
impl UnsafeUnpin for SpectrumSpec
impl UnwindSafe for SpectrumSpec
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