pub fn estimate_effective_profile(
input: &ProfileEstimationInput,
options: &ProfileEstimationOptions,
) -> Result<ProfileEstimationResult, ProfileEstimationError>Expand description
Estimate an effective CW starting profile from one dominant phase.
Wavelength is immutable by construction: no wavelength parameter is added to any stage, and the final bit pattern is checked against the input. The result is deliberately called effective because crystallite size, microstrain, pressure gradients, and other sample broadening can be folded into the fitted coefficients.
ยงErrors
Returns ProfileEstimationError for invalid controls, an unavailable
lattice-alignment domain, or a failed Le Bail stage.