mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-19 11:18:42 +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 (value < max)
|
||||
continue; // Not max go to the next pixel
|
||||
// but also no pedestal update
|
||||
} else if (total > c3 * m_nSigma * rms) {
|
||||
// if ((max > m_nSigma * rms)) {
|
||||
// if (value < max)
|
||||
// continue; // Not max go to the next pixel
|
||||
// // but also no pedestal update
|
||||
// } else
|
||||
if (total > c3 * m_nSigma * rms) {
|
||||
// pass
|
||||
} else {
|
||||
// m_pedestal.push(iy, ix, frame(iy, ix)); // Safe option
|
||||
|
||||
Reference in New Issue
Block a user