Closed sergiohcdna closed 3 years ago
Checking documentation from http://cta.irap.omp.eu/ctools-devel/users/tutorials/howto/howto_model_handling_python.html
First I change the methods in classes dm_spectral, dm_pointsource y dm_extended to call for GModelSpectralFunc, GModelSpatialPointSource and GModelSpatialDiffuseMap
I added just some checks when freeing parameters or request calculation of TS
Update the notebooks and the csdmatter script to include the changes in the createmodels classes
Avoid to use GXmlElement when creating spectral and spatial models.