mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
fixed bug for 1D detector in slsDetectorData
This commit is contained in:
@ -119,7 +119,7 @@ class slsDetectorData {
|
|||||||
}
|
}
|
||||||
for (iy=0; iy<ny; iy++){
|
for (iy=0; iy<ny; iy++){
|
||||||
for (ix=0; ix<nx; ix++) {
|
for (ix=0; ix<nx; ix++) {
|
||||||
ip=dataMap[ix][iy]/sizeof(dataType);
|
ip=dataMap[iy][ix]/sizeof(dataType);
|
||||||
xmap[ip]=ix;
|
xmap[ip]=ix;
|
||||||
ymap[ip]=iy;
|
ymap[ip]=iy;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user