Update data structures and eta functions for JF strixels

This commit is contained in:
2023-03-17 15:33:01 +01:00
parent 339cb925c7
commit 943a85cbd5
7 changed files with 1331 additions and 39 deletions

View File

@ -217,6 +217,7 @@ void slsDetectorData<dataType>::setDataMap(int **dMap) {
}
}
}
/* //commented this part because it causes out-of-bound issues if nx or ny are larger than dataMap bounds (single-chip readout of strixel with groups of different pitches) VH 2023-02-24
for (iy = 0; iy < ny; iy++) {
for (ix = 0; ix < nx; ix++) {
ip = dataMap[iy][ix] / sizeof(dataType);
@ -224,7 +225,7 @@ void slsDetectorData<dataType>::setDataMap(int **dMap) {
ymap[ip] = iy;
}
}
*/
// cout << "nx:" <<nx << " ny:" << ny << endl;
}