-
GTI metadata information can now be stored in an XML file using the following syntax: <parameter name="GoodTimeIntervals" file="..."/> The read(GXmlElement) and write(GXmlElement) will deal with the writing of the metadata and the loading or saving of the GTIs into a FITS file.
-
Removed the optional extname argument from: - GEbounds - GEnergies - GGti - GNodeArray - GCTAPointing - GMWLObservation - GMWLSpectrum
-
…or the observation Python module. The classname() method returns in a human readable format the class name. This method is needed for full automatic typecasting in Python. Full automatic typecasting has for the moment been implemented for the observation module.
-
The coding and design conventions (CDC) document was also updated.
-
GTime The secs() method now returns a const reference. GTimeReference The load constructor and the read() and write() methods take a const reference instead of a pointer. GGti The read() and write() methods now use references instead of pointers. The clobber argument in the save() method is passed as const reference. GEbounds The read() and write() methods now use FITS references instead of pointers. The clobber argument in the save() method is passed as const reference. GPhoton Add mcid argument to Photon constructor (defaults to -1).
-
Add GChatter argument to print() method. The print() method now takes an argument of type GChatter to control the chattiness of the output in a homogenous manner. Pass NORMAL chatter level in __str__ method. Add chatter argument to print() methods. Use GLog::chatter() method to control the chattiness of the log stream operator. Add chatter() methods and provide member access through const references. Add chatter() methods, provide member access through const references, and declare one liners as inline methods. The chatter() methods control the new m_chatter attribute that is used to control the chattiness of the object's print() methods. name() and version() methods return const references. logFileOpen() method now sets the chattiness from the applications's chatter parameter, and name() and version() methods now return a const reference.
-
The container class method name pop() was changed to remove() to be complatible with the Python syntax for lists.
-
The add() method has been renamed to merge() to make clear that this method performs a merging of intervals. The Doxygen documentation has been improved, syntax errors have been corrected, and the language usage is more concise.
-
Use GContainer as the base class and implement all required methods.
-
The class has been adapted to the new GTime interface. In addition, it now stores the time reference that is used when reading and writing data from and to a FITS file. In that way, the original time reference system is preserved, while times are always stored in the native GammaLib time reference.
-
The ostream and GLog functions are not defined at the GBase level.