Commit 2299f91b311dec91032408123e32e505771aa2b8

Authored by Jürgen Knödlseder
1 parent db97908e

Add documentation for csviscube and update change log and News

ChangeLog
1   -2016-10-04
  1 +2016-10-05
2 2  
3 3 * Version 1.2.0 released
4 4 ========================
5 5  
  6 + Add csviscube script (#1853)
6 7 Add zenith and azimuth angle information to IRF caldb (#1853)
7 8 Fix ctbin segfault bug for varying energy thresholds (#1850)
8 9 Make csresmap enumbins parameter hidden (#1844)
... ...
1 1 New Features and Important Changes in ctools 1.2.0
2 2  
3   -4 October 2016
  3 +5 October 2016
4 4  
5 5  
6 6 Introduction
... ... @@ -193,7 +193,12 @@ removed the obsolete functions fit(), cterror(), cntmap() and modmap() from the
193 193 "obsutils" module (#1830).
194 194  
195 195 The csroot2caldb script now takes the zenith and azimuth angles as parameters
196   -and writes them into the calibration database.
  196 +and writes them into the calibration database (#1835).
  197 +
  198 +Added a csviscube script that computes the visibility cube providing the number
  199 +of hours that a given position on the sky is observable under a given zenith
  200 +angle by an IACT array during a given time period. The tool implements so far
  201 +a Sun constraint, but no Moon constraint (#1835).
197 202  
198 203  
199 204 Examples
... ...
doc/source/users/reference_manual/csviscube.rst 0 → 100644
  1 +.. _csviscube:
  2 +
  3 +csviscube
  4 +=========
  5 +
  6 +Computes visibility cube for a given IACT array and time period.
  7 +
  8 +
  9 +Synopsis
  10 +--------
  11 +
  12 +This script computes a visibility cube which is a sky cube spanned by Right
  13 +Ascension, Declination and zenith angle that provides the number of hours
  14 +that a given position on the sky is observable under a given zenith angle
  15 +by an IACT array during a given time period.
  16 +
  17 +For the moment, the script takes into account a Sun constraint, specified as
  18 +a minimum zenith angle of the Sun for observations (hidden parameter ``sunzenith``).
  19 +No Moon constraint has been implemented so far.
  20 +
  21 +On output, the script will provide a FITS file containing the visibility cube.
  22 +
  23 +
  24 +General parameters
  25 +------------------
  26 +
  27 +``tmin [real]``
  28 + Start time of the observation.
  29 +
  30 +``tmax [real]``
  31 + Stop time of the observation.
  32 +
  33 +``geolon [real]``
  34 + Geographic longitude of the IACT array in degrees.
  35 +
  36 +``geolat [real]``
  37 + Geographic latitude of the IACT array in degrees.
  38 +
  39 +``(sunzenith = 105.0) [real]``
  40 + Minimum Sun zenith angle for observations in degrees.
  41 +
  42 +``(moonzenith = 90.0) [real]``
  43 + Minimum Moon zenith angle for observations in degrees.
  44 +
  45 +``outfile [file]``
  46 + Output visibility cube file.
  47 +
  48 +``(binsz = 1.0) [real]``
  49 + Visibility cube pixel size in degrees/pixel.
  50 +
  51 +``(dz = 1.0) [real]``
  52 + Visibility cube zenith angle bin size in degrees.
  53 +
  54 +``(zmax = 60.0) [real]``
  55 + Maximum zenith angle of the visibility cube in degrees.
  56 +
  57 +
  58 +Standard parameters
  59 +-------------------
  60 +
  61 +``(chatter = 2) [integer]``
  62 + Verbosity of the executable:
  63 + chatter = 0: no information will be logged
  64 +
  65 + chatter = 1: only errors will be logged
  66 +
  67 + chatter = 2: errors and actions will be logged
  68 +
  69 + chatter = 3: report about the task execution
  70 +
  71 + chatter = 4: detailed report about the task execution
  72 +
  73 +``(clobber = yes) [boolean]``
  74 + Specifies whether an existing visibility cube file should be overwritten.
  75 +
  76 +``(debug = no) [boolean]``
  77 + Enables debug mode. In debug mode the executable will dump any log file output to the console.
  78 +
  79 +``(mode = ql) [string]``
  80 + Mode of automatic parameters (default is "ql", i.e. "query and learn").
  81 +
  82 +``(logfile = csviscube.log) [filename]``
  83 + Log filename.
  84 +
  85 +
  86 +Related tools or scripts
  87 +------------------------
  88 +
  89 +None
... ...
doc/source/users/reference_manual/index.rst
... ... @@ -40,6 +40,7 @@ cscripts
40 40 :maxdepth: 1
41 41  
42 42 cscaldb --- Lists available instrument response functions <cscaldb>
  43 + csviscube --- Computes visibility cube <csviscube>
43 44 cslightcrv --- Computes lightcurve <cslightcrv>
44 45 csmodelinfo --- Shows model container content <csmodelinfo>
45 46 csmodelmerge --- Merges several model containers into one file <csmodelmerge>
... ...