-
# Conflicts: # ChangeLog # NEWS
-
Time setting and getting methods for Julian Days, Modified Julian Days, native seconds and native days are now available that allow specifying the time system. Currently, TT, TAI and UTC are supported. Methods have also been added that return the Greenwich mean and apparent siderial times, and the local mean and apparent siderial times that depend on the geographic longitude. Finally, a now() method has been added that sets the time to the current time.
-
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.
-
…ts for GEbounds::contains() methods.
-
Added a logger() method that allows setting the logger for an optimizer (and that also allows to set the NULL pointer)
-
The convert() and set() methods now support time references given in the UTC time system. Using convert() one can now extract for example MJD in the UTC time system. All this needs still to be documented.
-
Following the recent bug discovery in the operator-= I added a bunch of unit tests to make sure that the GEnergy class is indeed doing what it is expected to do.
-
The coding and design conventions (CDC) document was also updated.
-
The events() set method now takes a const reference instead of a const pointer as argument. Some methods have now been defined inline.
-
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).
-
GTestSuites The GTestSuites class now derives from GContainer and implements the usual container class methods (at(), size(), isempty(), set(), append(), insert(), remove(), reserve() and extend()). The operator[] now returns pointers to GTestSuite. The name() and timestamp() methods now return const references. GTestSuite The GTestSuite class now derives from GBase. This implies that the clone() method needs to be implemented for derived classes. The test_assert() method now takes a const reference for the boolean argument. The name(), errors(), failures(), and timestamp() methods return const references. The obsolete add_test() method has been removed. The unit tests have been updated to conform to the new interfaces.
-
The load constructor creates an instance of the GEnergies class by loading the energy information from a FITS file.
-
Added the methods load(), save(), read() and write() to enable saving and loading of energies into a FITS file.
-
The GEnergies container class holds objects of type GEnergy.