Commit dcf1d5631fb09443b40fcdc7e71e053c1c192b5c

Authored by Jürgen Knödlseder
1 parent b14736b7

Update documentation

ChangeLog
1   -2020-11-27
  1 +2020-12-03
2 2  
3 3 * Version 2.0.0 released
4 4 ========================
... ... @@ -9,6 +9,7 @@
9 9 Fix implementation of fix_spat_for_ts parameter in ctlike (#3426)
10 10 Replace std::tmpnam() by gammalib::tmpnam() function in ctselect (#3324)
11 11 Remove implicit conversion warnings (#3324)
  12 + Add support of rectangular On/Off regions (#3248)
12 13  
13 14  
14 15 2020-10-15
... ...
1 1 New Features and Important Changes in ctools 2.0.0
2 2  
3   -27 November 2020
  3 +3 December 2020
4 4  
5 5  
6 6 Introduction
... ... @@ -186,7 +186,10 @@ None
186 186  
187 187 cslightcrv - Generate light curve
188 188 ---------------------------------
189   -None
  189 +Added support for rectangular On/Off regions. The "srcshape" parameter now
  190 +can now be set to "RECT" to use rectangular sky regions. The parameter is now
  191 +automatic. The parameters "width", "height", and "posang" were added to specify
  192 +the width, height and position angle of the rectangular sky regions (#3248).
190 193  
191 194  
192 195 csmodelinfo - Return model information
... ... @@ -231,12 +234,18 @@ None
231 234  
232 235 csphagen - Generate On/Off observations
233 236 ---------------------------------------
234   -None
  237 +Added support for rectangular On/Off regions. The "srcshape" parameter now
  238 +can now be set to "RECT" to use rectangular sky regions. The parameter is now
  239 +automatic. The parameters "width", "height", and "posang" were added to specify
  240 +the width, height and position angle of the rectangular sky regions (#3248).
235 241  
236 242  
237 243 csphasecrv - Generate phase curve
238 244 ---------------------------------
239   -None
  245 +Added support for rectangular On/Off regions. The "srcshape" parameter now
  246 +can now be set to "RECT" to use rectangular sky regions. The parameter is now
  247 +automatic. The parameters "width", "height", and "posang" were added to specify
  248 +the width, height and position angle of the rectangular sky regions (#3248).
240 249  
241 250  
242 251 cspull - Generate pull distributions
... ... @@ -261,7 +270,10 @@ None
261 270  
262 271 csscs - Spectral component separation
263 272 -------------------------------------
264   -None
  273 +Added support for rectangular On/Off regions. The "srcshape" parameter now
  274 +can now be set to "RECT" to use rectangular sky regions. The parameter is now
  275 +automatic. The parameters "width", "height", and "posang" were added to specify
  276 +the width, height and position angle of the rectangular sky regions (#3248).
265 277  
266 278  
267 279 cssens - Computes sensitivity curve
... ... @@ -326,7 +338,11 @@ None
326 338  
327 339 obsutils - Observation utilities
328 340 --------------------------------
329   -None
  341 +Added support for rectangular On/Off regions in get_onoff_obs(). The "srcshape"
  342 +parameter now can now be set to "RECT" to use rectangular sky regions. The
  343 +parameter is now automatic. The parameters "width", "height", and "posang" were
  344 +added to specify the width, height and position angle of the rectangular sky
  345 +regions (#3248).
330 346  
331 347  
332 348 Examples
... ...
README.md
1 1 ctools information
2 2 ==================
3   -* Version: 2.0.0.dev (27 November 2020)
  3 +* Version: 2.0.0.dev (3 December 2020)
4 4 * GammaLib dependency: 2.0.0.dev
5 5  
6 6 [![Build Status](https://cta-jenkins.irap.omp.eu/buildStatus/icon?job=ctools-integrate-os)](https://cta-jenkins.irap.omp.eu/job/ctools-integrate-os/)
... ...
test/test_csphagen.py
... ... @@ -411,7 +411,7 @@ class Test(test):
411 411 phagen.execute()
412 412  
413 413 # Check output
414   - self._check_output('csphagen_py8', self._nbins, self._nreg_with_excl)
  414 + self._check_output('csphagen_py8', self._nbins, 9)
415 415 self._check_outobs('csphagen_py8_obs.xml', 1)
416 416  
417 417 # Return
... ... @@ -621,7 +621,7 @@ class Test(test):
621 621  
622 622 # Check for Off region
623 623 offregion = filenameroot + '_off.reg'
624   - reg = gammalib.GSkyRegions(offregion)
  624 + reg = gammalib.GSkyRegions(offregion)
625 625 self.test_value(reg.size(), nreg, 'Check for ' + str(nreg) +
626 626 ' region in background region file')
627 627  
... ...