This documentation page refers to a previous release of DIALS (2.2).
Click here to go to the corresponding page for the latest version of DIALS


class dials.algorithms.spot_prediction.reflection_predictor.ReflectionPredictor(experiment, dmin=None, dmax=None, margin=1, force_static=False, padding=0)[source]

Bases: object

A reflection predictor that takes a number of experiments and does the proper prediction for each type of experiment.


Get the predictor for the given experiment index.

Parameters:index – The experiment index
Returns:The predictor