pub struct ProfileEstimationOptions {
pub mode: ProfileEstimationMode,
pub align_lattice: bool,
pub minimum_relative_rwp_improvement: f64,
pub minimum_absolute_rwp_improvement: f64,
pub maximum_absolute_correlation: f64,
pub lebail: LeBailOptions,
}Expand description
Deterministic controls for staged effective-profile estimation.
Fields§
§mode: ProfileEstimationModeRequested model-selection behavior.
align_lattice: boolAlign a bounded dynamic phase cell before fitting widths.
minimum_relative_rwp_improvement: f64Minimum fractional Rwp decrease required by an automatic complexity increase.
minimum_absolute_rwp_improvement: f64Minimum absolute Rwp decrease required by an automatic complexity increase.
maximum_absolute_correlation: f64Largest permitted absolute covariance correlation for an automatic candidate.
lebail: LeBailOptionsUnderlying independent-intensity extraction and profile-solver controls.
Implementations§
Source§impl ProfileEstimationOptions
impl ProfileEstimationOptions
Sourcepub fn new(
mode: ProfileEstimationMode,
align_lattice: bool,
minimum_relative_rwp_improvement: f64,
minimum_absolute_rwp_improvement: f64,
maximum_absolute_correlation: f64,
lebail: LeBailOptions,
) -> Result<Self, ProfileEstimationError>
pub fn new( mode: ProfileEstimationMode, align_lattice: bool, minimum_relative_rwp_improvement: f64, minimum_absolute_rwp_improvement: f64, maximum_absolute_correlation: f64, lebail: LeBailOptions, ) -> Result<Self, ProfileEstimationError>
Construct and validate explicit estimation controls.
§Errors
Returns ProfileEstimationError::InvalidOptions for invalid thresholds.
Sourcepub fn scripting_defaults(
execution: ExecutionPolicy,
) -> Result<Self, ProfileEstimationError>
pub fn scripting_defaults( execution: ExecutionPolicy, ) -> Result<Self, ProfileEstimationError>
Conservative scripting defaults with an explicit native execution policy.
Automatic candidates must lower Rwp by at least 0.2% relative and
1e-5 absolute, and keep every pairwise absolute covariance
correlation at or below 0.98.
§Errors
Returns ProfileEstimationError if the underlying controls are invalid.
Trait Implementations§
Source§impl Clone for ProfileEstimationOptions
impl Clone for ProfileEstimationOptions
Source§fn clone(&self) -> ProfileEstimationOptions
fn clone(&self) -> ProfileEstimationOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProfileEstimationOptions
impl Debug for ProfileEstimationOptions
Source§impl PartialEq for ProfileEstimationOptions
impl PartialEq for ProfileEstimationOptions
impl StructuralPartialEq for ProfileEstimationOptions
Auto Trait Implementations§
impl !RefUnwindSafe for ProfileEstimationOptions
impl !UnwindSafe for ProfileEstimationOptions
impl Freeze for ProfileEstimationOptions
impl Send for ProfileEstimationOptions
impl Sync for ProfileEstimationOptions
impl Unpin for ProfileEstimationOptions
impl UnsafeUnpin for ProfileEstimationOptions
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.