Logo white

Johan Bregeon / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 2,096
  • Compare
  • Branches 11
  • Tags 15
  • ctools
  • src
26 Sep, 2016
1 commit
  • Integrate code
    eaa75242
    Jürgen Knödlseder authored
    2016-09-26 09:43:32 +0200  
    Browse Dir »

31 Aug, 2016
1 commit
  • Fix bug #1850 (segfault in ctbin), add unit test to test for this case in the future
    63c302a9
    Michael Mayer authored
    2016-08-31 13:40:43 +0200  
    Browse Dir »

30 Aug, 2016
1 commit
  • Use ctobservation base class for all ctools that hold an observation container
    bb1a2031
    Michael Mayer authored
    2016-08-30 16:09:31 +0200  
    Browse Dir »

14 Aug, 2016
1 commit
  • Use support function in main.cpp code of ctools
    d9f9f2bd
    Jürgen Knödlseder authored
    2016-08-14 00:17:23 +0200  
    Browse Dir »

13 Aug, 2016
4 commits
  • Enhance ctselect branch coverage (#1828)
    84c6461f
    Jürgen Knödlseder authored
    2016-08-13 22:53:12 +0200  
    Browse Dir »
  • Test all ctools for help text ...
    44315163
    The outcome of the unit tests depends on the presence of the CTOOLS environment variable. If the CTOOLS environment variable is not present the unit test should fail, otherwise it sould succeed.
    Jürgen Knödlseder authored
    2016-08-13 21:38:36 +0200  
    Browse Dir »
  • Catch exception during ctools construction. ...
    6cefe7c5
    So far any exception occuring during the construction of the ctools were not catched. This is corrected now.
    Jürgen Knödlseder authored
    2016-08-13 21:18:42 +0200  
    Browse Dir »
  • Add base class unit test to enhance coverage (#1828)
    35b1bdd3
    Jürgen Knödlseder authored
    2016-08-13 03:01:23 +0200  
    Browse Dir »

12 Aug, 2016
7 commits
  • Remove void constructors from ctools base classes (#1828) ...
    d7f7af88
    The void constructors from ctools base classes are never used, tools are always constructed with a name and version number.
    Jürgen Knödlseder authored
    2016-08-12 18:43:10 +0200  
    Browse Dir »
  • Add ctobservation::_unbinned_observations() generator to Python interface (#1828)
    8e79972f
    Jürgen Knödlseder authored
    2016-08-12 17:45:00 +0200  
    Browse Dir »
  • Add ctool::get_roi() method (#1828) ...
    a3fa428c
    The ctool::get_roi() replaces some duplicated code in ctselect and ctcubemask. The method extracts the RoI from the user parameters "ra", "dec" and "rad". In case the "usepnt" parameter is present and set to "yes", the "ra" and "dec" parameters will not be read, and it's up to the client to set the RoI centre properly.
    Jürgen Knödlseder authored
    2016-08-12 17:01:47 +0200  
    Browse Dir »
  • Implement first_unbinned_observation() and next_unbinned_observation() methods (#1828) ...
    f9a30a18
    The ctobservation::first_unbinned_observation() and ctobservation::next_unbinned_observation() methods implement an unbinned CTA observation iterator. Using this iterator avoids code duplication and generates a uniform interface for tools to loop over CTA events lists.
    Jürgen Knödlseder authored
    2016-08-12 16:10:54 +0200  
    Browse Dir »
  • Introduce ctobservation base class
    4f92d5e4
    Jürgen Knödlseder authored
    2016-08-12 14:44:51 +0200  
    Browse Dir »
  • Introduce ctlikelihood base class for likelihood ctools (#1828) ...
    2aa78ba1
    All likelihood ctools now derive from the ctlikelihood base class. This avoids code duplication and provides all likelihood tools with a uniform interface.
    Jürgen Knödlseder authored
    2016-08-12 13:06:18 +0200  
    Browse Dir »
  • Enhance ctools code coverage (#1828)
    a35f9317
    Jürgen Knödlseder authored
    2016-08-12 01:59:35 +0200  
    Browse Dir »

11 Aug, 2016
5 commits
  • Increase ctools coverage (#1828)
    adf6ef3a
    Jürgen Knödlseder authored
    2016-08-11 16:26:16 +0200  
    Browse Dir »
  • Increase ctool branch coverage (#1828)
    cfa7379f
    Jürgen Knödlseder authored
    2016-08-11 15:09:38 +0200  
    Browse Dir »
  • Add ctool::is_valid_filename() method (#1828)
    1e00ea3d
    Jürgen Knödlseder authored
    2016-08-11 13:58:12 +0200  
    Browse Dir »
  • Add ctool::setup_models() method and use ctool::setup_observations() method (#1828)
    60fca9e5
    Jürgen Knödlseder authored
    2016-08-11 11:55:43 +0200  
    Browse Dir »
  • Enhance ctools unit tests
    76afa729
    Jürgen Knödlseder authored
    2016-08-11 00:13:05 +0200  
    Browse Dir »

10 Aug, 2016
1 commit
  • Use GSkyMap::is_empty() method
    ce48d505
    Jürgen Knödlseder authored
    2016-08-10 22:53:30 +0200  
    Browse Dir »

09 Aug, 2016
1 commit
  • Use new GApplication logger methods and enhance ctool unit tests (#1828)
    0622a2cb
    Jürgen Knödlseder authored
    2016-08-09 00:10:33 +0200  
    Browse Dir »

07 Aug, 2016
1 commit
  • Use new GApplication logger methods and enhance ctool unit tests (#1828)
    115eb8a9
    Jürgen Knödlseder authored
    2016-08-07 23:57:19 +0200  
    Browse Dir »

06 Aug, 2016
1 commit
  • Use new GApplication logger methods and enhance ctool unit tests (#1828)
    9830efd9
    Jürgen Knödlseder authored
    2016-08-06 00:23:50 +0200  
    Browse Dir »

05 Aug, 2016
2 commits
  • Merge branch '1832-ulimit-new-plaw-parameters' into integration
    79c614e4
    Jürgen Knödlseder authored
    2016-08-05 01:04:21 +0200  
    Browse Dir »
  • Integrate code
    edef6971
    Jürgen Knödlseder authored
    2016-08-05 01:04:13 +0200  
    Browse Dir »

04 Aug, 2016
4 commits
  • Fix ctbin::save() bug for empty observation container (#1835)
    038953cc
    Jürgen Knödlseder authored
    2016-08-04 18:07:52 +0200  
    Browse Dir »
  • Fix exception when calling ctools clear() methods (#1835)
    591cfd99
    Jürgen Knödlseder authored
    2016-08-04 11:06:07 +0200  
    Browse Dir »
  • Added PhotonFlux and EnergyFlux to the list of normalisation parameter for upper limit computation
    95b93e02
    Michael Mayer authored
    2016-08-04 10:18:51 +0200  
    Browse Dir »
  • Adapt ctools to new GApplication logger methods (#1828) ...
    04b1443d
    Since the new GApplication logger methods are more compact than the old format the "logTerse()" etc. constructs have been replaced by the new logger methods. At the same time, the chattiness levels have been reviewed with the following behaviour:
    - TERSE: only headers
    - NORMAL: standard output, only main results or computations
    - EXPLICIT: detailed output
    - VERBOSE: verbose output, mainly for diagnostics
    Jürgen Knödlseder authored
    2016-08-04 00:12:37 +0200  
    Browse Dir »

03 Aug, 2016
2 commits
  • Use log_parameters() with GClobber argument (#1828)
    b3540bee
    Jürgen Knödlseder authored
    2016-08-03 13:57:15 +0200  
    Browse Dir »
  • ctbin::cube() now returns a reference to a member ...
    96842f77
    The building of a cuve on the fly raised issue with memory going out of scope. This is fixed by making the CTA event cube a member of ctbin, and having the cube() method returning a reference to that member
    Jürgen Knödlseder authored
    2016-08-03 00:43:17 +0200  
    Browse Dir »

28 Jul, 2016
1 commit
  • Set "addbounds" parameters default to "no" (#1819)
    607bf92e
    Jürgen Knödlseder authored
    2016-07-28 09:36:54 +0200  
    Browse Dir »

21 Jul, 2016
4 commits
  • Adjust the log output
    5752a0de
    Jürgen Knödlseder authored
    2016-07-21 21:34:28 +0200  
    Browse Dir »
  • Add "addbounds" parameter to response cube tools
    0c70d44e
    Jürgen Knödlseder authored
    2016-07-21 18:31:44 +0200  
    Browse Dir »
  • Revert to considering only fully contained counts cube bins (#1819) ...
    e8719183
    It turned out that the partial coverage of counts cube bins using the weighting array does not work. The problem is spill over of events from one RoI to another than can not be dealt with at the level of a stacked analysis. The old logic of using only fully contained pixel is put back into place. The weighting array is (for the moment) conserved as it could serve other purposes. However, excluding of pixels is already accomplished by setting a pixel value to -1, so it remains to be seen whether we would like to keep that logic or if we would like to use the weighting array (which is more universal).
    Jürgen Knödlseder authored
    2016-07-21 14:14:53 +0200  
    Browse Dir »
  • Tune cspull scripts and associated scripts ...
    74bcfe43
    (still need to remove some debug statements later)
    Jürgen Knödlseder authored
    2016-07-21 10:34:09 +0200  
    Browse Dir »

09 Jul, 2016
1 commit
  • Support out of source builds
    80cbc54c
    Jürgen Knödlseder authored
    2016-07-09 13:13:26 +0200  
    Browse Dir »

01 Jul, 2016
1 commit
  • Query energy dispersion cube before background cube
    d8fcfdf3
    Jürgen Knödlseder authored
    2016-07-01 11:53:13 +0200  
    Browse Dir »

24 Jun, 2016
1 commit
  • Adapt example scripts
    bbe311d4
    Jürgen Knödlseder authored
    2016-06-24 16:52:37 +0200  
    Browse Dir »