refactor: rename 'analyzer' to 'visualize' — analysis belongs to fitter module

This commit is contained in:
2026-05-17 01:33:13 +03:00
parent 10ad3a867b
commit 745bbae4cd
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ from .components.radiative import RadiativeCorrection
from .components.detector_response import DetectorResponse
from .spectrum import BetaSpectrum, SpectrumConfig, BranchConfig
from .analyzer import BetaSpectrumAnalyzer
from .visualize import BetaSpectrumAnalyzer
from .fitter import CurveFitter, FitConfig, FitResult
from .cw_extractor import CWExtractor, CWExtractionResult, GVAExtractionResult
from .nuclear_data import (
+1 -1
View File
@@ -199,7 +199,7 @@ def _run(args: argparse.Namespace) -> None:
BranchConfig,
SpectrumConfig,
)
from beta_spectrum.analyzer import BetaSpectrumAnalyzer
from beta_spectrum.visualize import BetaSpectrumAnalyzer
# Determine logging level
if args.quiet:
@@ -1,7 +1,7 @@
"""
Analyzer module — BetaSpectrumAnalyzer class.
Visualize module — BetaSpectrumAnalyzer class.
Introspection, analysis, and debugging tools for BetaSpectrum.
Visualization and plotting 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.
"""