Commit a08eeedfe298bce8ee3c48d55d6598133e6cbdf7

Authored by Jürgen Knödlseder
1 parent d33e30aa

Update code documentation

ChangeLog
  1 +2020-07-20
  2 +
  3 + * Bug fix version 1.7.1 released
  4 + ================================
  5 +
  6 + Speed-up ctbin for stacked event binning (#3275)
  7 +
  8 +
1 9 2020-07-15
2 10  
3 11 * Version 1.7.0 released
... ...
1   -New Features and Important Changes in ctools 1.7.0
  1 +New Features and Important Changes in ctools 1.7.1
2 2  
3   -15 July 2020
  3 +20 July 2020
4 4  
5 5  
6 6 Introduction
... ... @@ -16,12 +16,7 @@ None
16 16  
17 17 Documentation
18 18 -------------
19   -Add Interface Manual to User documentation that provides links to the
20   -ctools and GammaLib Doxygen documentation (#3163).
21   -
22   -Add On/Off analysis to ctlike reference manual (#3154).
23   -
24   -Update user manual to indicate where to get the latest CTA IRF (#3075).
  19 +None
25 20  
26 21  
27 22 Python interface
... ... @@ -36,17 +31,13 @@ None
36 31  
37 32 Base classes
38 33 ------------
39   -The headers in the log files created by cscripts that were derived from the
40   -ctools.cscript base class were repeated. This repetition was not present in
41   -the other base classes due to a reopening of the log file in those classes.
42   -The logic was changed so that the cscripts now behave like the ctools. A log
43   -file is not written by default in Python, the logFileOpen() method needs to
44   -be called for that. And the header is only written once in the log file (#3066).
  34 +None
45 35  
46 36  
47 37 ctbin - CTA event binning
48 38 -------------------------
49   -Add ebingamma parameter and support for POW binning (#2881).
  39 +The code was refactored so that parallel processing using OpenMP is now
  40 +considerably faster when data are stacked (#3275).
50 41  
51 42  
52 43 ctbkgcube - CTA background cube generation
... ... @@ -66,7 +57,7 @@ None
66 57  
67 58 ctedispcube - CTA energy dispersion cube generation
68 59 ---------------------------------------------------
69   -Add ebingamma parameter and support for POW binning (#2881).
  60 +None
70 61  
71 62  
72 63 cterror - Likelihood profile error computation
... ... @@ -76,7 +67,7 @@ None
76 67  
77 68 ctexpcube - CTA exposure cube generation
78 69 ----------------------------------------
79   -Add ebingamma parameter and support for POW binning (#2881).
  70 +None
80 71  
81 72  
82 73 ctfindvar - Variability search
... ... @@ -91,12 +82,12 @@ None
91 82  
92 83 ctmapcube - CTA map cube generation
93 84 -----------------------------------
94   -Add ebingamma parameter and support for POW binning (#2881).
  85 +None
95 86  
96 87  
97 88 ctmodel - CTA counts cube modelling
98 89 -----------------------------------
99   -Add ebingamma parameter and support for POW binning (#2881).
  90 +None
100 91  
101 92  
102 93 ctobssim - CTA observation simulation
... ... @@ -116,7 +107,7 @@ None
116 107  
117 108 ctpsfcube - CTA point spread function cube generation
118 109 -----------------------------------------------------
119   -Add ebingamma parameter and support for POW binning (#2881).
  110 +None
120 111  
121 112  
122 113 ctselect - CTA event selection
... ... @@ -126,14 +117,12 @@ None
126 117  
127 118 ctskymap - CTA sky mapping
128 119 --------------------------
129   -Added ctskymap::fits() method to allow access of FITS file object before
130   -saving the object to disk. This allows manipulation of ctskymap results without
131   -writing a FITS file (#2925).
  120 +None
132 121  
133 122  
134 123 cttsmap - Generation of Test Statistic map
135 124 ------------------------------------------
136   -Remove response cache for test source before fitting the source (#2973).
  125 +None
137 126  
138 127  
139 128 ctulimit - Compute upper limit
... ... @@ -228,19 +217,7 @@ None
228 217  
229 218 csphagen - Generate On/Off observations
230 219 ---------------------------------------
231   -The handling of reflected regions in the presence of exclusion regions was
232   -improved. In the presence of exclusion regions, the number of Off regions is
233   -slighty shift in position (#2976).
234   -
235   -Setting the exclusion map via csphagen.exclusion_map(object=<map>) will now
236   -actually use the exclusion map even if the "inexclusion" parameter is not set.
237   -Before, the only exclusion that would be used was the exclusion passed via the
238   -"inexclusion" "parameter. If re-running csphagen using the "inexclusion"
239   -parameter after setting the map with csphagen.exclusion_map() you should first
240   -call csphagen.exclusion_map(object=gammalib.GSkyRegionMap()). This makes the
241   -map empty and csphagen then checks the "inexclusion" "parameter (#2925).
242   -
243   -Add ebingamma parameter and support for POW binning (#2881).
  220 +None
244 221  
245 222  
246 223 csphasecrv - Generate phase curve
... ... @@ -255,12 +232,12 @@ None
255 232  
256 233 csresmap - Generate residual map
257 234 --------------------------------
258   -Add ebingamma parameter and support for POW binning (#2881).
  235 +None
259 236  
260 237  
261 238 csresspec - Generate residual spectrum
262 239 --------------------------------------
263   -Add ebingamma parameter and support for POW binning (#2881).
  240 +None
264 241  
265 242  
266 243 csroot2caldb - Generates calibration database from ROOT file
... ... @@ -270,39 +247,27 @@ None
270 247  
271 248 csscs - Spectral component separation
272 249 -------------------------------------
273   -Add new script that performs a spectral component separation analysis. A
274   -tutorial and reference manual is included that explains how the script
275   -works (#2961).
  250 +None
276 251  
277 252  
278 253 cssens - Computes sensitivity curve
279 254 -----------------------------------
280   -Allow using spectral models without "Prefactor" parameter for sensitivity
281   -computation (#1889).
  255 +None
282 256  
283 257  
284 258 csspec - Generates Spectral Energy Distribution
285 259 -----------------------------------------------
286   -Support to generate Castro plots was added and the relevant information is
287   -now sorted in the output FITS file (#2938).
288   -
289   -Add ebingamma parameter and support for POW binning (#2881).
  260 +None
290 261  
291 262  
292 263 cssrcdetect - Detects sources in sky map
293 264 ----------------------------------------
294   -The using of a smoothing kernel in the _map_moments() method can lead to
295   -negative squared standard deviations that lead to an exception when the square
296   -root is taken. To avoid negative values, the minimum pixel values for the
297   -standard deviation map is computed and, if the minimum value is negative,
298   -subtracted from the standard deviation map. Therefore, by definition, the
299   -standard deviation map is non negative for all pixels (#3261).
  265 +None
300 266  
301 267  
302 268 cstsdist - Computes Test Statistic distribution
303 269 -----------------------------------------------
304   -Allow using spectral models without "Prefactor" parameter for computation of
305   -TS distribution (#1889).
  270 +None
306 271  
307 272  
308 273 cstsmapmerge - Merge Test Statistic maps
... ... @@ -317,15 +282,7 @@ None
317 282  
318 283 csviscube - Generate visibility cube
319 284 ------------------------------------
320   -Moon contraints were added to compute a more accurate visibility cube. So far
321   -there are two constraints:
322   -- moonzenith, which specifies a minimum allow zenith angle for the Moon. In
323   - other words, if the Moon is higher in the sky than the specified zenith
324   - angle, the corresponding times are excluded from the visibility cube.
325   -- maxfli, which specifies the maximum fraction of lunar illumination. If the
326   - Moon has an illumination that is equal or larger than this fraction, the
327   - corresponding times are excluded from the visibility cube.
328   -(#3065).
  285 +None
329 286  
330 287  
331 288 csworkflow - Execute workflow
... ... @@ -345,9 +302,7 @@ None
345 302  
346 303 modutils - Model utilities
347 304 --------------------------
348   -Allow using spectral models without "Prefactor" parameter as test source in
349   -test_source() function. Add normalisation_parameter() function to retrieve
350   -spectral normalisation parameter from any model (#1889).
  305 +None
351 306  
352 307  
353 308 mputils - Multiprocessing utilities
... ... @@ -357,20 +312,12 @@ None
357 312  
358 313 obsutils - Observation utilities
359 314 --------------------------------
360   -Fix numerical glitch in residual computation in residuals() function (#2765).
  315 +None
361 316  
362 317  
363 318 Examples
364 319 --------
365   -In show_pull_histogram.py relpaced the call to mlab.normpdf() by a direct
366   -computation of the normalisation, so that the code also works for matplotlib
367   -> 3.1.0 (#3156).
368   -
369   -The show_viscube.py script was added to display a visibility cube (#3065).
370   -
371   -The example scripts show_butterfly.py, show_spectrum.py, show_residuals.py
372   -and show_significance_distribution.py can now be run using objects that only
373   -exist in memory (#2925).
  320 +None
374 321  
375 322  
376 323 caldb
... ...
doc/source/admin/release_history/1.7.1.rst 0 → 100644
  1 +.. _1.7.1:
  2 +
  3 +ctools 1.7.1 release (20 July 2020)
  4 +===================================
  5 +
  6 +Overview
  7 +--------
  8 +
  9 +ctools 1.7.1 is a bug fix release for ctools release 1.7.
  10 +
  11 +The following bugs were fixed:
  12 +
  13 +* ...
  14 +
  15 +
  16 +The following improvements were done:
  17 +
  18 +* [`3275 <https://cta-redmine.irap.omp.eu/issues/3275>`_] -
  19 + Speed-up ctbin for stacked event binning
... ...
doc/source/admin/release_history/index.rst
... ... @@ -6,6 +6,7 @@ Release History
6 6 .. toctree::
7 7 :maxdepth: 1
8 8  
  9 + ctools 1.7.1 <1.7.1>
9 10 ctools 1.7 <1.7>
10 11 ctools 1.6.3 <1.6.3>
11 12 ctools 1.6.2 <1.6.2>
... ...