Skip to main content

estimate_initial_phase_scales

Function estimate_initial_phase_scales 

Source
pub fn estimate_initial_phase_scales(
    input: &RietveldInput,
    options: &RietveldCalculationOptions,
) -> Result<PhaseScaleEstimationResult, PhaseScaleEstimationError>
Expand description

Estimate and install deterministic weighted non-negative phase scales.

ยงErrors

Returns PhaseScaleEstimationError when observations are absent, the mask excludes every sample, native profile evaluation fails, or an active least-squares subproblem cannot be solved deterministically.