ess.reflectometry.tools.scale_reflectivity_curves_to_overlap#
- ess.reflectometry.tools.scale_reflectivity_curves_to_overlap(curves, return_scaling_factors=False)[source]#
Make the curves overlap by scaling all except the first by a factor. The scaling factors are determined by a maximum likelihood estimate (assuming the errors are normal distributed).
All curves must be have the same unit for data and the Q-coordinate.