From e6767424cee8b2a5b2eb9920d12412149e2bbb8b Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 3 Feb 2017 11:47:59 +0100 Subject: [PATCH] Update 1DC HowTo --- doc/source/users/tutorials/1dc/data_organisation.rst | 30 +++++++++++++++--------------- doc/source/users/tutorials/1dc/howto.rst | 19 ++++++++++++++++--- doc/source/users/tutorials/1dc/howto_lightcurve.rst | 2 +- doc/source/users/tutorials/1dc/howto_phasecurve.rst | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 82 insertions(+), 19 deletions(-) create mode 100644 doc/source/users/tutorials/1dc/howto_phasecurve.rst diff --git a/doc/source/users/tutorials/1dc/data_organisation.rst b/doc/source/users/tutorials/1dc/data_organisation.rst index d4b62aa..511b147 100644 --- a/doc/source/users/tutorials/1dc/data_organisation.rst +++ b/doc/source/users/tutorials/1dc/data_organisation.rst @@ -224,21 +224,21 @@ An example of an ``EVENTS`` table is shown below. Event files exist for - +-----------------+---------------+--------------------+ - | Survey | Configuration | Prefix | - +=================+===============+====================+ - | Galactic Centre | Baseline | ``gc_baseline`` | - +-----------------+---------------+--------------------+ - | Galactic Plane | Baseline | ``gps_baseline`` | - +-----------------+---------------+--------------------+ - | Extragalactic | Baseline | ``egal_baseline`` | - +-----------------+---------------+--------------------+ - | Galactic Centre | Threshold | ``gc_threshold`` | - +-----------------+---------------+--------------------+ - | Galactic Plane | Threshold | ``gps_threshold`` | - +-----------------+---------------+--------------------+ - | Extragalactic | Threshold | ``egal_threshold`` | - +-----------------+---------------+--------------------+ + +-----------------+---------------+--------------------+------------------+ + | Survey | Configuration | Prefix | Energy range | + +=================+===============+====================+==================+ + | Galactic Centre | Baseline | ``gc_baseline`` | | + +-----------------+---------------+--------------------+------------------+ + | Galactic Plane | Baseline | ``gps_baseline`` | 30 GeV - 120 TeV | + +-----------------+---------------+--------------------+------------------+ + | Extragalactic | Baseline | ``egal_baseline`` | | + +-----------------+---------------+--------------------+------------------+ + | Galactic Centre | Threshold | ``gc_threshold`` | | + +-----------------+---------------+--------------------+------------------+ + | Galactic Plane | Threshold | ``gps_threshold`` | | + +-----------------+---------------+--------------------+------------------+ + | Extragalactic | Threshold | ``egal_threshold`` | | + +-----------------+---------------+--------------------+------------------+ Observation Definition Files diff --git a/doc/source/users/tutorials/1dc/howto.rst b/doc/source/users/tutorials/1dc/howto.rst index e534fc4..c33e010 100644 --- a/doc/source/users/tutorials/1dc/howto.rst +++ b/doc/source/users/tutorials/1dc/howto.rst @@ -3,9 +3,8 @@ Analysis cookbook ================= -The following sections provide some working examples for the analysis -of data from the -:ref:`first CTA Data Challenge `. +The following sections explain how you can address some specific analysis +issues. .. toctree:: :maxdepth: 2 @@ -14,4 +13,18 @@ of data from the howto_tsmap howto_ulimit howto_lightcurve + howto_phasecurve howto_exclude + +If you cannot find the answer to your question, have a look at the +:ref:`first steps with ctools ` +and the +:ref:`beyond the first steps ` +sections of the User Manual. You may also consult the +:ref:`Reference Manual ` +as well as the +:ref:`frequently asked questions `. +If after this you still need some help, please create a +`support ticket `_. +Specify ``Support`` as Tracker, choose a short and meaningful subject, +and add an exhaustive description of your request. diff --git a/doc/source/users/tutorials/1dc/howto_lightcurve.rst b/doc/source/users/tutorials/1dc/howto_lightcurve.rst index 497b92a..d5d40f1 100644 --- a/doc/source/users/tutorials/1dc/howto_lightcurve.rst +++ b/doc/source/users/tutorials/1dc/howto_lightcurve.rst @@ -1,4 +1,4 @@ -.. _1dc_howto_ligutcurve: +.. _1dc_howto_ligthcurve: How to generate a light curve? ------------------------------ diff --git a/doc/source/users/tutorials/1dc/howto_phasecurve.rst b/doc/source/users/tutorials/1dc/howto_phasecurve.rst new file mode 100644 index 0000000..79b1ff8 --- /dev/null +++ b/doc/source/users/tutorials/1dc/howto_phasecurve.rst @@ -0,0 +1,50 @@ +.. _1dc_howto_phasecurve: + +How to generate a phase curve of a pulsar or a gamma-ray binary? +---------------------------------------------------------------- + +So far there are no tools in ctools to generate phase curves of pulsars or +gamma-ray binaries. A plugin for +`tempo2 `_ +is under development by the ctools developers, and you may get in touch +with Thierry Reposeur (reposeur@in2p3.fr) for information about this +development. + +If you know the phase information of the pulsar or gamma-ray binary, +you may specify a ``temporal`` model component of type ``PhaseCurve`` in the +:ref:`model definition XML file ` +for the source and fit the information using an unbinned analysis. +An example of a +:ref:`model definition XML file ` +including a ``PhaseCurve`` model component is shown below. +For more information, please read the following +:ref:`description of the temporal model components `. + +.. code-block:: xml + + + + + + + + + + + + + + + + + + + + + + + + + + + -- libgit2 0.21.4