Logo white

Pierrick Martin / gammalib

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 7,254
  • Compare
  • Branches 28
  • Tags 47
  • gammalib
11 Apr, 2020
11 commits
  • Rename GResponseCache::energy() method to GResponseCache::hash()
    0eff4ea0
    Jürgen Knödlseder authored
    2020-04-11 00:39:15 +0200  
    Browse Code »
  • Modify GResponseCache implementation to guarantee unique cache keys ...
    fabe14af
    The GResponseCache now implements a three-level response cache, with the first level being the name, the second being a hash value of the true and measured energies, and the third level a hash value of the instrument direction. The hash values are implemented as uint64_t 64 Bit unsigned integers.
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse Code »
  • Add GResponseCacheKey class (#3202)
    969bbf04
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse Code »
  • Fix bug in GSkyDir::rotate_deg() method that was introduced when adding GSkyDir::rotate()
    fb879706
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse Code »
  • Move definition of G_CTA_MJDREF to GCTATypemaps.hpp and remove inclusion of GCTA… ...
    e1b946e0
    …Lib.hpp in CTA classes
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse Code »
  • Add GSkyDir::GSkyDir(GVector) constructor
    d149c935
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse Code »
  • Add GSkyDir::rotate() method
    1ec55e88
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse Code »
  • Implement GResponse::irf(const GEvent& event, const GSource& source, const GObservation& obs) method ...
    d511521a
    The method is now implemented at the base class level and branches to the model specific IRF computation methods that are also implemented at the GResponse level. This will allow implementing generic model dependent IRF methods at the base class level, making all spatial model types automatically accessible to all instrument modules. These methods can always be overloaded later in case that more efficient code needs to be generated. But at least, all spatial models work a priori out of the box.
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse Code »
  • Add hash() method to test instrument direction
    52ba4ad2
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse Code »
  • Add generic response cache class GResponseCache (#3202)
    8b221ddd
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse Code »
  • Add GInstDir::hash() method (#3202) ...
    d6d79688
    The hash method returns a unique hash value for an instrument direction that can be used for the response caching.
    Jürgen Knödlseder authored
    2020-04-11 00:39:14 +0200  
    Browse Code »

09 Apr, 2020
12 commits
  • Add #include <algorithm>
    7764596e
    Jürgen Knödlseder authored
    2020-04-09 23:42:56 +0200  
    Browse Code »
  • Set minimum sigma value for GModelSpectralGauss model to 0.1 keV (to cope also with INTEGRAL/SPI)
    11a45664
    Jürgen Knödlseder authored
    2020-04-09 18:42:54 +0200  
    Browse Code »
  • Print also response in GSPIObservation::print()
    ec189f2f
    Jürgen Knödlseder authored
    2020-04-09 18:36:34 +0200  
    Browse Code »
  • Implement "ebin" method for GSPIModelDataSpace
    ea97ba4d
    Jürgen Knödlseder authored
    2020-04-09 18:21:11 +0200  
    Browse Code »
  • Correct units for INTEGRAL/SPI response function
    59c2be63
    Jürgen Knödlseder authored
    2020-04-09 18:14:25 +0200  
    Browse Code »
  • Implement IRF computation in @GSPIResponse@ (#735)
    17962701
    Jürgen Knödlseder authored
    2020-04-09 15:03:22 +0200  
    Browse Code »
  • Correct fiducial offset in ARC projection in method GWcsARC::prj_set()
    77717082
    Jürgen Knödlseder authored
    2020-04-09 13:57:07 +0200  
    Browse Code »
  • Add GSPIEventBin::ipt() method
    b1611a22
    Jürgen Knödlseder authored
    2020-04-09 10:39:56 +0200  
    Browse Code »
  • Add GSPIEventBin::idir() and GSPIEventBin::iebin() methods
    25528a69
    Jürgen Knödlseder authored
    2020-04-09 10:25:25 +0200  
    Browse Code »
  • Add livetime attribute to GSPIEventBin
    4dbde61c
    Jürgen Knödlseder authored
    2020-04-09 10:07:51 +0200  
    Browse Code »
  • Add GSPIResponse::zenith() and GSPIResponse::azimuth() methods to convert a sky … ...
    9120d50c
    …direction into instrument coordinates
    Jürgen Knödlseder authored
    2020-04-09 01:12:51 +0200  
    Browse Code »
  • Add GSPIEventCube::spi_x() and GSPIEventCube::spi_z() methods ...
    b88fc262
    These methods provide for a given pointing the SPI X and Y directions
    Jürgen Knödlseder authored
    2020-04-09 01:11:10 +0200  
    Browse Code »

08 Apr, 2020
4 commits
  • Start implementing GSPIResponse class (#742) ...
    b4127943
    The code now supports loading of IRF information, pre-computation of the IRF array in form of a sky map, and saving the pre-computed IRF to disk.
    Jürgen Knödlseder authored
    2020-04-08 23:36:43 +0200  
    Browse Code »
  • Search also for GRPNAME in gammalib::spi_hdu() method
    f6a7c592
    Jürgen Knödlseder authored
    2020-04-08 21:24:18 +0200  
    Browse Code »
  • Add GSPIEventCube::dir() method that returns an instrument direction as function… ...
    6e8c15d6
    … of pointing and detector index.
    Jürgen Knödlseder authored
    2020-04-08 21:23:38 +0200  
    Browse Code »
  • Correct documentation
    50f4b39d
    Jürgen Knödlseder authored
    2020-04-08 16:00:37 +0200  
    Browse Code »

07 Apr, 2020
6 commits
  • Use m_has_eval_inx and m_eval_inx members in GSPIModelDataSpace::eval() method (#745) ...
    6153e83f
    Using these methods avoids initialising parameter gradients that will not be used.
    Jürgen Knödlseder authored
    2020-04-07 22:45:20 +0200  
    Browse Code »
  • Add and use GModel::has_eval_indices() and GModel::eval_indices() methods (#745) ...
    82c53c6f
    The methods GModel::has_eval_indices() and GModel::eval_indices() allow for a more efficient parameter handling in GObservation::model() that is specifically relevant for a model with many parameters, such as the SPI data space models. These methods allow the GModel::eval() method to signal which of the parameters were actually updated, so that the gradients for only these parameters will be considered in GObservation::model(), while all other gradients will be ignored.
    Jürgen Knödlseder authored
    2020-04-07 22:39:31 +0200  
    Browse Code »
  • Store ontime in SPI event bin
    ca8209d4
    Jürgen Knödlseder authored
    2020-04-07 20:54:03 +0200  
    Browse Code »
  • Fix copying of m_modnames in GSPIEventCube::copy_members() ...
    6d21bd30
    The copying was missing, leading to a core dump.
    Jürgen Knödlseder authored
    2020-04-07 20:29:58 +0200  
    Browse Code »
  • Implement "orbit" and "dete" methods for SPI data space model
    4509282c
    Jürgen Knödlseder authored
    2020-04-07 17:57:39 +0200  
    Browse Code »
  • Add GSPIModelDataSpace class ...
    b839f0e3
    The GSPIModelDataSpace class implements the INTEGRAL/SPI data space model. The current commit allows already model fitting using the data space model. The various parameter grouping methods are not yet implemented, but the method structure exists already.
    Jürgen Knödlseder authored
    2020-04-07 15:14:02 +0200  
    Browse Code »

06 Apr, 2020
2 commits
  • Remove caldb from SPI EXTRA_DIST (since so far nothing in caldb exists)
    c09ad08f
    Jürgen Knödlseder authored
    2020-04-06 13:10:11 +0200  
    Browse Code »
  • Distribute SPI test data for installcheck
    863f8108
    Jürgen Knödlseder authored
    2020-04-06 00:25:39 +0200  
    Browse Code »

05 Apr, 2020
5 commits
  • Add #include <cstdlib>
    08db9bce
    Jürgen Knödlseder authored
    2020-04-05 23:56:18 +0200  
    Browse Code »
  • Add #include <typeinfo>
    b4c423d9
    Jürgen Knödlseder authored
    2020-04-05 23:05:04 +0200  
    Browse Code »
  • Implement SPI observation loading from XML file and add unit tests
    4d0dbfed
    Jürgen Knödlseder authored
    2020-04-05 22:19:33 +0200  
    Browse Code »
  • Add GSPIEventCube Python test
    252c93c2
    Jürgen Knödlseder authored
    2020-04-05 21:20:35 +0200  
    Browse Code »
  • Implement handling of models in GSPIEventCube and GSPIEventBin classes
    d52bcbc1
    Jürgen Knödlseder authored
    2020-04-05 21:04:27 +0200  
    Browse Code »