Skip to content

Detectors: Always take the center of the bin as for the FlatDetector

Ammar Nejati requested to merge detectorCoords into develop

Both detectors, Flat and Cylindrical, consistently take the center of the bin as the pixel coordinate when converting from detector pixel coordinates to lab coordinates. The Jacobian is accordingly updated.

The verification of the internal logic of the Detector class is removed from computational methods and delegated to a separate method which is called when a parameter is set.

Fixes #258

Merge request reports