mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-15 22:09:21 +01:00
multithreading fixed for gain map, common mode and ghosting
This commit is contained in:
@@ -41,6 +41,7 @@ template <class dataType> class ghostSummation {
|
||||
for (int ix=0; ix<nx; ix++)
|
||||
ghost[iy*nx+ix]=calcGhost(data, ix, iy);
|
||||
}
|
||||
|
||||
virtual double getGhost(int ix, int iy) {
|
||||
if (ix<0 || ix>=nx || iy<0 || iy>=ny) return 0;
|
||||
return ghost[iy*nx+ix];
|
||||
|
||||
Reference in New Issue
Block a user