viperleed.calc.sections.fd_optimization

Section Full-dynamic Optimization.

Functions

apply_scaling(sl, rp, which, scale)

fd_optimization(sl, rp)

Runs multiple consecutive reference calculations and r-factor calculations optimizing a parameter, as defined by OPTIMIZE in PARAMETERS.

get_fd_r(sl, rp[, work_dir, home_dir])

Runs reference calculation and r-factor calculation, returns R.

Exceptions

FullDynamicCalculationError(message)

Base class for exceptions raised by the full dynamic calculation.

FullDynamicOptimizationOutOfBoundsError(message)

Raised when the optimization is out of bounds.