Logo white

Johan Bregeon / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 2,096
  • Compare
  • Branches 11
  • Tags 15
  • ctools
14 Aug, 2016
2 commits
  • Enhance coverage and comment density (#1828)
    e8978f2a
    Jürgen Knödlseder authored
    2016-08-14 02:46:45 +0200  
    Browse Code »
  • Use support function in main.cpp code of ctools
    d9f9f2bd
    Jürgen Knödlseder authored
    2016-08-14 00:17:23 +0200  
    Browse Code »

13 Aug, 2016
6 commits
  • Enhance ctselect branch coverage (#1828)
    84c6461f
    Jürgen Knödlseder authored
    2016-08-13 22:53:12 +0200  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • Enhance branch coverage (#1828)
    55989652
    Jürgen Knödlseder authored
    2016-08-13 18:43:23 +0200  
    Browse Code »
  • Enhance code quality (#1828)
    e0ba2a94
    Jürgen Knödlseder authored
    2016-08-13 12:37:43 +0200  
    Browse Code »
  • Add base class unit test to enhance coverage (#1828)
    35b1bdd3
    Jürgen Knödlseder authored
    2016-08-13 03:01:23 +0200  
    Browse Code »

12 Aug, 2016
8 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 Code »
  • Reduce number of lines for code duplication (#1828) ...
    c4d37dea
    This is a stupd commit that tries to get rid of SonarQube complaining about duplicate lines.
    Jürgen Knödlseder authored
    2016-08-12 17:56:09 +0200  
    Browse Code »
  • Add ctobservation::_unbinned_observations() generator to Python interface (#1828)
    8e79972f
    Jürgen Knödlseder authored
    2016-08-12 17:45:00 +0200  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • Introduce ctobservation base class
    4f92d5e4
    Jürgen Knödlseder authored
    2016-08-12 14:44:51 +0200  
    Browse Code »
  • 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 Code »
  • Enhance ctools code coverage (#1828)
    a35f9317
    Jürgen Knödlseder authored
    2016-08-12 01:59:35 +0200  
    Browse Code »

11 Aug, 2016
15 commits
  • Enhance code commenting
    49530689
    Jürgen Knödlseder authored
    2016-08-11 23:50:32 +0200  
    Browse Code »
  • Add unit test on empty csiactobs.py script
    90573cc9
    Jürgen Knödlseder authored
    2016-08-11 17:35:09 +0200  
    Browse Code »
  • Increase code coverage (#1828)
    5ccf8077
    Jürgen Knödlseder authored
    2016-08-11 17:06:28 +0200  
    Browse Code »
  • Add comments
    9afc87bd
    Jürgen Knödlseder authored
    2016-08-11 16:54:52 +0200  
    Browse Code »
  • Increase ctools coverage (#1828)
    adf6ef3a
    Jürgen Knödlseder authored
    2016-08-11 16:26:16 +0200  
    Browse Code »
  • Increase ctool branch coverage (#1828)
    cfa7379f
    Jürgen Knödlseder authored
    2016-08-11 15:09:38 +0200  
    Browse Code »
  • Add ctool::is_valid_filename() method (#1828)
    1e00ea3d
    Jürgen Knödlseder authored
    2016-08-11 13:58:12 +0200  
    Browse Code »
  • 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 Code »
  • Response cubes computed by get_stacked_response() have at least 30 energy bins per decade
    581a934b
    Jürgen Knödlseder authored
    2016-08-11 02:49:29 +0200  
    Browse Code »
  • Correct edisp bug in cspull.py
    00e1b0bb
    Jürgen Knödlseder authored
    2016-08-11 02:15:20 +0200  
    Browse Code »
  • By default, add observation energy boundaries to stacked response cubes in cspull.py
    60529668
    Jürgen Knödlseder authored
    2016-08-11 02:01:27 +0200  
    Browse Code »
  • Use pointing in get_stacked_response() if xref and yref arguments are None
    23bd532e
    Jürgen Knödlseder authored
    2016-08-11 01:59:27 +0200  
    Browse Code »
  • Use at least 30 energy bins per decade in binned cspull
    6a937bc4
    Jürgen Knödlseder authored
    2016-08-11 01:58:00 +0200  
    Browse Code »
  • Remove debug mode (left-over)
    3599cd85
    Jürgen Knödlseder authored
    2016-08-11 00:59:07 +0200  
    Browse Code »
  • Enhance ctools unit tests
    76afa729
    Jürgen Knödlseder authored
    2016-08-11 00:13:05 +0200  
    Browse Code »

10 Aug, 2016
2 commits
  • Use GSkyMap::is_empty() method
    ce48d505
    Jürgen Knödlseder authored
    2016-08-10 22:53:30 +0200  
    Browse Code »
  • Add comments
    97cf1403
    Jürgen Knödlseder authored
    2016-08-10 22:03:13 +0200  
    Browse Code »

09 Aug, 2016
5 commits
  • Correct documentation on units of spectral models (#1557)
    c6aa9b8e
    Jürgen Knödlseder authored
    2016-08-09 10:32:08 +0200  
    Browse Code »
  • Re-correct integer division in csiactopy.py for Python 3 compliance
    b73a6e3a
    Jürgen Knödlseder authored
    2016-08-09 10:08:55 +0200  
    Browse Code »
  • Unset VHEFITS environment variable during cscripts unit testing
    85772e55
    Jürgen Knödlseder authored
    2016-08-09 00:53:56 +0200  
    Browse Code »
  • Put back former version of csiactcopy.py
    673a1331
    Jürgen Knödlseder authored
    2016-08-09 00:50:17 +0200  
    Browse Code »
  • 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 Code »

07 Aug, 2016
2 commits
  • 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 Code »
  • Change ctool.pars() to ctool.pardict() and cscript.pars() to cscript.pardict()
    b8e1637c
    Jürgen Knödlseder authored
    2016-08-07 22:22:22 +0200  
    Browse Code »