Commit a36f0bd6fa24fc0860f8cb4d05e61a297a6501ac

Authored by Jürgen Knödlseder
1 parent 2560f44f

Reorganise IRF description in User Manual

doc/source/users/user_manual/index.rst
... ... @@ -10,6 +10,6 @@ User Manual
10 10 data
11 11 likelihood
12 12 models
13   - response
  13 + irf
14 14 classical
15 15 observations
... ...
doc/source/users/user_manual/irf.rst 0 → 100755
  1 +.. _um_irf:
  2 +
  3 +Instrument Response Functions
  4 +-----------------------------
  5 +
  6 +.. toctree::
  7 + :maxdepth: 1
  8 +
  9 + irf_intro
  10 + irf_cta
... ...
doc/source/users/user_manual/response.rst renamed to doc/source/users/user_manual/irf_cta.rst
1   -.. _um_response:
2   -
3   -Instrument Response Functions
4   ------------------------------
5   -
6   -What are instrument response functions?
7   -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8   -
9   -The instrument response functions provide a mathematical description that
10   -links the reconstructed photon arrival direction :math:`p'`, energy :math:`E'`
11   -and trigger time :math:`t'` of an event to the true incident direction
12   -:math:`p`, energy :math:`E` and time :math:`t` of a photon. The following
13   -figure illustrates this relationship:
14   -
15   -.. figure:: irfs.jpg
16   - :width: 70%
17   -
18   -:math:`I(p,E,t)` is the gamma-ray intensity arriving at Earth as a function of
19   -direction :math:`p`, energy :math:`E` and time :math:`t`. :math:`e(p',E',t')`
20   -is the expected event rate as function of the reconstructed direction
21   -:math:`p'`, energy :math:`E'` and trigger time :math:`t'`. The expected event
22   -rate is obtained by integrating the product of the instrumental response
23   -function :math:`R(p',E',t'|p,E,t)` and the emitted intensity :math:`I(p,E,t)`
24   -over the direction, energy and time.
25   -
  1 +.. _um_irf_cta:
26 2  
27 3 CTA response functions
28   -~~~~~~~~~~~~~~~~~~~~~~
  4 +----------------------
  5 +
  6 +Factorisation
  7 +~~~~~~~~~~~~~
29 8  
30 9 The instrument response functions for CTA (as well as the other IACTs such as
31 10 H.E.S.S., VERITAS and MAGIC) are factorised into
... ... @@ -50,6 +29,36 @@ and
50 29 .. math::
51 30 \int E_{\rm disp}(E' | p, E, t) dE' = 1
52 31  
  32 +
  33 +Format
  34 +~~~~~~
  35 +
  36 +Each response is stored in a single FITS file, and each component of the
  37 +response factorisation is stored in a binary table of that FITS file.
  38 +In addition, the response files contain an additional table that describes the
  39 +background rate as function of energy and position in the field of view.
  40 +An example of a CTA response file is shown below:
  41 +
  42 +.. figure:: irf_cta_file.png
  43 + :width: 100%
  44 +
  45 +Each table in the response file is in a standardised format that is the one
  46 +that is also used for the Fermi/LAT telescope. As an example, the effective
  47 +area component of the response file is shown below. Response information is
  48 +stored in a n-dimensional cube, and each axis of this cube is described by the
  49 +lower and upper edges of the axis bins. In this example the effective area is
  50 +stored as a 2D matrix with the first axis being energy and the second axis
  51 +being offaxis angle. Effective area information is stored for true
  52 +(``EFFAREA``) and reconstructed (``EFFAREA_RECO``) energy. Vector columns are
  53 +used to store all information.
  54 +
  55 +.. figure:: irf_cta_aeff.png
  56 + :width: 100%
  57 +
  58 +
  59 +Getting CTA IRFs
  60 +~~~~~~~~~~~~~~~~
  61 +
53 62 ctools are shipped with the CTA ``prod2`` response functions for the northern
54 63 and southern arrays, and variants are available that have been optimised for
55 64 exposure times of 0.5 hours, 5 hours and 50 hours.
... ... @@ -82,32 +91,6 @@ In total, the following six instrument response functions are available:
82 91 To use the prod3b-v1 response functions, specify ``prod3b-v1`` if a tool
83 92 or script queries for the calibration database.
84 93  
85   -Each response is stored in a single FITS file, and each component of
86   -the response factorisation is stored in a binary table of that FITS
87   -file.
88   -In addition, the response files contain an additional table that
89   -describes the background rate as function of energy and position in
90   -the field of view.
91   -An example of a CTA response file is shown below:
92   -
93   -.. figure:: irf-file.png
94   - :width: 100%
95   -
96   -Each table in the response file is in a standardised format that is
97   -the one that is also used for the Fermi/LAT telescope.
98   -As an example, the effective area component of the response file
99   -is shown below.
100   -Response information is stored in a n-dimensional cube, and each axis
101   -of this cube is described by the lower and upper edges of the axis bins.
102   -In this example the effective area is stored as a 2D matrix with the
103   -first axis being energy and the second axis being offaxis angle.
104   -Effective area information is stored for true (``EFFAREA``) and
105   -reconstructed (``EFFAREA_RECO``) energy.
106   -Vector columns are used to store all information.
107   -
108   -.. figure:: irf-aeff.png
109   - :width: 100%
110   -
111 94  
112 95 Specifying CTA response functions
113 96 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... ...
doc/source/users/user_manual/irf-aeff.png renamed to doc/source/users/user_manual/irf_cta_aeff.png

3.24 KB

doc/source/users/user_manual/irf-file.png renamed to doc/source/users/user_manual/irf_cta_file.png

7.1 KB

doc/source/users/user_manual/irf_intro.rst 0 → 100755
  1 +.. _um_irf_intro:
  2 +
  3 +What are instrument response functions?
  4 +---------------------------------------
  5 +
  6 +The instrument response functions provide a mathematical description that
  7 +links the reconstructed photon arrival direction :math:`p'`, energy :math:`E'`
  8 +and trigger time :math:`t'` of an event to the true incident direction
  9 +:math:`p`, energy :math:`E` and time :math:`t` of a photon. The following
  10 +figure illustrates this relationship:
  11 +
  12 +.. figure:: irfs.jpg
  13 + :width: 70%
  14 +
  15 +:math:`I(p,E,t)` is the gamma-ray intensity arriving at Earth as a function of
  16 +direction :math:`p`, energy :math:`E` and time :math:`t`. :math:`e(p',E',t')`
  17 +is the expected event rate as function of the reconstructed direction
  18 +:math:`p'`, energy :math:`E'` and trigger time :math:`t'`. The expected event
  19 +rate is obtained by integrating the product of the instrumental response
  20 +function :math:`R(p',E',t'|p,E,t)` and the emitted intensity :math:`I(p,E,t)`
  21 +over the direction, energy and time.
... ...
doc/source/users/user_manual/models_concept.rst
... ... @@ -9,7 +9,7 @@ Generally, the measured events can be separated into two distinct classes:
9 9 events being attributed to gamma rays of celestial origin (the "source"
10 10 events) or events being attributed to any other kind of trigger (the
11 11 "background" events).
12   -In the first case, the :ref:`Instrument Response Functions (IRFs) <um_response>`
  12 +In the first case, the :ref:`Instrument Response Functions (IRFs) <um_irf>`
13 13 describe how an incident gamma-ray converts into a measured event.
14 14 In the second case there is often no general prescription, and the
15 15 distribution of background events is commonly modeled directly in the data
... ... @@ -28,7 +28,7 @@ Model components are generally parametric, and model parameters can be
28 28 adjusted through a maximum likelihood procedure to find the set of
29 29 parameters that represent best the measured data.
30 30 Model components representing celestial sources are convolved with the
31   -:ref:`IRFs <um_response>` to predict the expected number of source events in
  31 +:ref:`IRFs <um_irf>` to predict the expected number of source events in
32 32 the data.
33 33 Background model components will be directly expressed as expected number
34   -of background events without any :ref:`IRF <um_response>` convolution.
  34 +of background events without any :ref:`IRF <um_irf>` convolution.
... ...
doc/source/users/user_manual/models_implementation.rst
... ... @@ -19,7 +19,7 @@ a point source at the location of the Crab nebula with a power law spectral
19 19 shape that is constant in time.
20 20 The background component ``Background`` is modelled using the template that is
21 21 provided with the
22   -:ref:`Instrument Response Functions (IRFs) <um_response>`
  22 +:ref:`Instrument Response Functions (IRFs) <um_irf>`
23 23 and that is multiplied by a spectral power law function.
24 24  
25 25 .. code-block:: xml
... ...
doc/source/users/user_manual/models_spatial_bgd.rst
... ... @@ -246,7 +246,7 @@ Radial acceptance background
246 246 CTA IRF background
247 247 ^^^^^^^^^^^^^^^^^^
248 248  
249   - The :ref:`Instrument Response Functions (IRFs) <um_response>` contain a template
  249 + The :ref:`Instrument Response Functions (IRFs) <um_irf>` contain a template
250 250 that predicts the background rate as function of position in the field of view
251 251 and measured energy in units of
252 252 :math:`{\rm events} \, {\rm s}^{-1} {\rm MeV}^{-1} {\rm sr}^{-1}`. This template
... ...