- Use find_peaks width=(5,50) to reject noise bumps - Simplify peak matching: find two strongest peaks with largest channel separation, assign min/max known energies - Require absolute threshold of 400 counts to avoid noise peaks - Calibration now correctly maps: ch 97→13.0 keV, ch 537→59.54 keV - Tc-99 endpoint at ch 2750 → 293.6 keV (expected ~294) - Add .rpiv/ to .gitignore
50 KiB
50 KiB