Closed CPrescher closed 4 years ago
I'll have a look. Those dx
and dy
are for the displacements provided by Dectris for their Pilatus detectors, but I know nobody using them, so I am not really surprised that there is a bug hidden there.
They should be internally converted into the coordinated of the corners of pixels and this array should be used later on.
The bug you are facing is apparently related to as short-cut for calibration where this is not handled properly.
hi,
when I try to set dx and dy for a detector with arrays of the same size as the image, a ValueError is risen in the calc_cartesian_positions function:
Example code which reproduces the error: