findPixel checks for pixel index validity
The DetectorModel::findPixel
method checks for validity of pixel indices, using DetectorModel::isWithinPixelGrid
, and throws an exception if the pixel is outside of the pixel grid.
The DetectorModel::findPixel
method checks for validity of pixel indices, using DetectorModel::isWithinPixelGrid
, and throws an exception if the pixel is outside of the pixel grid.