- Analytical detector response: gaussian, gaussian_tail, tikhonov models - Low-energy tail modeling for charge collection effects - Response matrix convolution via R^T · (Φ·ΔW) - Declarative API: create_detector_from_config(), convolve_detector() - BetaSpectrumAnalyzer.convolved_spectrum() for auto-convolution - Integration tests: TestBetaSpectrumIntegration, TestDeclarativeDetectorResponse - Documentation: docs/08-detector-response.md
38 lines
992 B
Python
38 lines
992 B
Python
# beta_spectrum/__init__.py
|
|
|
|
from .constants import ALPHA, HBAR_C_MEV_FM, ME_MEV, MP_MEV
|
|
from .utils import T_to_W, W_to_T, momentum
|
|
|
|
from .components.phase_space import PhaseSpace
|
|
from .components.fermi import FermiFunction
|
|
from .components.finite_size import FiniteSizeL0, ChargeDistributionU
|
|
from .components.screening import ScreeningCorrection
|
|
from .components.exchange import ExchangeCorrection
|
|
from .components.radiative import RadiativeCorrection
|
|
from .components.detector_response import DetectorResponse
|
|
|
|
from .spectrum import BetaSpectrum, SpectrumConfig, BetaSpectrumAnalyzer
|
|
|
|
__all__ = [
|
|
"ALPHA",
|
|
"HBAR_C_MEV_FM",
|
|
"ME_MEV",
|
|
"MP_MEV",
|
|
"T_to_W",
|
|
"W_to_T",
|
|
"momentum",
|
|
"PhaseSpace",
|
|
"FermiFunction",
|
|
"FiniteSizeL0",
|
|
"ChargeDistributionU",
|
|
"ScreeningCorrection",
|
|
"ExchangeCorrection",
|
|
"RadiativeCorrection",
|
|
"DetectorResponse",
|
|
"BetaSpectrum",
|
|
"SpectrumConfig",
|
|
"BetaSpectrumAnalyzer",
|
|
]
|
|
|
|
__version__ = "0.2.0"
|