mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 05:50:14 +01:00
fixed slsDeetctorcalibration - including interpolation for rectangular pixels
This commit is contained in:
@@ -366,12 +366,12 @@ int *getClusters(char *data, int *ph=NULL) {
|
||||
|
||||
|
||||
|
||||
if (cm)
|
||||
if (cm) {
|
||||
addToCommonMode(data);
|
||||
}
|
||||
|
||||
|
||||
for (int iy=ymin; iy<ymax; iy++) {
|
||||
for (int ix=xmin; ix<xmax; ix++) {
|
||||
for (int iy=ymin; iy<ymax; iy++) {
|
||||
for (int ix=xmin; ix<xmax; ix++) {
|
||||
if (det->isGood(ix,iy)) {
|
||||
max=0;
|
||||
tl=0;
|
||||
|
||||
Reference in New Issue
Block a user