-
The renaming clarifies the meaning of the method.
-
Added dedicated method to update the new keynote map whenever an element is erased, inserted, or appended to 'm_cards'. This is necessary since the memory addresses in the vector could be changed by any of these operations. Updated "GFitsHeader::get_index(const std::string& keyname)" to use the new map object removing the need to loop through every entry until the desired keyname is found.
-
This replaces two arguments: - naxis: the dimension of the image - naxes: a pointer to an array containing the number of pixels for each dimension
-
… methods from GTools.
-
… Now the following works again: obs=gammalib.GCTAObservation() obs.load("events.fits[EVENTS][ENERGY>1.0]")
-
…ry when calling the save() method. To assure this, the save() method now deletes all HDUs on disk before it saves the HDUs in memory.
-
The saveto() method now also checks whether a file with the .gz suffix exists.
-
The coding and design conventions (CDC) document was also updated.
-
Delete statements have been added to the remove() method(s) so that the elements are properly deleted before the pointers are erased.
-
Although GFitsTable does not derived from GContainer, it is basically a container class for FITS columns. Therefore, the check for existence of an element should be done using the contains() method.
-
…" warnings to console). The FITS header card implementation was improved to handle empty header cards and cards with undefined (or NULL) values.
-
GFitsAsciiTable GFitsBinTable The table constructors now take a const reference as argument. GFitsImage All constructors and methods now take const references as arguments. The size(), bitpix(), naxis() and anynul() methods return const references, nulval() returns a const pointer. GFitsImageByte GFitsImageDouble GFitsImageFloat GFitsImageLong GFitsImageLongLong GFitsImageSByte GFitsImageShort GFitsImageULong GFitsImageUShort All constructors now take const references as arguments.