-
The file existence checking is not to be done in GUrlFile as this class may create a new file. The check needs to be done in GXml.
-
The handles the case that a directory with specified name exists as fopen() will not give an error when opening a directory.
-
The introduction of a timeout should avoid locking up the process.
-
…tors. This is needed for GCsv to work properly.
-
… "xml_has_par" function and made reading of information in observation definition file optional (so that for example energies or ROI can be missing).
-
The bilinear interpolator class holds indices and weights for bilinear interpolation. It has an interpolation operator that operates on a linear array of double precision values.
-
The original powerlaw integration functions were prone to overflows for large gammas as the function computed the pow(energy, -gamma), where -gamma can be a large positive number.
-
The XML module now handles predefined entities. Special characters, such as " will now be transformed into their predefined entities, e.g. ", when writing the XML file. Upon reading, predefined entities will be converted into special chacaters, so that the user always deals with a human readable string.
-
A constructor has been added to create a table with a specific number of rows and columns. This constructor can be used for table creation. Set methods string(), real() and integer() have been added to set the table cells to specific values. A save() method has been implemented that will save the CSV table into an ASCII file.
-
…est in operator[] access.
-
GCTAObservation does no longer contain any response specific code.
-
Conflicts: inst/cta/Makefile.am inst/cta/include/GCTALib.hpp inst/cta/pyext/cta.i Some of the newly introduced methods have been renamed to fit more the GammaLib standards. The GCTAEdispRMF class needs quite some rework, but I merge it in right now to have a working reference of the code. Some initial code modifications have been done, more to come soon.
-
…s and sample_cdf_GVector GVectors
-
The precision parameter allows setting the number of digits after the comma.
-
Conflicts: inst/cta/include/GCTAResponse.hpp inst/cta/src/GCTAResponse.cpp
-
The methods in GRan should be as simple as possible, and for drawing normal random numbers no arguments are needed as the values can be scaled later. The arguments have thus been removed.
-
The gammalib::filepath combines a path name and a file name into a string. If the path name is empty, the file name is returned.