sergiohcdna / ctadmtool

Analysis scripts for DM cluster searches
Other
1 stars 3 forks source link

`csdmatter` fails to remove models from observation container #14

Closed sergiohcdna closed 3 years ago

sergiohcdna commented 3 years ago

When fitting spectrum to a particular mass, csdmatter remove previous models to test only DM-matter signals with an IRF background

sergiohcdna commented 3 years ago

I added the following to _fit_mass_point method:

        if not obssim.models().is_empty():
            obssim.models().clear()