Logo white

Michael Mayer / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 2,123
  • Compare
  • Branches 39
  • Tags 15
  • ctools
03 Aug, 2016
7 commits
  • Adapt to new GApplication logging interface (#1828) ...
    ff0d52ee
    The new GApplication logger support function take the chattiness level as the first argument.
    Jürgen Knödlseder authored
    2016-08-03 15:21:56 +0200  
    Browse Code »
  • Use log_parameters() with GClobber argument (#1828)
    b3540bee
    Jürgen Knödlseder authored
    2016-08-03 13:57:15 +0200  
    Browse Code »
  • Distribute integration sensitivity data
    34468df1
    Jürgen Knödlseder authored
    2016-08-03 02:10:33 +0200  
    Browse Code »
  • Add test of showing integral sensitivity
    5e5f1127
    Jürgen Knödlseder authored
    2016-08-03 02:09:02 +0200  
    Browse Code »
  • Remove all global variables from example scripts ...
    ee8348cc
    All global variables have been removed from the example scripts by introducing a main function with the same name as the file that is called from main. Consequently, all variables are local. This is to avoid any problems between global and local scope of variables.
    Jürgen Knödlseder authored
    2016-08-03 01:48:26 +0200  
    Browse Code »
  • Test show_pha.py script with PHA file w/o energy information
    d6fb8eb4
    Jürgen Knödlseder authored
    2016-08-03 00:57:33 +0200  
    Browse Code »
  • 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 Code »

02 Aug, 2016
12 commits
  • Correct import exception
    f3f1a514
    Jürgen Knödlseder authored
    2016-08-02 23:52:16 +0200  
    Browse Code »
  • Further improvement on Python code quality
    9a1b801f
    Jürgen Knödlseder authored
    2016-08-02 23:36:33 +0200  
    Browse Code »
  • Improve branch coverage of csiactobs.py and csiactdata.py
    debf6fb1
    Jürgen Knödlseder authored
    2016-08-02 23:00:00 +0200  
    Browse Code »
  • Add cssens test for integral sensitivity
    6855ef94
    Jürgen Knödlseder authored
    2016-08-02 22:30:28 +0200  
    Browse Code »
  • Enhance cscripts
    ce677783
    Jürgen Knödlseder authored
    2016-08-02 22:20:46 +0200  
    Browse Code »
  • Merge branch '1828-quality-of-iact-cscripts' into integration ...
    523323c9
    # Conflicts:
    #	cscripts/csiactcopy.py
    #	cscripts/csiactdata.py
    Jürgen Knödlseder authored
    2016-08-02 21:23:39 +0200  
    Browse Code »
  • Integrate branch
    add41cca
    Jürgen Knödlseder authored
    2016-08-02 21:09:59 +0200  
    Browse Code »
  • Improve commenting of cscripts (#1828)
    a446d51c
    Jürgen Knödlseder authored
    2016-08-02 16:54:26 +0200  
    Browse Code »
  • Reducing sonar issues by adding more comments and cover more code with unit tests
    14d95915
    Michael Mayer authored
    2016-08-02 16:43:13 +0200  
    Browse Code »
  • Revise csroot2caldb script (#1828)
    a266b565
    Jürgen Knödlseder authored
    2016-08-02 12:18:34 +0200  
    Browse Code »
  • Test all csroot2caldb options
    5cd3af9d
    Jürgen Knödlseder authored
    2016-08-02 08:36:33 +0200  
    Browse Code »
  • Add new ROOT IRF test file to allow testing of all csroot2caldb options
    0a5969a6
    Jürgen Knödlseder authored
    2016-08-02 08:36:17 +0200  
    Browse Code »

01 Aug, 2016
13 commits
  • Merge branch '1828-enhance-code-quality' into integration
    d2ce573f
    Jürgen Knödlseder authored
    2016-08-01 23:20:46 +0200  
    Browse Code »
  • Reduce duration of unit test
    77f1091b
    Jürgen Knödlseder authored
    2016-08-01 23:20:17 +0200  
    Browse Code »
  • Fix regression bug introduces in cssens.py during refactoring
    1661676c
    Jürgen Knödlseder authored
    2016-08-01 22:56:31 +0200  
    Browse Code »
  • Show also times in testreport.py
    a552305f
    Jürgen Knödlseder authored
    2016-08-01 21:52:26 +0200  
    Browse Code »
  • Add cscripts.ioutils.read_pull_values() function (#1828) ...
    bc197f98
    This function avoids code duplication in show_pull_histogram.py and show_pull_evolution.py.
    Jürgen Knödlseder authored
    2016-08-01 21:42:12 +0200  
    Browse Code »
  • Unify interface of example scripts (#1828) ...
    bdcd55cc
    All example scripts now use the cscripts.ioutils.get_args_options() function to get arguments and options.
    Jürgen Knödlseder authored
    2016-08-01 21:35:32 +0200  
    Browse Code »
  • Simplify pipeline example scripts (#1828)
    15aa103b
    Jürgen Knödlseder authored
    2016-08-01 15:49:13 +0200  
    Browse Code »
  • Improve cstsmapmerge.py unit tests (#1828)
    1e11230e
    Jürgen Knödlseder authored
    2016-08-01 14:28:46 +0200  
    Browse Code »
  • Improve code quality of example scripts (#1828)
    a3e660e3
    Jürgen Knödlseder authored
    2016-08-01 14:10:48 +0200  
    Browse Code »
  • Try reduce unit test execution time for cscripts
    256eb549
    Jürgen Knödlseder authored
    2016-08-01 11:56:03 +0200  
    Browse Code »
  • Exclude pyext/ctools/tools.py from Sonar analysis ...
    ecaf3bd8
    The pyext/ctools/tools.py script is autogenerate with SWIG, hence we cannot anyway control the code quality of this piece of code.
    Jürgen Knödlseder authored
    2016-08-01 11:42:30 +0200  
    Browse Code »
  • Remove lsmodel script ...
    ff914df6
    The lsmodel script has been introduced to illustrate GammaLib usage for Fermi/LAT, it does not belong to the ctools.
    Jürgen Knödlseder authored
    2016-08-01 11:40:13 +0200  
    Browse Code »
  • Merge branch 'devel' of https://cta-gitlab.irap.omp.eu/ctools/ctools into devel
    2b3d392a
    Michael Mayer authored
    2016-08-01 09:49:19 +0200  
    Browse Code »

31 Jul, 2016
5 commits
  • Add "calutils" module to cscripts (#1830) ...
    5cf58fba
    There was a code duplication in csroot2caldb and csobs2caldb, which is now avoided by exporting the code in the "calutils" module.
    Jürgen Knödlseder authored
    2016-07-31 23:01:49 +0200  
    Browse Code »
  • Don't use .format() in csinfo ...
    2b504733
    The str.format() function does not exist for before Python 2.6, so don't use it!
    Jürgen Knödlseder authored
    2016-07-31 22:36:36 +0200  
    Browse Code »
  • Use setdefault() to set dictionary default values in obsutils
    3cc46b26
    Jürgen Knödlseder authored
    2016-07-31 22:11:06 +0200  
    Browse Code »
  • Remove also fit() and cterror() function from "obsutils" (#1830) ...
    479bb6d0
    These functions are not really observation utilities, and they are not really needed either since they encapsulate only a few lines of code.
    Jürgen Knödlseder authored
    2016-07-31 21:53:20 +0200  
    Browse Code »
  • Add support modules to cscripts (#1830) ...
    0a5b1abe
    To avoid code duplication in cscripts the support modules "modutils' and "ioutils" have been added. The obsolete functions cntmap() and modmap() have been removed from the "obsutils" module.
    Jürgen Knödlseder authored
    2016-07-31 21:34:21 +0200  
    Browse Code »

30 Jul, 2016
2 commits
  • Correct bad indentation in obsutils
    63fe865c
    Jürgen Knödlseder authored
    2016-07-30 02:55:33 +0200  
    Browse Code »
  • Refactor cscripts and add some functions to obsutils (#1828) ...
    80854348
    The obsutils.sim() function does not correctly handle stacked observations. It appends stacked response cubes to a counts cube in case that multiple observations have been simulated and stacked analysis was requested.
    
    The stacked response cube computation is done using the obsutils.get_stacked_response() function.
    
    The function obsutils.set_ts_model() has been added to setup a model for TS determination. This is used by some of the cscripts, and avoids code duplication.
    
    Finally, the cstsdist and cspull scripts have been refactored.
    Jürgen Knödlseder authored
    2016-07-30 02:26:23 +0200  
    Browse Code »

29 Jul, 2016
1 commit
  • Improve quality of cssens script (#1828)
    003f01cc
    Jürgen Knödlseder authored
    2016-07-29 22:58:28 +0200  
    Browse Code »