pub struct CwProfileParameters {
pub gaussian_variance_deg2: f64,
pub gaussian_fwhm_deg: f64,
pub lorentzian_fwhm_deg: f64,
pub tch: TchShape,
pub d_gaussian_fwhm_d_instrument: [f64; 5],
pub d_lorentzian_fwhm_d_instrument: [f64; 5],
pub d_gaussian_fwhm_d_two_theta: f64,
pub d_lorentzian_fwhm_d_two_theta: f64,
}Expand description
Derived component widths, TCH shape, and width derivatives for one reflection.
Fields§
§gaussian_variance_deg2: f64Gaussian variance in degrees squared.
gaussian_fwhm_deg: f64Gaussian component FWHM in degrees.
lorentzian_fwhm_deg: f64Lorentzian component FWHM in degrees.
tch: TchShapeTransformed TCH total width, eta, and derivatives.
d_gaussian_fwhm_d_instrument: [f64; 5]Gaussian-FWHM derivatives in (U, V, W, X, Y) order.
d_lorentzian_fwhm_d_instrument: [f64; 5]Lorentzian-FWHM derivatives in (U, V, W, X, Y) order.
d_gaussian_fwhm_d_two_theta: f64Gaussian-FWHM derivative with respect to reflection two_theta in degrees.
d_lorentzian_fwhm_d_two_theta: f64Lorentzian-FWHM derivative with respect to reflection two_theta in degrees.
Implementations§
Source§impl CwProfileParameters
impl CwProfileParameters
Sourcepub fn from_instrument(
two_theta_deg: f64,
instrument: ConstantWavelengthInstrument,
) -> Result<Self, CwError>
pub fn from_instrument( two_theta_deg: f64, instrument: ConstantWavelengthInstrument, ) -> Result<Self, CwError>
Trait Implementations§
Source§impl Clone for CwProfileParameters
impl Clone for CwProfileParameters
Source§fn clone(&self) -> CwProfileParameters
fn clone(&self) -> CwProfileParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CwProfileParameters
Source§impl Debug for CwProfileParameters
impl Debug for CwProfileParameters
Source§impl PartialEq for CwProfileParameters
impl PartialEq for CwProfileParameters
impl StructuralPartialEq for CwProfileParameters
Auto Trait Implementations§
impl Freeze for CwProfileParameters
impl RefUnwindSafe for CwProfileParameters
impl Send for CwProfileParameters
impl Sync for CwProfileParameters
impl Unpin for CwProfileParameters
impl UnsafeUnpin for CwProfileParameters
impl UnwindSafe for CwProfileParameters
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
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> ⓘ
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