Commit e72963ae87feef4a87393acb23b344ef570c73a0

Authored by Jürgen Knödlseder
1 parent 28f5aded

Adapt to new response cube interface (#1788)

ChangeLog
1 -2016-05-27 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> 1 +2016-06-20 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu>
2 2
3 * Version 1.1.0 released 3 * Version 1.1.0 released
4 ======================== 4 ========================
5 5
6 - Add ctools and cscripts unit tests. 6 + Adapt to new stacked cube interface (#1788)
  7 + Add ctools and cscripts unit tests
7 Add "bgdoversample" and "bgdinfill" parameters to csroot2caldb 8 Add "bgdoversample" and "bgdinfill" parameters to csroot2caldb
8 Add csobsdef.pntdef() method (#1771) 9 Add csobsdef.pntdef() method (#1771)
9 Add ctmapcube tool (#1760) 10 Add ctmapcube tool (#1760)
10 Add "seed" parameter to cspull (#1755) 11 Add "seed" parameter to cspull (#1755)
11 Add ctedispcube tool (#1724) 12 Add ctedispcube tool (#1724)
12 Test and import IACT scripts only for Python 2.6+ (#1715) 13 Test and import IACT scripts only for Python 2.6+ (#1715)
13 - Add documentation for IACT analysis (#1646)  
14 Adapt to revise GTime operators (#1714) 14 Adapt to revise GTime operators (#1714)
15 Add publish() methods to tools producing images (#1710) 15 Add publish() methods to tools producing images (#1710)
16 Read ahead output filename in cterror (#1700) 16 Read ahead output filename in cterror (#1700)
17 Subdivide simulation energy range in ctobssim (#1673) 17 Subdivide simulation energy range in ctobssim (#1673)
18 Delete existing events before simulation in ctobssim (#1663) 18 Delete existing events before simulation in ctobssim (#1663)
19 Add csiactcopy script (#1661) 19 Add csiactcopy script (#1661)
  20 + Add documentation for IACT analysis (#1646)
20 ctselect allows usage of non-default events and GTI extensions (#1598) 21 ctselect allows usage of non-default events and GTI extensions (#1598)
21 Add csworkflow workflow manager script (#1508) 22 Add csworkflow workflow manager script (#1508)
22 23
1 New Features and Important Changes in ctools 1.1.0 1 New Features and Important Changes in ctools 1.1.0
2 2
3 -27 May 2016 3 +20 June 2016
4 4
5 5
6 Introduction 6 Introduction
1 ctools information 1 ctools information
2 ================== 2 ==================
3 -Version: 1.1.0dev (11 January 2016)  
4 -Author: Juergen Knodlseder (jurgen.knodlseder@irap.omp.eu)  
5 -GammaLib dependency: 1.1.0dev 3 +* Version: 1.1.0.dev1 (20 June 2016)
  4 +* Author: Juergen Knoedlseder (jurgen.knodlseder@irap.omp.eu)
  5 +* GammaLib dependency: 1.1.0.dev1
6 6
7 7
8 License information 8 License information
configure.ac
@@ -33,8 +33,8 @@ AC_INIT([ctools], [1.1.0.dev1], [jurgen.knodlseder@irap.omp.eu], [ctools]) @@ -33,8 +33,8 @@ AC_INIT([ctools], [1.1.0.dev1], [jurgen.knodlseder@irap.omp.eu], [ctools])
33 AC_CONFIG_SRCDIR([src/ctselect/ctselect.cpp]) 33 AC_CONFIG_SRCDIR([src/ctselect/ctselect.cpp])
34 AC_CONFIG_MACRO_DIR([m4]) 34 AC_CONFIG_MACRO_DIR([m4])
35 #AM_INIT_AUTOMAKE([gnu no-dependencies]) 35 #AM_INIT_AUTOMAKE([gnu no-dependencies])
36 -AM_INIT_AUTOMAKE([gnu -Wno-portability])  
37 -#AM_INIT_AUTOMAKE([gnu -Wno-portability serial-tests]) 36 +#AM_INIT_AUTOMAKE([gnu -Wno-portability])
  37 +AM_INIT_AUTOMAKE([gnu -Wno-portability serial-tests])
38 AC_CONFIG_HEADER([config.h]) 38 AC_CONFIG_HEADER([config.h])
39 39
40 40
test/data/crab_bkgcube.fits.gz
No preview for this file type
test/data/crab_edispcube.fits.gz
No preview for this file type
test/data/crab_expcube.fits.gz
No preview for this file type
test/data/crab_psfcube.fits.gz
No preview for this file type
test/test_ctbkgcube.py
@@ -165,7 +165,7 @@ class Test(gammalib.GPythonTestSuite): @@ -165,7 +165,7 @@ class Test(gammalib.GPythonTestSuite):
165 result = gammalib.GCTACubeBackground(filename) 165 result = gammalib.GCTACubeBackground(filename)
166 166
167 # Check dimensions 167 # Check dimensions
168 - self.test_value(len(result.elogmeans()), 20, 'Check for 20 energy bins') 168 + self.test_value(len(result.energies()), 21, 'Check for 21 energy values')
169 169
170 # Return 170 # Return
171 return 171 return