• 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).
    Jürgen Knödlseder authored
     
    Browse File »


  • The reference() method returns the native GammaLib time reference().
    Jürgen Knödlseder authored
     
    Browse File »
  • The GTime class now represents the time in a GammaLib native time reference. The reference is no longer stored as a class member.
    
    Conversion methods have been added to convert the time into any possible reference system. The time reference systems is represented by the new class GTimeReference.
    
    The met() method has been removed, and replaced by the secs() method which returns the time in the native format in units of seconds. This is the way how GTime stores the time. An additional method days() gives the time in the same reference in units of days.
    Jürgen Knödlseder authored
     
    Browse File »