Skip to content

Fix bragg_angle method in Multilayer class to handle float or numpy array argin.

Antonia Beteva requested to merge mono_bragg_angle_fix into 1.9.x

bragg_angle argument energy is either a float (when moving) or numpy array (when starting a scan). The tests were only handling a float. Question - there are no such tests for the other type of monochromators - should there be any?

Merge request reports