Commit 7efd7d9908f70a7081eff02296155d4bf702cfb7

Authored by Jürgen Knödlseder
1 parent c8af36c9

Update 1DC documentation introduction

doc/source/users/glossary.rst
@@ -11,7 +11,19 @@ Glossary @@ -11,7 +11,19 @@ Glossary
11 11
12 .. topic:: First CTA Data Challenge 12 .. topic:: First CTA Data Challenge
13 13
14 - Bla bla ... 14 + The goal of the first CTA Data Challenge is to enable the CTA Consortium
  15 + Science Working Groups to derive science benchmarks for the CTA Key Science
  16 + objectives.
  17 +
  18 + The first CTA Data Challenge should provide quantitative estimates of CTA's
  19 + science capabilities that will enable the CTA Consortium Science Working
  20 + Groups to evaluate science trade-offs in the future. The first CTA Data
  21 + Challenge should also result in numerous show cases, including for example
  22 + images, spectra and light curves, that can be used to illustrate CTA's
  23 + science case, and that should enrich the CTA outreach material. And the
  24 + first CTA Data Challenge should also stimulate the enrichment of the CTA
  25 + Science Case.
  26 +
15 27
16 .. _glossary_gti: 28 .. _glossary_gti:
17 29
doc/source/users/tutorials/1dc/data_organisation.rst
@@ -3,6 +3,9 @@ @@ -3,6 +3,9 @@
3 Data organisation 3 Data organisation
4 ----------------- 4 -----------------
5 5
  6 +Layout
  7 +^^^^^^
  8 +
6 The content of the ``1dc`` folder should be as follows: 9 The content of the ``1dc`` folder should be as follows:
7 10
8 .. code-block:: bash 11 .. code-block:: bash
@@ -51,11 +54,15 @@ The content of the ``1dc`` folder should be as follows: @@ -51,11 +54,15 @@ The content of the ``1dc`` folder should be as follows:
51 models/map_ics.fits.gz 54 models/map_ics.fits.gz
52 models/map_pi0.fits.gz 55 models/map_pi0.fits.gz
53 56
  57 +
  58 +Instrument Response Functions
  59 +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  60 +
54 The ``caldb`` folder contains the 61 The ``caldb`` folder contains the
55 :ref:`Instrument Response Functions <glossary_irf>` 62 :ref:`Instrument Response Functions <glossary_irf>`
56 that are necessary for the analysis of the simulated CTA data. 63 that are necessary for the analysis of the simulated CTA data.
57 The folder contains the ``prod3b`` response that should be used for the 64 The folder contains the ``prod3b`` response that should be used for the
58 -:ref:`First CTA Data Challenge <glossary_1dc>`. 65 +:ref:`first CTA Data Challenge <glossary_1dc>`.
59 The following response functions are available: 66 The following response functions are available:
60 67
61 +-----------------------+-------+---------------+--------+----------+ 68 +-----------------------+-------+---------------+--------+----------+
@@ -110,16 +117,30 @@ The following response functions are available: @@ -110,16 +117,30 @@ The following response functions are available:
110 | ``North_TS_z40_0.5h`` | North | Threshold | 40 deg | 30 min | 117 | ``North_TS_z40_0.5h`` | North | Threshold | 40 deg | 30 min |
111 +-----------------------+-------+---------------+--------+----------+ 118 +-----------------------+-------+---------------+--------+----------+
112 119
  120 +.. warning::
  121 + The **50 hours**
  122 + :ref:`Instrument Response Functions <glossary_irf>`
  123 + were used for the **simulation** of the
  124 + :ref:`first CTA Data Challenge <glossary_1dc>`
  125 + data. Please use only these response functions for the analysis. If you use
  126 + :ref:`Observation Definition Files <glossary_obsdef>`
  127 + for the analysis (see below) the appropriate 50 hours response functions
  128 + will be used automatically.
  129 +
  130 +
  131 +Event data
  132 +^^^^^^^^^^
  133 +
113 The ``data`` folder contains the calibrated, reconstructed and background 134 The ``data`` folder contains the calibrated, reconstructed and background
114 reduced event data that were procuded for the 135 reduced event data that were procuded for the
115 -:ref:`First CTA Data Challenge <glossary_1dc>` 136 +:ref:`first CTA Data Challenge <glossary_1dc>`
116 and that were stored into FITS files. 137 and that were stored into FITS files.
117 Each event file contains the events for an 138 Each event file contains the events for an
118 :ref:`observation <glossary_obs>` 139 :ref:`observation <glossary_obs>`
119 (or run) of 30 minutes duration and comprises an 140 (or run) of 30 minutes duration and comprises an
120 -:ref:`event lists <glossary_eventlist>` 141 +:ref:`event list <glossary_eventlist>`
121 and a 142 and a
122 -:ref:`Good Time Interval <glossary_gti>` 143 +:ref:`Good Time Intervals <glossary_gti>`
123 binary table extension (see figure below). 144 binary table extension (see figure below).
124 145
125 .. figure:: event_file.png 146 .. figure:: event_file.png
@@ -145,7 +166,8 @@ the pointing direction in Right Ascension and Declination (see figure below). @@ -145,7 +166,8 @@ the pointing direction in Right Ascension and Declination (see figure below).
145 The pointing direction during an observation is fixed. 166 The pointing direction during an observation is fixed.
146 167
147 .. warning:: 168 .. warning::
148 - Only the following header keywords have meaningful values: 169 + Only the following header keywords in the ``EVENTS`` table have meaningful
  170 + values:
149 171
150 * ``DATE_OBS`` - start date of observation (UTC) 172 * ``DATE_OBS`` - start date of observation (UTC)
151 * ``TIME_OBS`` - start time of observation (UTC) 173 * ``TIME_OBS`` - start time of observation (UTC)
@@ -218,12 +240,16 @@ Event files exist for @@ -218,12 +240,16 @@ Event files exist for
218 | Extragalactic | Threshold | ``egal_threshold`` | 240 | Extragalactic | Threshold | ``egal_threshold`` |
219 +-----------------+---------------+--------------------+ 241 +-----------------+---------------+--------------------+
220 242
  243 +
  244 +Observation Definition Files
  245 +^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  246 +
221 The files ``obs_XXX_YYYYY.xml`` are so called 247 The files ``obs_XXX_YYYYY.xml`` are so called
222 :ref:`Observation Definition Files <glossary_obsdef>` 248 :ref:`Observation Definition Files <glossary_obsdef>`
223 that contain the information (or metadata) of a list of observations. 249 that contain the information (or metadata) of a list of observations.
224 -The files are plain ASCII files in XML format that be inspected and 250 +The files are plain ASCII files in XML format that can be inspected and
225 manipulated by any text editor. 251 manipulated by any text editor.
226 -The following files are included in the data distribution: 252 +The following files are included in the distribution:
227 253
228 +----------------------------+--------------------------------------------------------+ 254 +----------------------------+--------------------------------------------------------+
229 | File | Purpose | 255 | File | Purpose |
@@ -245,8 +271,12 @@ The following files are included in the data distribution: @@ -245,8 +271,12 @@ The following files are included in the data distribution:
245 | ``obs_all_threshold.xml`` | All surveys combined performed with threshold arrays | 271 | ``obs_all_threshold.xml`` | All surveys combined performed with threshold arrays |
246 +----------------------------+--------------------------------------------------------+ 272 +----------------------------+--------------------------------------------------------+
247 273
  274 +
  275 +Models
  276 +^^^^^^
  277 +
248 The ``models`` folder contains the definitions of all source and background 278 The ``models`` folder contains the definitions of all source and background
249 -models that have been used for simulating the data. 279 +models that were used for simulating the data.
250 The file ``models_gc.xml`` is a so called 280 The file ``models_gc.xml`` is a so called
251 :ref:`Model Definition File <glossary_moddef>` 281 :ref:`Model Definition File <glossary_moddef>`
252 that collects the definition of all model components used for the Galactic 282 that collects the definition of all model components used for the Galactic
@@ -255,9 +285,11 @@ The files ``models_gps.xml`` and ``models_egal.xml`` are the equivalent files @@ -255,9 +285,11 @@ The files ``models_gps.xml`` and ``models_egal.xml`` are the equivalent files
255 for the Galactic Plane Survey and the Extragalactic Survey. 285 for the Galactic Plane Survey and the Extragalactic Survey.
256 The other files in the folder are FITS files containing sky maps that were 286 The other files in the folder are FITS files containing sky maps that were
257 used as spatial templates for modelling extended or diffuse emission components. 287 used as spatial templates for modelling extended or diffuse emission components.
258 -There files are reference in the  
259 -:ref:`Model Definition File <glossary_moddef>`  
260 -files. 288 +
  289 +.. warning::
  290 + The FITS template files should always reside in the same folder as the
  291 + :ref:`model definition XML files <glossary_moddef>`
  292 + since the latter reference the former.
261 293
262 294
263 295
doc/source/users/tutorials/1dc/first.rst
@@ -4,18 +4,20 @@ First analysis steps @@ -4,18 +4,20 @@ First analysis steps
4 ==================== 4 ====================
5 5
6 The following sections describe how to analyse data from the 6 The following sections describe how to analyse data from the
7 -:ref:`First CTA Data Challenge <glossary_1dc>` 7 +:ref:`first CTA Data Challenge <glossary_1dc>`
8 using ctools. 8 using ctools.
9 If you have never used ctools before or if you have never analysed data from the 9 If you have never used ctools before or if you have never analysed data from the
10 -:ref:`First CTA Data Challenge <glossary_1dc>`, 10 +:ref:`first CTA Data Challenge <glossary_1dc>`,
11 this is the place where you should start. 11 this is the place where you should start.
12 12
13 We assume that you have downloaded the data of the 13 We assume that you have downloaded the data of the
14 -:ref:`First CTA Data Challenge <glossary_1dc>` 14 +:ref:`first CTA Data Challenge <glossary_1dc>`
15 and that you have successfully installed the ctools package. 15 and that you have successfully installed the ctools package.
16 -If this is not the case, please read :ref:`1dc_getting`. 16 +If this is not the case, please read
  17 +:ref:`how to get the tools <1dc_getting_tools>` and
  18 +:ref:`how to get the data <1dc_getting_data>`.
17 We also assume that you have read the section about 19 We also assume that you have read the section about
18 -:ref:`1dc_data_organisation`. 20 +:ref:`the data organisation <1dc_data_organisation>`.
19 21
20 .. toctree:: 22 .. toctree::
21 :maxdepth: 2 23 :maxdepth: 2
doc/source/users/tutorials/1dc/getting_data.rst
@@ -4,7 +4,7 @@ Getting the data @@ -4,7 +4,7 @@ Getting the data
4 ================ 4 ================
5 5
6 The data for the 6 The data for the
7 -:ref:`First CTA Data Challenge <glossary_1dc>` 7 +:ref:`first CTA Data Challenge <glossary_1dc>`
8 are bundled with the 8 are bundled with the
9 :ref:`Instrument Response Functions <glossary_irf>` 9 :ref:`Instrument Response Functions <glossary_irf>`
10 into a single tarball. 10 into a single tarball.
@@ -22,7 +22,8 @@ You can then uncompress and deploy the data at any place by typing @@ -22,7 +22,8 @@ You can then uncompress and deploy the data at any place by typing
22 should be typed on the command line of a console. 22 should be typed on the command line of a console.
23 23
24 After deploying you should have the folder ``1dc`` in your current working 24 After deploying you should have the folder ``1dc`` in your current working
25 -directory. Within that directory, please set the following environment variables: 25 +directory. In your current working directory, please type the following to
  26 +set the ``CALDB`` and ``CTADATA`` environment variables:
26 27
27 .. code-block:: bash 28 .. code-block:: bash
28 29
doc/source/users/tutorials/1dc/getting_tools.rst
@@ -4,6 +4,7 @@ Getting the analysis tools @@ -4,6 +4,7 @@ Getting the analysis tools
4 ========================== 4 ==========================
5 5
6 We recommend that you use ctools to analyse the data from the 6 We recommend that you use ctools to analyse the data from the
7 -:ref:`First CTA Data Challenge <glossary_1dc>`. 7 +:ref:`first CTA Data Challenge <glossary_1dc>`.
  8 +
8 Please read :ref:`getting the ctools <sec_getting>` to learn how to 9 Please read :ref:`getting the ctools <sec_getting>` to learn how to
9 install and configure the ctools package. 10 install and configure the ctools package.
doc/source/users/tutorials/1dc/scope.rst
1 .. _1dc_scope: 1 .. _1dc_scope:
2 2
3 -Scope of the First CTA Data Challenge 3 +Scope of the first CTA Data Challenge
4 ===================================== 4 =====================================
5 5
6 The goal of the 6 The goal of the
7 -:ref:`First CTA Data Challenge <glossary_1dc>`  
8 -is to enable the CTA Consortium Science Working Groups to derive science  
9 -benchmarks for the CTA Key Science objectives. 7 +:ref:`first CTA Data Challenge <glossary_1dc>`
  8 +is to enable the CTA Consortium Science Working Groups to derive **science
  9 +benchmarks** for the CTA Key Science objectives.
  10 +
10 The 11 The
11 -:ref:`First CTA Data Challenge <glossary_1dc>`  
12 -should provide quantitative estimates of CTA's science capabilities that 12 +:ref:`first CTA Data Challenge <glossary_1dc>`
  13 +should provide **quantitative estimates** of CTA's science capabilities that
13 will enable the CTA Consortium Science Working Groups to evaluate science 14 will enable the CTA Consortium Science Working Groups to evaluate science
14 -trade offs in the future. 15 +trade-offs in the future.
15 The 16 The
16 -:ref:`First CTA Data Challenge <glossary_1dc>`  
17 -should also result in numerous show cases, including for example images, 17 +:ref:`first CTA Data Challenge <glossary_1dc>`
  18 +should also result in numerous **show cases**, including for example images,
18 spectra and light curves, that can be used to illustrate CTA's science case, 19 spectra and light curves, that can be used to illustrate CTA's science case,
19 and that should enrich the CTA outreach material. 20 and that should enrich the CTA outreach material.
20 -Last but not least, the  
21 -:ref:`First CTA Data Challenge <glossary_1dc>`  
22 -should also stimulate the enrichment of the CTA Science Case. 21 +And the
  22 +:ref:`first CTA Data Challenge <glossary_1dc>`
  23 +should also stimulate the **enrichment of the CTA Science Case**.
23 24
24 The data distributed in the 25 The data distributed in the
25 -:ref:`First CTA Data Challenge <glossary_1dc>` 26 +:ref:`first CTA Data Challenge <glossary_1dc>`
26 are high-level data in form of 27 are high-level data in form of
27 :ref:`event lists <glossary_eventlist>` 28 :ref:`event lists <glossary_eventlist>`
28 and 29 and
@@ -36,10 +37,10 @@ that correspond to an ideal CTA with good and stable atmosphere and instrument @@ -36,10 +37,10 @@ that correspond to an ideal CTA with good and stable atmosphere and instrument
36 conditions; only zenith angles of 20 degrees and 40 degrees have been 37 conditions; only zenith angles of 20 degrees and 40 degrees have been
37 simulated. 38 simulated.
38 39
39 -Data are provided for the Baseline arrays and the Threshold Implementation. 40 +Data are provided for the baseline arrays and the threshold implementation.
40 41
41 Three Key Science Projects (KSPs) have been simulated using realistic pointing 42 Three Key Science Projects (KSPs) have been simulated using realistic pointing
42 -patterns: 43 +patterns as defined in the CTA Science Case document:
43 44
44 * the Galactic Plane Scan (GPS) 45 * the Galactic Plane Scan (GPS)
45 * the Galactic Centre Survey (GC) 46 * the Galactic Centre Survey (GC)