• The GFits class allows for flexible HDU manipulation using the container methods set(), append(), insert(), remove() and extend(). So far the code was unable to save correctly a manipulated FITS file. This has now been corrected for. If for a given extension number the type of a HDU has changed during manipulations (e.g. an image has become a table or vice versa), the old HDU is deleted and a new HDU is inserted in place. Also, exedent HDUs that are not present anymore in the GFits object will be removed from the FITS file upon saving.
    Jürgen Knödlseder authored
     
    Browse File »
  • Jürgen Knödlseder authored
     
    Browse File »
  • 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 File »