-
released this
2026-09-20 15:27:48 +03:00 | 0 commits to main since this releaseVerified on hardware against real thorium mantle and uranium ore sources, plus offline replay harness.
Isotope Identification Fixes
- Low-Energy Fit Region: Lowered template fit cutoff to 45 keV (
FIT_MIN_KEV = 45.0f). Restores detection for Am-241 (59.5 keV), Co-57 (122.1 keV), Tc-99m (140.5 keV), and Th-234 (63/92 keV), eliminating previous Am-241 misidentification as Uranium Ore. - Candidate Ranking Inversion: Replaced separated chain/standalone candidate slots with an integrated candidate pool sorted by significance (
\sigma) descending. Strong artificial sources (such as Cs-137 or I-131) are no longer demoted below weak background chain members. - Bi-212 Double Branch Factor: Corrected
chainBranch("Bi-212")to 1.0f, eliminating double multiplication that suppressed Tl-208 and Po-212 template amplitudes by 36%. - Ambient Radon Recovery: Allowed slow upward adaptation for natural indoor radon levels (1–3%), preventing permanent outdoor-to-indoor false positive lockup.
- Dynamic Template Invalidation:
Templates::invalidate()is now called whenever backgrounds are recorded, loaded from SD, toggled, or erased, preventing stale background matrices.
Display & Storage Improvements
- Screen 4 Advice: Elapsed time and progress bars now use the active measurement window duration instead of cumulative device connection time.
- Screen 5 Multi-Line Gold Highlight: All emission lines matching any peak found in the spectrum are highlighted in gold.
- SD Export Counts: Export headers now sum actual spectrum channel counts rather than analysis window total counts.
Verified on Hardware
- Thorium Gas Mantle: 21.3 sigma, 37% spectrum fraction, identified as THORIUM with zero Uranium cross-talk.
- Uranium Ore: 26.0 sigma, 26% spectrum fraction, identified as URANIUM in 6 seconds.
- Bidirectional Window Step: Instantaneous cleanup of stale counts when swapping sources.
Downloads
- Low-Energy Fit Region: Lowered template fit cutoff to 45 keV (