feat: polish CSV header format with improved metadata and column naming

This commit is contained in:
2026-07-03 14:58:19 +03:00
parent 876e1e3ab8
commit a7eef7bc20
7 changed files with 86 additions and 577 deletions
+4 -1
View File
@@ -15,6 +15,7 @@ from beta_spectrum.components.screening import ScreeningCorrection
from beta_spectrum.components.exchange import ExchangeCorrection
from beta_spectrum.components.radiative import RadiativeCorrection
from beta_spectrum.utils import T_to_W
from beta_spectrum.constants import ME_MEV
@dataclass
@@ -250,11 +251,13 @@ class BetaSpectrum:
W0 = float(T_to_W(config.endpoint_MeV))
if config.use_phase_space:
# Convert neutrino mass from MeV to natural units
m_nu_natural = config.neutrino_mass_MeV / ME_MEV
components.append(
PhaseSpace(
W0=W0,
transition_type=config.transition_type,
m_nu=config.neutrino_mass_MeV,
m_nu=m_nu_natural,
logger=logger,
)
)