pub struct TofInstrument {Show 15 fields
pub zero_us: f64,
pub difc_us_per_angstrom: f64,
pub difa_us_per_angstrom2: f64,
pub difb_us_angstrom: f64,
pub alpha_coefficient: f64,
pub beta0_per_us: f64,
pub beta1_angstrom4_per_us: f64,
pub betaq_angstrom2_per_us: f64,
pub sigma0_us2: f64,
pub sigma1_us2_per_angstrom2: f64,
pub sigma2_us2_per_angstrom4: f64,
pub sigmaq_us2_per_angstrom: f64,
pub x_us_per_angstrom: f64,
pub y_us_per_angstrom2: f64,
pub z_us: f64,
}Expand description
TOF calibration and d-dependent profile coefficients in public units.
Fields§
§zero_us: f64Additive time zero in microseconds.
difc_us_per_angstrom: f64Linear calibration coefficient in microseconds per ångström.
difa_us_per_angstrom2: f64Quadratic calibration coefficient in microseconds per ångström squared.
difb_us_angstrom: f64Reciprocal calibration coefficient in microsecond ångströms.
alpha_coefficient: f64Exponential-rise numerator; alpha = alpha_coefficient / d.
beta0_per_us: f64Constant exponential-decay rate term in inverse microseconds.
beta1_angstrom4_per_us: f64d^-4 exponential-decay coefficient.
betaq_angstrom2_per_us: f64d^-2 exponential-decay coefficient.
sigma0_us2: f64Constant Gaussian variance term in microseconds squared.
sigma1_us2_per_angstrom2: f64d^2 Gaussian variance coefficient.
sigma2_us2_per_angstrom4: f64d^4 Gaussian variance coefficient.
sigmaq_us2_per_angstrom: f64Linear-d Gaussian variance coefficient.
x_us_per_angstrom: f64Linear-d Lorentzian FWHM coefficient.
y_us_per_angstrom2: f64Quadratic-d Lorentzian FWHM coefficient.
z_us: f64Constant Lorentzian FWHM in microseconds.
Implementations§
Trait Implementations§
Source§impl Clone for TofInstrument
impl Clone for TofInstrument
Source§fn clone(&self) -> TofInstrument
fn clone(&self) -> TofInstrument
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for TofInstrument
Source§impl Debug for TofInstrument
impl Debug for TofInstrument
Source§impl PartialEq for TofInstrument
impl PartialEq for TofInstrument
impl StructuralPartialEq for TofInstrument
Auto Trait Implementations§
impl Freeze for TofInstrument
impl RefUnwindSafe for TofInstrument
impl Send for TofInstrument
impl Sync for TofInstrument
impl Unpin for TofInstrument
impl UnsafeUnpin for TofInstrument
impl UnwindSafe for TofInstrument
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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