mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-19 20:48:40 +01:00
Removed check on center pixel (Allows negative clusters). We'll see how it pans out.
This commit is contained in:
@@ -125,11 +125,12 @@ class ClusterFinder {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((max > m_nSigma * rms)) {
|
// if ((max > m_nSigma * rms)) {
|
||||||
if (value < max)
|
// if (value < max)
|
||||||
continue; // Not max go to the next pixel
|
// continue; // Not max go to the next pixel
|
||||||
// but also no pedestal update
|
// // but also no pedestal update
|
||||||
} else if (total > c3 * m_nSigma * rms) {
|
// } else
|
||||||
|
if (total > c3 * m_nSigma * rms) {
|
||||||
// pass
|
// pass
|
||||||
} else {
|
} else {
|
||||||
// m_pedestal.push(iy, ix, frame(iy, ix)); // Safe option
|
// m_pedestal.push(iy, ix, frame(iy, ix)); // Safe option
|
||||||
|
|||||||
Reference in New Issue
Block a user