Implemented all planned corrections: - finite-size e/m L0 and U - atomic screening and exchange - radiative (electron only so far) Added plotter and csv_export
252 KiB
252 KiB
In [1]:
from beta_spectrum.spectrum import SpectrumConfig, BetaSpectrum, BetaSpectrumAnalyzerIn [2]:
# Tc-99
config = SpectrumConfig(
Z_parent=43,
Z_daughter=44,
A_number=99,
endpoint_MeV=0.2935,
e_step_MeV=0.0001, # 100 eV
# use_exchange=False,
)In [3]:
spectrum = BetaSpectrum.from_config(config)
analyzer = BetaSpectrumAnalyzer(spectrum, config)In [4]:
analyzer.plot_analysis(save_path='tc99_plots.png')Figure saved to tc99_plots.png
In [5]:
analyzer.export_to_csv('tc99_spectrum.csv')Spectrum exported to tc99_spectrum.csv