-
All global variables have been removed from the example scripts by introducing a main function with the same name as the file that is called from main. Consequently, all variables are local. This is to avoid any problems between global and local scope of variables.
-
The building of a cuve on the fly raised issue with memory going out of scope. This is fixed by making the CTA event cube a member of ctbin, and having the cube() method returning a reference to that member
-
All example scripts now use the cscripts.ioutils.get_args_options() function to get arguments and options.
-
According to a study by Stephan Fegan done in the context of Fermi/LAT analysis, the best way to determine a butterfly diagram is to draw the envelope of the error ellipse of the model parameters. I implemented this method now in ctbutterfly. I also changed the output file, having now two columns giving as function of energy th minimum and maximum intensities.
-
Conflicts: examples/show_butterfly.py
-
This command was run: autopep8 --select E101,W191 --in-place --recursive . It fixes only these two issues: - W191 indentation contains tabs - E101 indentation contains mixed spaces and tabs