Commit b75d6bebd40916978a0317b55a11eec3b2d6a50e

Authored by Jürgen Knödlseder
1 parent 228d4613

Reorganise documentation

Showing 89 changed files with 105 additions and 153 deletions
doc/source/_templates/index.html
... ... @@ -34,35 +34,4 @@ and next steps, and advance with the coding of the software. {%endtrans%}</p>
34 34 <p>{%trans%} ctools is free software distributed under the
35 35 <a href="http://www.gnu.org/licenses/gpl.html">GNU GPL license version 3</a> {%endtrans%}</p>
36 36  
37   -<h2 style="margin-bottom: 0">{%trans%}Getting started{%endtrans%}</h2>
38   -
39   -<ul>
40   -<li><a class="smalllink" href="{{ pathto("users/user_manual/getting") }}">{%trans%}Installation{%endtrans%}</a></li>
41   -<li><a class="smalllink" href="{{ pathto("users/user_manual/getting_started/quickstart") }}">{%trans%}Quickstart{%endtrans%}</a></li>
42   -<li><a class="smalllink" href="{{ pathto("users/user_manual/getting_started/beyond") }}">{%trans%}Beyond the first steps{%endtrans%}</a></li>
43   -<li><a class="smalllink" href="{{ pathto("users/user_manual/getting_started/python") }}">{%trans%}Using ctools from Python{%endtrans%}</a></li>
44   -<li><a class="smalllink" href="{{ pathto("users/user_manual/getting_started/models") }}">{%trans%}Modelling CTA data{%endtrans%}</a></li>
45   -<li><a class="smalllink" href="{{ pathto("users/user_manual/getting_started/response") }}">{%trans%}CTA instrument response functions{%endtrans%}</a></li>
46   -</ul>
47   -
48   -<h2 style="margin-bottom: 0">{%trans%}Documentation{%endtrans%}</h2>
49   -
50   -<ul>
51   -<li><a class="smalllink" href="{{ pathto("users/tutorials/index") }}">{%trans%}Tutorials{%endtrans%}</a></li>
52   -<li><a class="smalllink" href="{{ pathto("users/user_manual/index") }}">{%trans%}User Manual{%endtrans%}</a></li>
53   -<li><a class="smalllink" href="{{ pathto("users/reference_manual/index") }}">{%trans%}Reference Manual{%endtrans%}</a></li>
54   -<li><a class="smalllink" href="{{ pathto("users/faq") }}">{%trans%}Frequently asked questions{%endtrans%}</a></li>
55   -<li><a class="smalllink" href="{{ pathto("users/issues") }}">{%trans%}Known issues{%endtrans%}</a></li>
56   -<li><a class="smalllink" href="{{ pathto("users/glossary") }}">{%trans%}Glossary{%endtrans%}</a></li>
57   -<li><a class="smalllink" href="{{ pathto("users/release_history/index") }}">{%trans%}Release history{%endtrans%}</a></li>
58   -<li><a class="smalllink" href="doxygen/index.html">{%trans%}Source code documentation (Doxygen){%endtrans%}</a></li>
59   -</ul>
60   -
61   -<h2 style="margin-bottom: 0">{%trans%}Links{%endtrans%}</h2>
62   -
63   -<ul>
64   -<li><a href="https://cta-gitlab.irap.omp.eu/ctools/ctools">GitLab</a></li>
65   -<li><a href="https://github.com/ctools/ctools">GitHub</a></li>
66   -<li><a href="https://cta-redmine.irap.omp.eu/projects/ctools">Redmine</a></li>
67   -<li><a href="https://www.openhub.net/p/ctools_">Open HUB</a>{% endblock %}</li>
68   -</ul>
  37 +{% endblock %}
... ...
doc/source/_themes/sphinx13/layout.html
... ... @@ -69,10 +69,10 @@
69 69 <div class="pageheader">
70 70 <ul>
71 71 <li><a href="{{ pathto('about') }}">About</a></li>
72   - <li><a href="{{ pathto('download') }}">Download</a></li>
  72 + <li><a href="{{ pathto('admin/index') }}">Getting ctools</a></li>
73 73 <li><a href="{{ pathto('users/index') }}">For Users</a></li>
74 74 <li><a href="{{ pathto('develop/index') }}">For Developers</a></li>
75   - <li><a href="{{ pathto('users/help') }}">Help</a></li>
  75 + <li><a href="{{ pathto('help/index') }}">Help</a></li>
76 76 </ul>
77 77 <div>
78 78 <a href="{{ pathto('index') }}">
... ...
doc/source/download.rst renamed to doc/source/admin/download.rst
1   -.. _download:
  1 +.. _sec_download:
2 2  
3 3 Download
4 4 ========
... ... @@ -15,11 +15,14 @@ Releases
15 15  
16 16 The latest ctools release is ``ctools-1.2.1`` (30 May 2017).
17 17  
18   -Below a table of ctools releases. Please note that at this stage of the
19   -project there is a strict link between the ctools and gammalib versions.
20   -Please make sure that you have the corresponding gammalib version installed
21   -before installing ctools. The Mac OS X packages comprise both ctools and
22   -gammalib.
  18 +Below a table of ctools releases. Please read the :ref:`sec_release` to
  19 +learn more about new features and corrected bugs in a given release.
  20 +
  21 +.. warning::
  22 + At this stage of the project there is a strict link between the ctools and
  23 + gammalib versions. Please make sure that you have the corresponding gammalib
  24 + version installed before installing ctools. The Mac OS X packages comprise
  25 + both ctools and gammalib.
23 26  
24 27 .. list-table::
25 28 :header-rows: 1
... ... @@ -155,7 +158,7 @@ the following command sequence (the code will be installed into the
155 158 $ export CTOOLS=/usr/local/gamma
156 159 $ source $CTOOLS/bin/ctools-init.sh
157 160  
158   -Please read the :ref:`sec_getting` section if you need more information on
  161 +Please read the :ref:`sec_install` section if you need more information on
159 162 how to install ctools.
160 163  
161 164 .. note::
... ...
doc/source/admin/index.rst 0 → 100644
  1 +.. _sec_admin:
  2 +
  3 +Getting ctools
  4 +==============
  5 +
  6 +.. toctree::
  7 + :maxdepth: 1
  8 +
  9 + download
  10 + install
  11 + release_history/index
... ...
doc/source/users/user_manual/getting.rst renamed to doc/source/admin/install.rst
1   -.. _sec_getting:
  1 +.. _sec_install:
2 2  
3   -Getting the ctools
4   -==================
  3 +Installing ctools
  4 +=================
5 5  
6 6 Before you start
7 7 ----------------
... ... @@ -58,7 +58,7 @@ You will need the following to build the GammaLib:
58 58 Furthermore it is recommended to have readline and ncurses installed
59 59 (including the developer packages).
60 60  
61   -After downloading the GammaLib tarball (see :ref:`download`), save it
  61 +After downloading the GammaLib tarball (see :ref:`sec_download`), save it
62 62 in an appropriate location (for example ``$HOME/builds``), and type
63 63  
64 64 .. code-block:: bash
... ... @@ -130,7 +130,7 @@ If you use C shell or a variant then add the following to your
130 130 Building ctools
131 131 ---------------
132 132  
133   -After downloading the ctools tarball (see :ref:`download`), save it in
  133 +After downloading the ctools tarball (see :ref:`sec_download`), save it in
134 134 an appropriate location (for example ``$HOME/builds``), and type
135 135  
136 136 .. code-block:: bash
... ...
doc/source/users/release_history/1.0.1.rst renamed to doc/source/admin/release_history/1.0.1.rst
doc/source/users/release_history/1.0.rst renamed to doc/source/admin/release_history/1.0.rst
doc/source/users/release_history/1.1.rst renamed to doc/source/admin/release_history/1.1.rst
doc/source/users/release_history/1.2.1.rst renamed to doc/source/admin/release_history/1.2.1.rst
doc/source/users/release_history/1.2.rst renamed to doc/source/admin/release_history/1.2.rst
doc/source/users/release_history/1.3.rst renamed to doc/source/admin/release_history/1.3.rst
doc/source/users/release_history/index.rst renamed to doc/source/admin/release_history/index.rst
1   -.. _release:
  1 +.. _sec_release:
2 2  
3 3 Release History
4 4 ===============
... ...
doc/source/conf.py
... ... @@ -59,7 +59,7 @@ master_doc = &#39;contents&#39;
59 59  
60 60 # General information about the project.
61 61 project = u'ctools'
62   -copyright = u'2014-2016, ctools developers'
  62 +copyright = u'2014-2017, ctools developers'
63 63  
64 64 # The version info for the project you're documenting, acts as replacement for
65 65 # |version| and |release|, also used in various other places throughout the
... ...
doc/source/contents.rst
  1 +.. _sec_contents:
  2 +
1 3 Documentation
2 4 =============
3 5  
... ... @@ -5,7 +7,7 @@ Documentation
5 7 :maxdepth: 1
6 8  
7 9 about
8   - download
  10 + admin/index
9 11 users/index
10 12 develop/index
11   - users/help
  13 + help/index
... ...
doc/source/develop/index.rst
1   -.. _develop:
  1 +.. _sec_develop:
2 2  
3 3 Developer documentation
4 4 =======================
... ... @@ -39,6 +39,14 @@ Below some reasources to learn how to contribute to ctools:
39 39 profiling/index
40 40 releasing/index
41 41  
  42 +Links:
  43 +
  44 +* `GitLab <https://cta-gitlab.irap.omp.eu/ctools/ctools>`_
  45 +* `GitHub <https://github.com/ctools/ctools>`_
  46 +* `Redmine <https://cta-redmine.irap.omp.eu/projects/ctools>`_
  47 +* `Open HUB <https://www.openhub.net/p/ctools_>`_
  48 +* `Source code documentation (Doxygen) <doxygen/index.html>`_
  49 +
42 50 And here some status shields:
43 51  
44 52 .. image:: https://cta-jenkins.irap.omp.eu/buildStatus/icon?job=ctools-integrate-os
... ...
doc/source/develop/releasing/devel.rst
1   -.. _dev_releasing_merge:
  1 +.. _dev_releasing_devel:
2 2  
3 3 Incrementing the development version
4 4 ====================================
... ...
doc/source/users/faq.rst renamed to doc/source/help/faq.rst
... ... @@ -77,7 +77,7 @@ asked.
77 77  
78 78 The GammaLib interface is still not fully stabilised, hence ctools is
79 79 continuously adapted to match the interface evolution
80   - (see the :ref:`download` section for a correspondance of versions).
  80 + (see the :ref:`sec_download` section for a correspondance of versions).
81 81 We plan however to put the GammaLib interface under change control.
82 82 ctools should then become more independent from GammaLib.
83 83  
... ...
doc/source/users/help.rst renamed to doc/source/help/index.rst
1   -.. _help:
  1 +.. _sec_help:
2 2  
3 3 Getting Help
4 4 ============
5 5  
6   -If you need help you should first check the
7   -:ref:`Frequently Asked Questions <faq>` and the list of
8   -:ref:`Known Issues <issues>`.
  6 +If you need help you should first check
  7 +
  8 +.. toctree::
  9 + :maxdepth: 1
  10 +
  11 + faq
  12 + issues
  13 +
9 14 In case that you do not find an answer to your question you may post your
10 15 question on the ctools@irap.omp.eu mailing list.
11 16 To subscribe to this list you simply need to send an e-mail to
... ... @@ -43,4 +48,4 @@ Also explain the motivation for your request and provide some hint on how
43 48 urgently you need the new feature.
44 49  
45 50 You may click on ``Watch`` in the top-right corner of the issue page to make sure
46   -that you will receive an e-mail notification when the issue is updated.
47 51 \ No newline at end of file
  52 +that you will receive an e-mail notification when the issue is updated.
... ...
doc/source/users/issues.rst renamed to doc/source/help/issues.rst
doc/source/users/glossary.rst
  1 +.. _sec_glossary:
  2 +
1 3 Glossary
2 4 ========
3 5  
... ...
doc/source/users/index.rst
1   -.. _users:
  1 +.. _sec_users:
2 2  
3 3 User Documentation
4 4 ==================
... ... @@ -9,8 +9,4 @@ User Documentation
9 9 tutorials/index
10 10 user_manual/index
11 11 reference_manual/index
12   - faq
13   - issues
14 12 glossary
15   - release_history/index
16   - help
... ...
doc/source/users/tutorials/1dc/getting_tools.rst
... ... @@ -24,7 +24,7 @@ After downloading, configure GammaLib and ctools as follows:
24 24 $ export CTOOLS=/usr/local/gamma
25 25 $ source $CTOOLS/bin/ctools-init.sh
26 26  
27   -Have a look at :ref:`getting the ctools <sec_getting>` if you need more
  27 +Have a look at :ref:`getting the ctools <sec_install>` if you need more
28 28 information about the installation and configuration process.
29 29  
30 30 .. note::
... ...
doc/source/users/tutorials/1dc/index.rst
... ... @@ -11,5 +11,4 @@ First CTA Data Challenge
11 11 getting_data
12 12 data_organisation
13 13 first
14   - howto
15 14  
... ...
doc/source/users/user_manual/getting_started/beyond_combine.rst renamed to doc/source/users/tutorials/beyond/beyond_combine.rst
doc/source/users/user_manual/getting_started/beyond_irf.rst renamed to doc/source/users/tutorials/beyond/beyond_irf.rst
doc/source/users/user_manual/getting_started/beyond_model.rst renamed to doc/source/users/tutorials/beyond/beyond_model.rst
doc/source/users/user_manual/getting_started/beyond_residual.rst renamed to doc/source/users/tutorials/beyond/beyond_residual.rst
... ... @@ -49,7 +49,7 @@ The :ref:`csresmap` script is then used as follows:
49 49 Residual map computation algorithm (SUB|SUBDIV|SUBDIVSQRT) [SUBDIV]
50 50  
51 51 In our example, the map will cover a field of 4° x 4° centred on the
52   -Crab nebula at a pixel scale of 0.02° per pixel.
  52 +Crab nebula at a pixel scale of 0.02 degrees per pixel.
53 53 The resulting residual map ``resmap.fits``, smoothed with a Gaussian
54 54 kernel of 3 pixels to enhance features, is shown in the following figure.
55 55 Obviously, the map is free from any significant residuals.
... ...
doc/source/users/user_manual/getting_started/beyond_stacked.rst renamed to doc/source/users/tutorials/beyond/beyond_stacked.rst
doc/source/users/user_manual/getting_started/beyond_tsmap.rst renamed to doc/source/users/tutorials/beyond/beyond_tsmap.rst
doc/source/users/user_manual/getting_started/beyond.rst renamed to doc/source/users/tutorials/beyond/index.rst
1   -.. _beyond:
  1 +.. _sec_beyond:
2 2  
3 3 Beyond the first steps
4 4 ----------------------
... ... @@ -11,7 +11,7 @@ And you should be ready for doing your own cutting edge CTA science data
11 11 analyses.
12 12  
13 13 .. toctree::
14   - :maxdepth: 2
  14 + :maxdepth: 1
15 15  
16 16 beyond_combine
17 17 beyond_stacked
... ...
doc/source/users/user_manual/getting_started/resmap-bkg.png renamed to doc/source/users/tutorials/beyond/resmap-bkg.png

261 KB

doc/source/users/user_manual/getting_started/resmap-crab.png renamed to doc/source/users/tutorials/beyond/resmap-crab.png

314 KB

doc/source/users/user_manual/getting_started/tsmap-crab.png renamed to doc/source/users/tutorials/beyond/tsmap-crab.png

73.4 KB

doc/source/users/tutorials/1dc/howto_display.rst renamed to doc/source/users/tutorials/howto/howto_display.rst
doc/source/users/tutorials/1dc/howto_display_butterfly.png renamed to doc/source/users/tutorials/howto/howto_display_butterfly.png

37.8 KB

doc/source/users/tutorials/1dc/howto_display_obs.png renamed to doc/source/users/tutorials/howto/howto_display_obs.png

72.1 KB

doc/source/users/tutorials/1dc/howto_display_phases.png renamed to doc/source/users/tutorials/howto/howto_display_phases.png

18 KB

doc/source/users/tutorials/1dc/howto_display_pointings.png renamed to doc/source/users/tutorials/howto/howto_display_pointings.png

26.6 KB

doc/source/users/tutorials/1dc/howto_display_spectrum.png renamed to doc/source/users/tutorials/howto/howto_display_spectrum.png

22.4 KB

doc/source/users/tutorials/1dc/howto_edisp.rst renamed to doc/source/users/tutorials/howto/howto_edisp.rst
doc/source/users/tutorials/1dc/howto_exclude.rst renamed to doc/source/users/tutorials/howto/howto_exclude.rst
doc/source/users/tutorials/1dc/howto_extent.rst renamed to doc/source/users/tutorials/howto/howto_extent.rst
doc/source/users/tutorials/1dc/howto_filtered.png renamed to doc/source/users/tutorials/howto/howto_filtered.png

59.8 KB

doc/source/users/tutorials/1dc/howto_filtered_exclude.png renamed to doc/source/users/tutorials/howto/howto_filtered_exclude.png

56.5 KB

doc/source/users/tutorials/1dc/howto_lightcurve.png renamed to doc/source/users/tutorials/howto/howto_lightcurve.png

23.9 KB

doc/source/users/tutorials/1dc/howto_lightcurve.rst renamed to doc/source/users/tutorials/howto/howto_lightcurve.rst
doc/source/users/tutorials/1dc/howto_phasecurve.rst renamed to doc/source/users/tutorials/howto/howto_phasecurve.rst
doc/source/users/tutorials/1dc/howto_phasecurve_events.png renamed to doc/source/users/tutorials/howto/howto_phasecurve_events.png

129 KB

doc/source/users/tutorials/1dc/howto_phasecurve_mcid.png renamed to doc/source/users/tutorials/howto/howto_phasecurve_mcid.png

13.3 KB

doc/source/users/tutorials/1dc/howto_phasecurve_phases.png renamed to doc/source/users/tutorials/howto/howto_phasecurve_phases.png

16 KB

doc/source/users/tutorials/1dc/howto_phasecurve_prob.png renamed to doc/source/users/tutorials/howto/howto_phasecurve_prob.png

153 KB

doc/source/users/tutorials/1dc/howto_phasecurve_probphases.png renamed to doc/source/users/tutorials/howto/howto_phasecurve_probphases.png

13.3 KB

doc/source/users/tutorials/1dc/howto_ts.rst renamed to doc/source/users/tutorials/howto/howto_ts.rst
doc/source/users/tutorials/1dc/first_tsmap.png renamed to doc/source/users/tutorials/howto/howto_tsmap.png

24.5 KB

doc/source/users/tutorials/1dc/howto_tsmap.rst renamed to doc/source/users/tutorials/howto/howto_tsmap.rst
... ... @@ -39,7 +39,7 @@ The :ref:`cttsmap` tool creates a FITS file containing for each pixel the
39 39 Test Statistic value as well as the fit parameters for the test source.
40 40 The figure below shows the resulting Test Statistic map.
41 41  
42   -.. figure:: first_tsmap.png
  42 +.. figure:: howto_tsmap.png
43 43 :width: 400px
44 44 :align: center
45 45  
... ...
doc/source/users/tutorials/1dc/howto_ulimit.rst renamed to doc/source/users/tutorials/howto/howto_ulimit.rst
doc/source/users/tutorials/1dc/howto_vo.rst renamed to doc/source/users/tutorials/howto/howto_vo.rst
doc/source/users/tutorials/1dc/howto_vo_aladin_after.png renamed to doc/source/users/tutorials/howto/howto_vo_aladin_after.png

349 KB

doc/source/users/tutorials/1dc/howto_vo_aladin_before.png renamed to doc/source/users/tutorials/howto/howto_vo_aladin_before.png

108 KB

doc/source/users/tutorials/1dc/howto_vo_aladin_catalog.png renamed to doc/source/users/tutorials/howto/howto_vo_aladin_catalog.png

343 KB

doc/source/users/tutorials/1dc/howto_vo_topcat_after.png renamed to doc/source/users/tutorials/howto/howto_vo_topcat_after.png

74.6 KB

doc/source/users/tutorials/1dc/howto_vo_topcat_before.png renamed to doc/source/users/tutorials/howto/howto_vo_topcat_before.png

65.1 KB

doc/source/users/tutorials/1dc/howto_vo_topcat_scatter.png renamed to doc/source/users/tutorials/howto/howto_vo_topcat_scatter.png

147 KB

doc/source/users/tutorials/1dc/howto.rst renamed to doc/source/users/tutorials/howto/index.rst
... ... @@ -3,8 +3,11 @@
3 3 Analysis cookbook
4 4 =================
5 5  
6   -The following sections explain how you can address some specific analysis
7   -issues.
  6 +The following sections teach you how to use ctools to address some typical
  7 +science analysis. The sections provide examples that are based on the data
  8 +distributed within the CTA Consortium for the
  9 +:ref:`first CTA Data Challenge <glossary_1dc>`.
  10 +These examples can be easily adapted to any data you have at your disposal.
8 11  
9 12 .. toctree::
10 13 :maxdepth: 1
... ... @@ -18,17 +21,4 @@ issues.
18 21 howto_lightcurve
19 22 howto_phasecurve
20 23 howto_exclude
21   - howto_vo
22   -
23   -If you cannot find the answer to your question, have a look at the
24   -:ref:`first steps with ctools <quickstart>`
25   -and the
26   -:ref:`beyond the first steps <beyond>`
27   -sections of the User Manual. You may also consult the
28   -:ref:`Reference Manual <reference>`
29   -as well as the
30   -:ref:`frequently asked questions <faq>`.
31   -If after this you still need some help, please create a
32   -`support ticket <https://cta-redmine.irap.omp.eu/projects/ctools/issues/new>`_.
33   -Specify ``Support`` as Tracker, choose a short and meaningful subject,
34   -and add an exhaustive description of your request.
  24 + howto_vo
35 25 \ No newline at end of file
... ...
doc/source/users/user_manual/iact_analysis/analysis.rst renamed to doc/source/users/tutorials/iact_analysis/analysis.rst
1   -.. _sec_analysis:
  1 +.. _sec_iact_analysis:
2 2  
3 3 Analysing IACT data
4 4 ===================
5 5  
6 6 In order to analyse data from current IACTs, you first have to retrieve the
7   -data. Information on how to do that can be found in the section :ref:`sec_copy`.
  7 +data. Information on how to do that can be found in the section :ref:`sec_iact_copy`.
8 8  
9 9 Check available FITS production
10 10 -------------------------------
... ... @@ -174,7 +174,7 @@ Alternatively, you can merged models using the :ref:`csmodelmerge` script:
174 174 A list of available sky models can be found
175 175 `here <http://gammalib.sourceforge.net/user_manual/modules/model.html>`_.
176 176 If you are not familiar with creating sky models you should read the section
177   -about :ref:`modelling CTA data <models>`.
  177 +about :ref:`modelling CTA data <sec_models>`.
178 178  
179 179  
180 180 Example XML files
... ...
doc/source/users/user_manual/iact_analysis/copy.rst renamed to doc/source/users/tutorials/iact_analysis/copy.rst
1   -.. _sec_copy:
  1 +.. _sec_iact_copy:
2 2  
3 3 Copying IACT data
4 4 ==================
... ...
doc/source/users/user_manual/iact_analysis/high_level.rst renamed to doc/source/users/tutorials/iact_analysis/high_level.rst
1   -.. _sec_high_level:
  1 +.. _sec_iact_high_level:
2 2  
3 3 High level analysis tools for IACT data
4 4 =======================================
... ... @@ -291,7 +291,7 @@ value is added to the output file. For instance a map of the prefactor can be vi
291 291 $ ds9 tsmap.fits[Prefactor]
292 292  
293 293 Since :ref:`cttsmap` has to run a parameter optimisation in each skymap bin, it is very time comsuming to
294   -compute a fine-granulated TS sky map. Read here how to split up the :ref:`computation into several jobs <sec_tips>`.
  294 +compute a fine-granulated TS sky map. Read here how to split up the :ref:`computation into several jobs <sec_iact_tips>`.
295 295 Similar as many other tools :ref:`cttsmap` can also work on binned observation input:
296 296  
297 297 .. code-block:: bash
... ...
doc/source/users/user_manual/iact_analysis/index.rst renamed to doc/source/users/tutorials/iact_analysis/index.rst
  1 +.. _sec_iact:
  2 +
1 3 Analysing current IACT data
2 4 ===========================
3 5  
4 6 .. toctree::
5   - :maxdepth: 2
  7 + :maxdepth: 1
6 8  
7 9 copy
8 10 analysis
... ...
doc/source/users/user_manual/iact_analysis/simulation.rst renamed to doc/source/users/tutorials/iact_analysis/simulation.rst
1   -.. _sec_simulation:
  1 +.. _sec_iact_simulation:
2 2  
3 3 Simulating IACT data
4 4 ====================
... ... @@ -10,7 +10,7 @@ Simulations for a specific observation container
10 10 ------------------------------------------------
11 11 On default, :ref:`ctobssim` builds a new observation container by querying relevant user parameters. In case
12 12 an observation XML container is already in place, the hidden parameter ``inobs`` can be specified (:ref:`see here how to create an
13   -observation container <sec_analysis>`). It might be useful to run :ref:`ctselect` beforehand to ensure that the simulation knows about
  13 +observation container <sec_iact_analysis>`). It might be useful to run :ref:`ctselect` beforehand to ensure that the simulation knows about
14 14 energy thresholds, field of view, etc. If an unselected observation container is used, the simulation tool will query for global energy
15 15 boundaries and a global RoI radius. The following example illustrates the usage of an already selected observation container.
16 16  
... ... @@ -59,7 +59,7 @@ observations with at a certain zenith angle range (20-25 degrees) and azimuth an
59 59 Runlist outfile [zen20_az90.lis]
60 60  
61 61 Of course, further details could be specified, e.g. one might want to check for a certain range of muon efficieny, or any other parameter which impacts IRFs.
62   -The output runlist subsequently has to be converted to an observation XML file using :ref:`csiactobs` (:ref:`see here how to execute this tool <sec_analysis>`).
  62 +The output runlist subsequently has to be converted to an observation XML file using :ref:`csiactobs` (:ref:`see here how to execute this tool <sec_iact_analysis>`).
63 63 In the following it is assumed that the observation XML file of the selected representative observations is produced and called ``myobs.xml``.
64 64  
65 65 Create caldb entry
... ...
doc/source/users/user_manual/iact_analysis/tips.rst renamed to doc/source/users/tutorials/iact_analysis/tips.rst
1   -.. _sec_tips:
  1 +.. _sec_iact_tips:
2 2  
3 3 Tips, Tricks and FAQs
4 4 =====================
... ... @@ -260,7 +260,7 @@ parameter:
260 260 Compute flux maps
261 261 -----------------
262 262 The creation of a flux map is much more expensive in terms of computing than an
263   -excess map. In the section about :ref:`high level analysis tools <sec_high_level>`,
  263 +excess map. In the section about :ref:`high level analysis tools <sec_iact_high_level>`,
264 264 the usage of :ref:`cttsmap` was demonstrated. This tool can also be used to
265 265 generate flux maps. For this, the user has to incorporate a test source in the
266 266 XML model file. This source should consist of a spectral component using a
... ... @@ -500,4 +500,4 @@ script and for example ds9:
500 500  
501 501 $ python $CTOOLS/examples/show_spectrum.py spectrum.fits
502 502 $ ds9 excessmap.fits
503   -
504 503 \ No newline at end of file
  504 +
... ...
doc/source/users/tutorials/index.rst
... ... @@ -6,4 +6,8 @@ Tutorials
6 6 .. toctree::
7 7 :maxdepth: 1
8 8  
  9 + quickstart/index
  10 + beyond/index
  11 + howto/index
9 12 1dc/index
  13 + iact_analysis/index
10 14 \ No newline at end of file
... ...
doc/source/users/user_manual/getting_started/binning.rst renamed to doc/source/users/tutorials/quickstart/binning.rst
doc/source/users/user_manual/getting_started/butterfly.jpg renamed to doc/source/users/tutorials/quickstart/butterfly.jpg

58.9 KB

doc/source/users/user_manual/getting_started/butterfly.rst renamed to doc/source/users/tutorials/quickstart/butterfly.rst
doc/source/users/user_manual/getting_started/cntmap-fits.jpg renamed to doc/source/users/tutorials/quickstart/cntmap-fits.jpg

102 KB

doc/source/users/user_manual/getting_started/cntmap-map.jpg renamed to doc/source/users/tutorials/quickstart/cntmap-map.jpg

22.7 KB

doc/source/users/user_manual/getting_started/dskeys.jpg renamed to doc/source/users/tutorials/quickstart/dskeys.jpg

99.6 KB

doc/source/users/user_manual/getting_started/energy_dispersion.rst renamed to doc/source/users/tutorials/quickstart/energy_dispersion.rst
doc/source/users/user_manual/getting_started/fitting.rst renamed to doc/source/users/tutorials/quickstart/fitting.rst
doc/source/users/user_manual/getting_started/quickstart.rst renamed to doc/source/users/tutorials/quickstart/index.rst
... ... @@ -15,7 +15,7 @@ fitted spectral model. And you will learn how to take energy dispersion
15 15 into account.
16 16  
17 17 .. toctree::
18   - :maxdepth: 2
  18 + :maxdepth: 1
19 19  
20 20 simulating
21 21 binning
... ...
doc/source/users/user_manual/getting_started/simulating.rst renamed to doc/source/users/tutorials/quickstart/simulating.rst
doc/source/users/user_manual/getting_started/unbinned.rst renamed to doc/source/users/tutorials/quickstart/unbinned.rst
doc/source/users/user_manual/getting_started/index.rst
1   -Getting started
2   -===============
  1 +.. _sec_using:
  2 +
  3 +Using ctools
  4 +============
3 5  
4 6 .. toctree::
5   - :maxdepth: 2
  7 + :maxdepth: 1
6 8  
7   - quickstart
8   - beyond
  9 + python
9 10 models
10 11 response
11   - python
12 12  
... ...
doc/source/users/user_manual/getting_started/models.rst
1   -.. _models:
  1 +.. _sec_models:
2 2  
3 3 Modelling CTA data
4 4 ------------------
... ... @@ -14,7 +14,7 @@ Generally, the measured events can be separated into two distinct classes:
14 14 events being attributed to gamma rays of celestial origin (the "source"
15 15 events) or events being attributed to any other kind of trigger (the
16 16 "background" events).
17   -In the first case, the :ref:`Instrument Response Functions (IRFs) <response>`
  17 +In the first case, the :ref:`Instrument Response Functions (IRFs) <sec_response>`
18 18 describe how an incident gamma-ray converts into a measured event.
19 19 In the second case there is often no general prescription, and the
20 20 distribution of background events is commonly modeled directly in the data
... ... @@ -33,10 +33,10 @@ Model components are generally parametric, and model parameters can be
33 33 adjusted through a maximum likelihood procedure to find the set of
34 34 parameters that represent best the measured data.
35 35 Model components representing celestial sources are convolved with the
36   -:ref:`IRFs <response>` to predict the expected number of source events in
  36 +:ref:`IRFs <sec_response>` to predict the expected number of source events in
37 37 the data.
38 38 Background model components will be directly expressed as expected number
39   -of background events without any :ref:`IRF <response>` convolution.
  39 +of background events without any :ref:`IRF <sec_response>` convolution.
40 40  
41 41  
42 42 .. _sec_model_implementation:
... ...
doc/source/users/user_manual/getting_started/python.rst
1   -.. _python:
  1 +.. _sec_python:
2 2  
3 3 Using ctools from Python
4 4 ------------------------
... ...
doc/source/users/user_manual/getting_started/response.rst
1   -.. _response:
  1 +.. _sec_response:
2 2  
3 3 CTA Instrument Response Functions
4 4 ---------------------------------
... ...
doc/source/users/user_manual/glossary.rst deleted
1   -Glossary
2   -========
3   -
4   -- **GammaLib** (`<http://cta.irap.omp.eu/gammalib/>`_)
5   -
6   - A versatile toolbox for scientific analysis of astronomical
7   - gamma-ray data.
8   -
9   -- **cfitsio** (`<http://heasarc.gsfc.nasa.gov/fitsio/>`_)
10   -
11   - Library of C and Fortran subroutines for reading and writing data
12   - files in FITS data format.
13   -
14   -- **FITS** (`<http://fits.gsfc.nasa.gov/>`_)
15   -
16   - Flexible Image Transport System.
17   -
18   -- **FTOOLS** (`<http://heasarc.gsfc.nasa.gov/ftools/>`_)
19   -
20   - Collection of utility programs to create, examine, or modify data
21   - files in the FITS data format.
22   -
23   -- **GNU** (`<http://www.gnu.org/>`_)
24   -
25   - A free Unix-like operating system.
26   -
27   -- **HEASARC** (`<http://heasarc.gsfc.nasa.gov/>`_)
28   -
29   - High Energy Astrophysics Science Archive Research Centre.
30   -
31   -- **Python** (`<http://www.python.org/>`_)
32   -
33   - Dynamic programming language that is used in a wide variety of
34   - application domains.
35   -
doc/source/users/user_manual/index.rst
... ... @@ -3,12 +3,9 @@ User Manual
3 3 ===========
4 4  
5 5 .. toctree::
6   - :maxdepth: 2
  6 + :maxdepth: 1
7 7  
8 8 introduction
9   - getting
10 9 getting_started/index
11   - iact_analysis/index
12 10 plotting
13   - glossary
14 11  
... ...
doc/source/users/user_manual/introduction.rst
... ... @@ -55,7 +55,6 @@ command line or used as Python classes, as illustrated below:
55 55  
56 56 In this User Manual you will now learn how to install and use the ctools
57 57 package.
58   -If you encounter any problems, please read the :ref:`faq` and :ref:`issues`
59   -sections. If you're desperate, you may need :ref:`help`.
60   -And you should read the :ref:`develop` section if you would like to
  58 +If you encounter any problems, please read the :ref:`sec_help` section.
  59 +And you should read the :ref:`sec_develop` section if you would like to
61 60 contribute to the ctools developments.
... ...