Files
beta_shape_pnpi/beta_spectrum/__init__.py
T
unzhakov 2788ea0683 feat(cli): separate-branches rename, short aliases, clean dry-run
- --normalize-to-one renamed to --separate-branches (no alias; the
  name now describes the output choice: total spectrum with
  intensity-normalized branches vs separate branches, each
  normalized to unit area with intensities left to the data user).
  SpectrumConfig.normalize_to_one -> separate_branches, CSV header
  word to_one -> separate.
- every long option gains a single-letter alias: -N -i -s -m -o -p
  -L -d -c -V -S -b (only -v/-q existed before)
- dry-run drops the top-level Transition: line — the per-branch
  list below already reports each branch's transition type
- version bumped to 0.4.1 (pyproject, __version__, CSV semantics
  docstring, TODO roadmap entry)
2026-10-03 01:08:51 +03:00

56 lines
1.4 KiB
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 .spectrum import BetaSpectrum, SpectrumConfig, BranchConfig
from .output import BetaSpectrumAnalyzer
from .nuclear_data import (
DecayInfo,
BranchInfo,
get_decay_info_from_paceENSDF,
decay_info_to_config,
create_config_from_source,
load_json_input,
json_to_config,
DEFAULT_JSON_SCHEMA,
)
__all__ = [
"ALPHA",
"HBAR_C_MEV_FM",
"ME_MEV",
"MP_MEV",
"T_to_W",
"W_to_T",
"momentum",
"PhaseSpace",
"FermiFunction",
"FiniteSizeL0",
"ChargeDistributionU",
"ScreeningCorrection",
"ExchangeCorrection",
"RadiativeCorrection",
"BetaSpectrum",
"SpectrumConfig",
"BetaSpectrumAnalyzer",
"BranchConfig",
"DecayInfo",
"BranchInfo",
"get_decay_info_from_paceENSDF",
"decay_info_to_config",
"create_config_from_source",
"load_json_input",
"json_to_config",
"DEFAULT_JSON_SCHEMA",
]
__version__ = "0.4.1"