Logo white

Alexander Ziegler / gammalib

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 5,999
  • Compare
  • Branches 19
  • Tags 30
  • gammalib
18 Feb, 2013
2 commits
  • Add blank line. ...
    ad080152
    I added a blank line to enhance visibility.
    Laurent Bouchet authored
    2013-02-18 16:38:06 +0100  
    Browse Code »
  • Removed blanks
    8066be58
    Laurent Bouchet authored
    2013-02-18 16:06:53 +0100  
    Browse Code »

06 Feb, 2013
4 commits
  • Add template files for instrument modules. ...
    b1e3ad07
    The template files have been created by copying the initial SPI interface and by replacing "SPI" by "XXX".
    Jürgen Knödlseder authored
    2013-02-06 22:03:56 +0100  
    Browse Code »
  • Update class documentation. ...
    e1aca9cd
    All files have been screened to clean up the documentation so that the actual files may serve as template for further instrument implementations.
    Jürgen Knödlseder authored
    2013-02-06 21:37:39 +0100  
    Browse Code »
  • Ignore also SPI unit test.
    7d110f80
    Jürgen Knödlseder authored
    2013-02-06 21:20:47 +0100  
    Browse Code »
  • Introduce files for SPI interface implementation. ...
    7235bf33
    All files needed for SPI interface implementation have been created by copying the existing COMPTEL interface and by making the relevant modifications. TODOs have been added at the relevant sections of the code to signal the code that needs to be implemented. A dummy unit test has been created by cloning the relevant C++ and Python tests from the COMPTEL interface. The code compiles and all unit tests pass successfully. This essentially closes action #744.
    Jürgen Knödlseder authored
    2013-02-06 21:19:46 +0100  
    Browse Code »

05 Feb, 2013
5 commits
  • Add instrument dependent model scaling to Npred method.
    40e9638b
    Jürgen Knödlseder authored
    2013-02-05 20:35:50 +0100  
    Browse Code »
  • Add tests for GModelPar and handling of instrument specific scale factors.
    45469c2a
    Jürgen Knödlseder authored
    2013-02-05 17:12:38 +0100  
    Browse Code »
  • Implement handling of instrument specific scale factors. ...
    269acd35
    The read() and write() methods now handle the reading and writing of instrument specific model scale factors. The spatial() method uses the scale factors to scale the IRF accordingly, if required.
    Jürgen Knödlseder authored
    2013-02-05 17:12:08 +0100  
    Browse Code »
  • Add support for instrument specific model scale factors. ...
    d61e970c
    A vector of GModelPar objects has been added to the GModel class that can hold instrument specific model scaling factors. The name of each parameter specifies the instrument, which will be converted automatically in upper case.
    
    The scale factors can be set and accessed using the scale() methods. If the scale method is called for an instrument for which no instrument specific scale factor has been defined, unity is returned (hence the model will not be scaled).
    
    The class now provides the protected methods read_scales() and write_scales() for reading and writing of scale factors from and to a XML file. The scale factors are written to an optional <scaling> tag, which contains a list of tags of type <instrument ... />. These methods are used by the GModelSky class for reading and writing the scale factors.
    Jürgen Knödlseder authored
    2013-02-05 17:09:53 +0100  
    Browse Code »
  • Add model parameter constructor. ...
    704e1c7e
    The model parameter constructor allows allocating of a GModelPar object using a parameter name, a parameter value and an optional parameter scaling factor. This allows for one-line allocation of a GModelPar object.
    Jürgen Knödlseder authored
    2013-02-05 16:12:46 +0100  
    Browse Code »

31 Jan, 2013
2 commits
  • Increment version number to 00-08-00.
    0735dbac
    Jürgen Knödlseder authored
    2013-01-31 16:32:39 +0100  
    Browse Code »
  • Add m_norm formula to documentation of eval() method.
    3b5a617d
    Jürgen Knödlseder authored
    2013-01-31 16:28:35 +0100  
    Browse Code »

30 Jan, 2013
1 commit
  • Fix formula in GModelRadialDisk::eval() doxygen documentation ...
    42a87fff
    Also added a clarifying comment to GModelRadialDisk::update().
    No code change.
    Christoph Deil authored
    2013-01-30 20:58:48 +0100  
    Browse Code »

14 Jan, 2013
1 commit
  • Change back datarootdir to datadir. ...
    bc3c5e5e
    Fixes Bug #694.
    Jürgen Knödlseder authored
    2013-01-14 11:36:24 +0100  
    Browse Code »

12 Jan, 2013
1 commit
  • Correct energy cut-off minimum value. ...
    12a46e54
    As result of a copy-paste error, the normalization minimum has been set to 0.1 while the minimum value of the energy cut-off has not been set.
    Jürgen Knödlseder authored
    2013-01-12 14:47:57 +0100  
    Browse Code »

11 Jan, 2013
1 commit
  • Do some minor code reformatting to apply to coding standards.
    80498d08
    Jürgen Knödlseder authored
    2013-01-11 00:20:47 +0100  
    Browse Code »

10 Jan, 2013
1 commit
  • Fixed a mc()-bug and added correct reading of fermi-style xml-files
    f332ce84
    Michael Mayer authored
    2013-01-10 14:55:47 +0100  
    Browse Code »

07 Jan, 2013
1 commit
  • implemented mc() method for GModelSpectralLogParabola
    5116e38a
    Michael Mayer authored
    2013-01-07 13:57:29 +0100  
    Browse Code »

21 Dec, 2012
11 commits
  • Correct header file inclusion. ...
    81b77880
    Include GCOMInstDir.hpp instead of GCTAInstDir.hpp.
    Jürgen Knödlseder authored
    2012-12-21 22:05:34 +0100  
    Browse Code »
  • Correct header file inclusion. ...
    bb8ba946
    Include GCOMResponse.hpp instead of GCTAResponse.hpp.
    Jürgen Knödlseder authored
    2012-12-21 22:05:14 +0100  
    Browse Code »
  • Add seed() access method. ...
    670c9024
    Add method to access a random number generators seed value.
    Jürgen Knödlseder authored
    2012-12-21 21:13:02 +0100  
    Browse Code »
  • Ignore also backed up Doxygen configuration file.
    9db86c16
    Jürgen Knödlseder authored
    2012-12-21 00:52:32 +0100  
    Browse Code »
  • Correct file for Doxygen documentation. ...
    653e5235
    The file was corrected so that no more warnings occur during Doxygen documentation generation.
    Jürgen Knödlseder authored
    2012-12-21 00:50:47 +0100  
    Browse Code »
  • Update Doxygen configuration file to remove obsolete parameters.
    fef6a9fe
    Jürgen Knödlseder authored
    2012-12-21 00:48:08 +0100  
    Browse Code »
  • Remove operator= and operators[] as they are not supported by SWIG.
    44679a97
    Jürgen Knödlseder authored
    2012-12-21 00:43:18 +0100  
    Browse Code »
  • Pass isvalid(), isundefined() and isnotanumber() to non-const. ...
    e1514d7d
    The Python interface has been adapted according to the C++ interface.
    Jürgen Knödlseder authored
    2012-12-21 00:25:19 +0100  
    Browse Code »
  • Update for release
    5a361aa2
    Jürgen Knödlseder authored
    2012-12-21 00:22:21 +0100  
    Browse Code »
  • Pass isvalid(), isundefined() and isnotanumber() methods non-const as they query now the parameter. ...
    c6419bd5
    Since we have to query the parameter to determine it's status, the isvalid(), isundefined() and isnotanumber() methods now call query(). This implies that the methods had to be passed non-const, as query() modifies the members of the parameter.
    Jürgen Knödlseder authored
    2012-12-21 00:13:58 +0100  
    Browse Code »
  • Check parameter validity before returning a value. ...
    36d302a5
    The parameter validity is checked before returning a value. This ensures that invalid values are not inadvertedly passed to the executable. The isvalid() method can be used to ensure that a parameter is valid before accessing it.
    Jürgen Knödlseder authored
    2012-12-21 00:08:47 +0100  
    Browse Code »

20 Dec, 2012
10 commits
  • Pass all arguments as const references for application module exceptions. ...
    baa16045
    It is recommended to pass all arguments to exceptions by reference to avoid memory allocation during exception throwing.
    Jürgen Knödlseder authored
    2012-12-20 23:49:01 +0100  
    Browse Code »
  • Add event_id() and obs_id() member access methods.
    748eec87
    Jürgen Knödlseder authored
    2012-12-20 23:23:06 +0100  
    Browse Code »
  • Add units to times in print() method.
    9acef026
    Jürgen Knödlseder authored
    2012-12-20 23:12:13 +0100  
    Browse Code »
  • Add indent parameter to parformat. ...
    6f7bd6c1
    The indent parameter allows to signal whether a line is indented. The total length of the parameter name is reduced by the amount of indentation.
    Jürgen Knödlseder authored
    2012-12-20 22:54:14 +0100  
    Browse Code »
  • Write TSTART and TSTOP in correct reference and write correct time reference to event list header. ...
    9243fc5b
    Makes use of the GTimeReference class to convert the start and stop times into the correct reference.
    Jürgen Knödlseder authored
    2012-12-20 22:48:00 +0100  
    Browse Code »
  • Test existence of root directory.
    fa1d8f0c
    Jürgen Knödlseder authored
    2012-12-20 22:00:25 +0100  
    Browse Code »
  • Put back exception tests. ...
    c001eecb
    The exception problem has been solved by adding a specific @GExceptionHandler@ catch to the Python interface exception handler. We thus can put back the exception tests.
    Jürgen Knödlseder authored
    2012-12-20 21:16:03 +0100  
    Browse Code »
  • Add generic catch for GammaLib exceptions. ...
    e34ad9cd
    There were some problems on Mac OS X 10.7 with catching of GammaLib exceptions (see bugs #681, #680, #626). These could be solved by adding a generic catch of @GExceptionHandler@ to the Python interface exception handler.
    
    Some of the old specific exceptions have also been removed.
    Jürgen Knödlseder authored
    2012-12-20 21:14:25 +0100  
    Browse Code »
  • Complete header file list. ...
    1f9623b4
    Some header files were not distributed, and some header files were not included in the GammaLib.hpp header.
    Jürgen Knödlseder authored
    2012-12-20 18:12:11 +0100  
    Browse Code »
  • Remove tests that rely on exception catching. ...
    22da23af
    See Bug #626.
    Jürgen Knödlseder authored
    2012-12-20 17:45:37 +0100  
    Browse Code »