opengate
opengate copied to clipboard
Source energy spectrum (#378)
Replace spectrum_lines source energy type by the three cases that existed in GATE 9, under spectrum.
Adds spectrum_type field with three possible values:
-
discrete(oldspectrum_lines); -
histogram; -
interpolated. See GATE 9 documentation for now (GATE 10 documentation in progress).
Associated test: test010_generic_source_energy_spectrum.py.