dials.algorithms.spot_prediction

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.

predictor(index)[source]

Get the predictor for the given experiment index.

Parameters:index – The experiment index
Returns:The predictor