-
The code in GEbounds now also reuses the functionalities of the GEnergies class, reducing thus the code duplication.
-
# 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).