fixed bug for 1D detector in slsDetectorData

This commit is contained in:
2017-11-15 14:39:35 +01:00
parent 06b9efd229
commit 7f256c868b

View File

@ -119,7 +119,7 @@ class slsDetectorData {
}
for (iy=0; iy<ny; iy++){
for (ix=0; ix<nx; ix++) {
ip=dataMap[ix][iy]/sizeof(dataType);
ip=dataMap[iy][ix]/sizeof(dataType);
xmap[ip]=ix;
ymap[ip]=iy;
}