When config.branches carries exactly one branch (e.g. after --intensity-cutoff filtering), the branch endpoint/transition define the spectrum, energy grid, analyzer unified branch view and CSV header. The stale top-level endpoint inherited from the parent decay no longer leaks into physics (proven wrong on Cs137: spectrum extended to 1176 keV while the lone survivor ends at 514 keV).
21 lines
565 B
Python
21 lines
565 B
Python
"""
|
|
Output module — BetaSpectrumAnalyzer class and related functionality.
|
|
|
|
Introspection, analysis, visualization and export tools for BetaSpectrum.
|
|
All nuclides (single- and multi-branch) are treated uniformly as one or more
|
|
branches — single-branch is just a special case with one branch.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .core import BetaSpectrumAnalyzer, _UnifiedBranch
|
|
from .csv_export import CSVEmitter
|
|
from .visualization import Visualizer
|
|
|
|
__all__ = [
|
|
"BetaSpectrumAnalyzer",
|
|
"CSVEmitter",
|
|
"Visualizer",
|
|
"_UnifiedBranch",
|
|
]
|