NEWS 4.28 KB
New Features and Important Changes in ctools 1.2.0

6 August 2016


Introduction
------------
This document briefly summarizes the changes that have been made in this
ctools release with respect to the precedent release.


Configuration
-------------
The testing.py script has been modified so that cscripts that are executed
from the command line are included in the coverage reports (#1827).


Python interface
----------------
A pars() method has been added to the Python interface of all ctools and
cscripts that allows assigning parameters from a dictionary or retrieving
all parameters in a dictionary (#1838).


Support model
-------------
None


ctobssim - CTA observation simulation
-------------------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctselect - CTA event selection
------------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctbin - CTA event binning
-------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).

The save() method led to a segmentation violation in case it was applied on an
empty ctbin instance, and specifically in case that the instance contains an
empty observation container. This bug has been fixed (#1835).


ctlike - Maximum likelihood fitting
-----------------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


cttsmap - Generation of Test Statistic map
------------------------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctskymap - CTA sky mapping
--------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctmodel - CTA counts cube modelling
-----------------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctexpcube - CTA exposure cube generation
----------------------------------------
Set hidden "addbounds" parameter by default to "no" (#1819).

The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctpsfcube - CTA point spread function cube generation
-----------------------------------------------------
Set hidden "addbounds" parameter by default to "no" (#1819).

The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctedispcube - CTA energy dispersion cube generation
---------------------------------------------------
Set hidden "addbounds" parameter by default to "no" (#1819).

The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctbkgcube - CTA background cube generation
------------------------------------------
Set hidden "addbounds" parameter by default to "no" (#1819).

The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctmapcube - CTA map cube generation
-----------------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctcubemask - CTA cube filtering
-------------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctbutterfly - Generate butterfly diagrams
-----------------------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


ctulimit - Compute upper limit
------------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).

The tool now also supports spectral models with the new naming conventions, and
in particular the "PhotonFlux" and "EnergyFlux" names (#1832).


cterror - Likelihood profile error computation
----------------------------------------------
The clear() method now calls GApplication::clear() to conserve the properties
of the tool (#1835).


cscripts
--------
Added the support modules "modutils" and "ioutils" to the cscripts module
and removed the obsolete functions fit(), cterror(), cntmap() and modmap()
from the "obsutils" module (#1830).


Examples
--------
None


caldb
-----
None


models
------
None