• The GFits class now derives from GContainer and implements all generic container class methods (at(), size(), isempty(), set(), append(), insert(), remove(), reserve(), extend()). The hashdu() method has been renamed to contains() for compliance with other container classes. The hdu() methods have been renamed to at(), also for compliance. Boolean arguments are now passed as const references, and members are returned as const references. HDU access operators[] have been implemented to access FITS extensions without range checking.
    Jürgen Knödlseder authored
     
    Browse Dir »
  • 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.
    Jürgen Knödlseder authored
     
    Browse Dir »

  • The GSkyPixel class now handles 1D and 2D sky indices. This made the distinctive 1D and 2D methods in GSkyProjection and the derived classes obsolete. Now, all projection classes take GSkyPixel as argument.
    
    The GSkymap class now uses the universal GSkyPixel class. Methods have been renamed consistently. An integer index is now consistently called "sky map index" and the GSkyPixel object is named a "sky map pixel". Methods operating on indices contain now "inx", method operating on sky map pixels "pix".
    Jürgen Knödlseder authored
     
    Browse Dir »


  • The old scheme with the deadtime correction in the base class led to some irf/npred methods having deadtime correction and others without correction. This definitely was a source of confusion and potential errors. Now, deadtime corrections have to be done at the instrument level, enhancing clarity of the interfaces and flexibility, at the expense of some burden on the instrument specific response class implementation that now has to take care of the proper handling of deadtime.
    Jürgen Knödlseder authored
     
    Browse Dir »









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