lucabaldini / hexsample

Solid-state hybrid detectors with hexagonal sampling.
https://lucabaldini.github.io/hexsample/
GNU General Public License v3.0
2 stars 0 forks source link

Continuum spectrum #57

Open chiaratomaiuolo opened 1 month ago

chiaratomaiuolo commented 1 month ago

Added the possibility to generate a source with a continuum spectrum in [7,9] keV in source.py and added the option in hxsim.py as spectrum_type. If anything specified, the spectrum is the default lineforest. If the continuum spectrum is specified, the source element becomes redundant.