Skip to content

Spatial resolution calculated for a specific pixel

This MR adds the option to calculate the spatial resolution of a detector for a specific pixel.

The Detector member function getSpatialResolution() now optionally takes column and row indices. For detectors with variable pixel sizes this allows the cluster errors to be calculated properly based on the size of pixels which form the cluster. For standard pixel detectors with a unified pixel size the column and row indices are disregarded if they are passed to the getSpatialResolution() member function.

(cc !525 (merged))

Merge request reports