Commit e6767424cee8b2a5b2eb9920d12412149e2bbb8b
1 parent
67fee531
Update 1DC HowTo
Showing
4 changed files
with
82 additions
and
19 deletions
doc/source/users/tutorials/1dc/data_organisation.rst
| ... | ... | @@ -224,21 +224,21 @@ An example of an ``EVENTS`` table is shown below. |
| 224 | 224 | |
| 225 | 225 | Event files exist for |
| 226 | 226 | |
| 227 | - +-----------------+---------------+--------------------+ | |
| 228 | - | Survey | Configuration | Prefix | | |
| 229 | - +=================+===============+====================+ | |
| 230 | - | Galactic Centre | Baseline | ``gc_baseline`` | | |
| 231 | - +-----------------+---------------+--------------------+ | |
| 232 | - | Galactic Plane | Baseline | ``gps_baseline`` | | |
| 233 | - +-----------------+---------------+--------------------+ | |
| 234 | - | Extragalactic | Baseline | ``egal_baseline`` | | |
| 235 | - +-----------------+---------------+--------------------+ | |
| 236 | - | Galactic Centre | Threshold | ``gc_threshold`` | | |
| 237 | - +-----------------+---------------+--------------------+ | |
| 238 | - | Galactic Plane | Threshold | ``gps_threshold`` | | |
| 239 | - +-----------------+---------------+--------------------+ | |
| 240 | - | Extragalactic | Threshold | ``egal_threshold`` | | |
| 241 | - +-----------------+---------------+--------------------+ | |
| 227 | + +-----------------+---------------+--------------------+------------------+ | |
| 228 | + | Survey | Configuration | Prefix | Energy range | | |
| 229 | + +=================+===============+====================+==================+ | |
| 230 | + | Galactic Centre | Baseline | ``gc_baseline`` | | | |
| 231 | + +-----------------+---------------+--------------------+------------------+ | |
| 232 | + | Galactic Plane | Baseline | ``gps_baseline`` | 30 GeV - 120 TeV | | |
| 233 | + +-----------------+---------------+--------------------+------------------+ | |
| 234 | + | Extragalactic | Baseline | ``egal_baseline`` | | | |
| 235 | + +-----------------+---------------+--------------------+------------------+ | |
| 236 | + | Galactic Centre | Threshold | ``gc_threshold`` | | | |
| 237 | + +-----------------+---------------+--------------------+------------------+ | |
| 238 | + | Galactic Plane | Threshold | ``gps_threshold`` | | | |
| 239 | + +-----------------+---------------+--------------------+------------------+ | |
| 240 | + | Extragalactic | Threshold | ``egal_threshold`` | | | |
| 241 | + +-----------------+---------------+--------------------+------------------+ | |
| 242 | 242 | |
| 243 | 243 | |
| 244 | 244 | Observation Definition Files | ... | ... |
doc/source/users/tutorials/1dc/howto.rst
| ... | ... | @@ -3,9 +3,8 @@ |
| 3 | 3 | Analysis cookbook |
| 4 | 4 | ================= |
| 5 | 5 | |
| 6 | -The following sections provide some working examples for the analysis | |
| 7 | -of data from the | |
| 8 | -:ref:`first CTA Data Challenge <glossary_1dc>`. | |
| 6 | +The following sections explain how you can address some specific analysis | |
| 7 | +issues. | |
| 9 | 8 | |
| 10 | 9 | .. toctree:: |
| 11 | 10 | :maxdepth: 2 |
| ... | ... | @@ -14,4 +13,18 @@ of data from the |
| 14 | 13 | howto_tsmap |
| 15 | 14 | howto_ulimit |
| 16 | 15 | howto_lightcurve |
| 16 | + howto_phasecurve | |
| 17 | 17 | howto_exclude |
| 18 | + | |
| 19 | +If you cannot find the answer to your question, have a look at the | |
| 20 | +:ref:`first steps with ctools <quickstart>` | |
| 21 | +and the | |
| 22 | +:ref:`beyond the first steps <beyond>` | |
| 23 | +sections of the User Manual. You may also consult the | |
| 24 | +:ref:`Reference Manual <reference>` | |
| 25 | +as well as the | |
| 26 | +:ref:`frequently asked questions <faq>`. | |
| 27 | +If after this you still need some help, please create a | |
| 28 | +`support ticket <https://cta-redmine.irap.omp.eu/projects/ctools/issues/new>`_. | |
| 29 | +Specify ``Support`` as Tracker, choose a short and meaningful subject, | |
| 30 | +and add an exhaustive description of your request. | ... | ... |
doc/source/users/tutorials/1dc/howto_lightcurve.rst
doc/source/users/tutorials/1dc/howto_phasecurve.rst
0 → 100644
| 1 | +.. _1dc_howto_phasecurve: | |
| 2 | + | |
| 3 | +How to generate a phase curve of a pulsar or a gamma-ray binary? | |
| 4 | +---------------------------------------------------------------- | |
| 5 | + | |
| 6 | +So far there are no tools in ctools to generate phase curves of pulsars or | |
| 7 | +gamma-ray binaries. A plugin for | |
| 8 | +`tempo2 <http://www.atnf.csiro.au/research/pulsar/tempo2/>`_ | |
| 9 | +is under development by the ctools developers, and you may get in touch | |
| 10 | +with Thierry Reposeur (reposeur@in2p3.fr) for information about this | |
| 11 | +development. | |
| 12 | + | |
| 13 | +If you know the phase information of the pulsar or gamma-ray binary, | |
| 14 | +you may specify a ``temporal`` model component of type ``PhaseCurve`` in the | |
| 15 | +:ref:`model definition XML file <glossary_moddef>` | |
| 16 | +for the source and fit the information using an unbinned analysis. | |
| 17 | +An example of a | |
| 18 | +:ref:`model definition XML file <glossary_moddef>` | |
| 19 | +including a ``PhaseCurve`` model component is shown below. | |
| 20 | +For more information, please read the following | |
| 21 | +:ref:`description of the temporal model components <sec_temporal_models>`. | |
| 22 | + | |
| 23 | +.. code-block:: xml | |
| 24 | + | |
| 25 | + <?xml version="1.0" standalone="no"?> | |
| 26 | + <source_library title="source library"> | |
| 27 | + <source name="Crab" type="PointSource"> | |
| 28 | + <spatialModel type="PointSource"> | |
| 29 | + <parameter name="RA" scale="1" value="83.6331" min="-360" max="360" free="0"/> | |
| 30 | + <parameter name="DEC" scale="1" value="22.0145" min="-90" max="90" free="0"/> | |
| 31 | + </spatialModel> | |
| 32 | + <spectrum type="PowerLaw"> | |
| 33 | + <parameter name="Prefactor" scale="1e-16" value="5.7" min="1e-07" max="1000.0" free="1"/> | |
| 34 | + <parameter name="Index" scale="-1" value="2.48" min="0.0" max="+5.0" free="1"/> | |
| 35 | + <parameter name="PivotEnergy" scale="1e6" value="0.3" min="0.01" max="1000.0" free="0"/> | |
| 36 | + </spectrum> | |
| 37 | + <temporal type="PhaseCurve" file="model_temporal_phasecurve.fits"> | |
| 38 | + <parameter name="Normalization" scale="1" value="1.0" min="0.0" max="1000.0" free="0"/> | |
| 39 | + <parameter name="MJD" scale="1" value="51544.5" min="0.0" max="100000.0" free="0"/> | |
| 40 | + <parameter name="Phase" scale="1" value="0.0" min="0.0" max="1.0" free="0"/> | |
| 41 | + <parameter name="F0" scale="1" value="1.0" min="0.0" max="1000.0" free="0"/> | |
| 42 | + <parameter name="F1" scale="1" value="0.1" min="0.0" max="1000.0" free="0"/> | |
| 43 | + <parameter name="F2" scale="1" value="0.01" min="0.0" max="1000.0" free="0"/> | |
| 44 | + </temporal> | |
| 45 | + </source> | |
| 46 | + </source_library> | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | ... | ... |