-
# Conflicts: # NEWS
-
# Conflicts: # ChangeLog # NEWS
-
1
-
# Conflicts: # src/cttsmap/cttsmap.cpp
-
The outcome of the unit tests depends on the presence of the CTOOLS environment variable. If the CTOOLS environment variable is not present the unit test should fail, otherwise it sould succeed.
-
So far any exception occuring during the construction of the ctools were not catched. This is corrected now.
-
The void constructors from ctools base classes are never used, tools are always constructed with a name and version number.
-
The ctool::get_roi() replaces some duplicated code in ctselect and ctcubemask. The method extracts the RoI from the user parameters "ra", "dec" and "rad". In case the "usepnt" parameter is present and set to "yes", the "ra" and "dec" parameters will not be read, and it's up to the client to set the RoI centre properly.
-
The ctobservation::first_unbinned_observation() and ctobservation::next_unbinned_observation() methods implement an unbinned CTA observation iterator. Using this iterator avoids code duplication and generates a uniform interface for tools to loop over CTA events lists.