skbeam.core.cdi.cal_diff_error

skbeam.core.cdi.cal_diff_error(sample_obj, diffracted_pattern)

Calculate the error in q space.

Parameters
sample_objarray

sample data

diffracted_patternarray

diffraction pattern from experiments

Returns
float :

relative error in q space