Logo white

Iftach Sadeh / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 3,615
  • Compare
  • Branches 30
  • Tags 37
  • ctools
  • test
  • test_ctskymap.py
02 Jul, 2019
1 commit
  • Add parameter and methods for accessing generated GFits object in ctskymap ...
    eb9b3f22
    This enables accessing the generated skymaps without calling 'save()' first
    Josh Cardenzana authored
    2019-07-02 20:45:20 +0200  
    Browse File »

29 Mar, 2019
1 commit
  • Add _test_python_exclusion_map() method to ctskymap unit test
    81d9de6d
    Jürgen Knödlseder authored
    2019-03-29 17:29:08 +0100  
    Browse File »

27 Jul, 2018
1 commit
  • Increase code coverage
    99ab76de
    Jürgen Knödlseder authored
    2018-07-27 11:34:57 +0200  
    Browse File »

13 Feb, 2018
1 commit
  • Adjust ctskymap unit test
    08048681
    Jürgen Knödlseder authored
    2018-02-13 16:15:08 +0100  
    Browse File »

23 Jan, 2018
1 commit
  • In case of an error, test output is now written into log file (#2264).
    d7c71736
    Jürgen Knödlseder authored
    2018-01-23 17:57:54 +0100  
    Browse File »

30 Nov, 2017
1 commit
  • Speed up ctools unit tests
    1691ebb4
    Jürgen Knödlseder authored
    2017-11-30 12:39:17 +0100  
    Browse File »

20 Oct, 2017
1 commit
  • Test ctools and cscripts also in debug mode
    4896609d
    Jürgen Knödlseder authored
    2017-10-20 20:31:25 +0200  
    Browse File »

16 Oct, 2017
2 commits
  • Add RING background method to ctskymap (#2207)
    cf079ae0
    Jürgen Knödlseder authored
    2017-10-16 22:45:45 +0200  
    Browse File »
  • Updated ctskymap with RING bkg subtraction (#2207) ...
    de558787
    Removed 'runavgalpha' option, since computing the run-by-run significance is a non trivial thing and the difference in the residual counts map is negligible.
    Added special handling in the significance computation when Non=0 to avoid NaN's.
    Josh Cardenzana authored
    2017-10-16 16:07:45 +0200  
    Browse File »

13 Oct, 2017
2 commits
  • Merge branch 'devel' of https://cta-gitlab.irap.omp.eu/ctools/ctools into 2207-c… ...
    a28f6488
    …tskymap_RING_bkgsubtract
    Josh Cardenzana authored
    2017-10-13 10:40:20 +0200  
    Browse File »
  • Add tests for ctskymap RING subtraction (#2207) ...
    9a32c2d4
    Added test to make sure ctskymap is able to run when RING background subtraction is requested.
    Observation responses are now checked regardless of what type of background subtraction is requested.
    Fixed origin for exceptions thrown in 'ctskymap::map_background_ring()'
    Added log message to update user during run averaged alpha computation.
    Josh Cardenzana authored
    2017-10-13 10:30:29 +0200  
    Browse File »

11 Oct, 2017
1 commit
  • Correct ctskymap Python test
    eaa252c2
    Jürgen Knödlseder authored
    2017-10-11 11:52:57 +0200  
    Browse File »

11 Aug, 2017
1 commit
  • Reduce code duplications
    32c8a9ba
    Jürgen Knödlseder authored
    2017-08-11 00:33:58 +0200  
    Browse File »

01 Dec, 2016
1 commit
  • Add caldb and irf parameters to ctskymap, and store background and significance map
    dd903c61
    Jürgen Knödlseder authored
    2016-12-01 11:42:34 +0100  
    Browse File »

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 File »

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

12 Aug, 2016
1 commit
  • 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 File »

11 Aug, 2016
1 commit
  • Increase ctool branch coverage (#1828)
    cfa7379f
    Jürgen Knödlseder authored
    2016-08-11 15:09:38 +0200  
    Browse File »

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

01 Jul, 2016
2 commits
  • Change command for unit test self test
    fbc4599d
    Jürgen Knödlseder authored
    2016-07-01 08:58:28 +0200  
    Browse File »
  • Use testing.py base class for unit testing
    b28ac830
    Jürgen Knödlseder authored
    2016-07-01 00:41:29 +0200  
    Browse File »

24 Jun, 2016
1 commit
  • Rename test/README to test/README.md
    82df6b96
    Jürgen Knödlseder authored
    2016-06-24 16:09:57 +0200  
    Browse File »

27 May, 2016
1 commit
  • Update ctools unit tests.
    2e963644
    Jürgen Knödlseder authored
    2016-05-27 22:46:22 +0200  
    Browse File »

25 Feb, 2016
2 commits
  • Remove catching of exception text as this does not work for Python < 2.6.
    3f095bf7
    Jürgen Knödlseder authored
    2016-02-25 12:28:30 +0100  
    Browse File »
  • Use "Exception as e" instead of "Exception, e" to make test scripts compatible with Python 3. ...
    735df659
    Note that this breaks compatibility with Python < 2.6.
    Jürgen Knödlseder authored
    2016-02-25 10:08:37 +0100  
    Browse File »

24 Feb, 2016
1 commit
  • Enhance error messages in case of an exception (now logs also the exception).
    c4bf507e
    Jürgen Knödlseder authored
    2016-02-24 15:37:42 +0100  
    Browse File »

03 Jul, 2015
1 commit
  • Fix Python source code formatting (PEP8) ...
    5c53c14a
    This command was run:
      autopep8 --select E101,W191 --in-place --recursive .
    
    It fixes only these two issues:
      - W191 indentation contains tabs
      - E101 indentation contains mixed spaces and tabs
    Christoph Deil authored
    2015-07-03 17:19:41 +0200  
    Browse File »

30 Jun, 2015
2 commits
  • Correct code formatting.
    30eeb6af
    Jürgen Knödlseder authored
    2015-06-30 21:18:55 +0200  
    Browse File »
  • Simplify GApplication parameter setting from Python
    f2a352d5
    Christoph Deil authored
    2015-06-30 20:34:06 +0200  
    Browse File »

21 Nov, 2014
1 commit
  • initial commit to extend ctool-base class and unify/simplify the get_parameters(… ...
    be3e4fa0
    …)-function of individual ctools
    Michael Mayer authored
    2014-11-21 15:28:33 +0100  
    Browse File »

22 Jul, 2014
1 commit
  • Add ctbkgcube tool. ...
    3992ea54
    The ctbkgcube tool generates a background model for cube-style analysis.
    Jürgen Knödlseder authored
    2014-07-22 22:34:04 +0200  
    Browse File »

21 Jul, 2014
1 commit
  • Add basic functionality test for each tool (just runs the tools without any check out the result)
    27c6936b
    Jürgen Knödlseder authored
    2014-07-21 00:07:43 +0200  
    Browse File »

20 Jul, 2014
1 commit
  • Add empty unit test scripts for all existing ctools. ...
    0800d382
    This sets up the system completly. From then on, unit test can be implemented.
    Jürgen Knödlseder authored
    2014-07-20 23:04:41 +0200  
    Browse File »