mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
Update data structures and eta functions for JF strixels
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user