Skip to main content

build_lebail_parameter_set

Function build_lebail_parameter_set 

Source
pub fn build_lebail_parameter_set(
    instrument: ConstantWavelengthInstrument,
    phases: &[LeBailPhase],
    instrument_parameters: &[&str],
    phase_scales: bool,
    reflection_positions: bool,
) -> Result<ParameterSet, LeBailError>
Expand description

Build bounded typed specifications for selected fixed-geometry parameters.

ยงErrors

Returns LeBailError for unsupported names or invalid phase state.