diff --git a/doc/source/users/user_manual/index.rst b/doc/source/users/user_manual/index.rst index 0461579..ca76c27 100644 --- a/doc/source/users/user_manual/index.rst +++ b/doc/source/users/user_manual/index.rst @@ -9,5 +9,4 @@ User Manual introduction response models - plotting diff --git a/doc/source/users/user_manual/plotting.rst b/doc/source/users/user_manual/plotting.rst deleted file mode 100644 index dfd8178..0000000 --- a/doc/source/users/user_manual/plotting.rst +++ /dev/null @@ -1,122 +0,0 @@ -.. _sec_plotting: - -Plotting -======== - -ctools and GammaLib do not include classes and scripts to make plots. - -This is intentional because creating and maintaining plotting tools that work -on all platforms and cover all needs is a big project in itself, and deciding -to support a plotting package that is popular now as part of the CTA science -tools could become very problematic in the future. - -But we realise that most ctools users need to create plots for their high-level -science results, so on this page we provide a few pointers to external packages -and tools. - -Nevertheless, for your convenience several scripts for graphical display are -included in the ctools package that rely on the -`matplotlib `_ -Python module. You can find these scripts in the -``$CTOOLS/share/examples/python`` folder. The following scripts are available: - - +------------------------+-----------------------------+ - | Script | Usage | - +========================+=============================+ - | ``show_butterfly.py`` | Display a butterfly diagram | - +------------------------+-----------------------------+ - | ``show_lightcurve.py`` | Display a light curve | - +------------------------+-----------------------------+ - | ``show_obs.py`` | Display observation summary | - +------------------------+-----------------------------+ - | ``show_pointings.py`` | Display pointing directions | - +------------------------+-----------------------------+ - | ``show_phases.py`` | Display event phases | - +------------------------+-----------------------------+ - | ``show_spectrum.py`` | Display a spectrum | - +------------------------+-----------------------------+ - -Below some usage examples and the expected output. - -show_butterfly.py -^^^^^^^^^^^^^^^^^ - -.. code-block:: bash - - $ $CTOOLS/share/examples/python/show_butterfly.py butterfly_src001.txt - -.. figure:: plotting_butterfly.png - :width: 600px - :align: center - - *Butterfly diagram displayed with show_butterfly.py* - - -show_lightcurve.py -^^^^^^^^^^^^^^^^^^ - -.. code-block:: bash - - $ $CTOOLS/share/examples/python/show_lightcurve.py lightcurve.fits - -.. figure:: plotting_lightcurve.png - :width: 600px - :align: center - - *Light curve displayed with show_lightcurve.py* - - -show_obs.py -^^^^^^^^^^^ - -.. code-block:: bash - - $ $CTOOLS/share/examples/python/show_obs.py obs_selected.xml - -.. figure:: plotting_obs.png - :width: 600px - :align: center - - *Observation summary displayed with show_obs.py* - - -show_pointings.py -^^^^^^^^^^^^^^^^^ - -.. code-block:: bash - - $ $CTOOLS/share/examples/python/show_pointings.py obs_selected.xml - -.. figure:: plotting_pointings.png - :width: 600px - :align: center - - *Observation summary displayed with show_pointings.py (zoomed in)* - - -show_phases.py -^^^^^^^^^^^^^^ - -.. code-block:: bash - - $ $CTOOLS/share/examples/python/show_phases.py -n 50 events_phased.fits - -.. figure:: plotting_phases.png - :width: 600px - :align: center - - *Event phases displayed with show_phases.py* - - -show_spectrum.py -^^^^^^^^^^^^^^^^ - -.. code-block:: bash - - $ $CTOOLS/share/examples/python/show_spectrum.py spectrum_src001.fits - -.. figure:: plotting_spectrum.png - :width: 600px - :align: center - - *Observation summary displayed with show_spectrum.py* diff --git a/doc/source/users/user_manual/plotting_butterfly.png b/doc/source/users/user_manual/plotting_butterfly.png deleted file mode 100644 index ed36522..0000000 --- a/doc/source/users/user_manual/plotting_butterfly.png +++ /dev/null diff --git a/doc/source/users/user_manual/plotting_lightcurve.png b/doc/source/users/user_manual/plotting_lightcurve.png deleted file mode 100644 index 4766a35..0000000 --- a/doc/source/users/user_manual/plotting_lightcurve.png +++ /dev/null diff --git a/doc/source/users/user_manual/plotting_obs.png b/doc/source/users/user_manual/plotting_obs.png deleted file mode 100644 index bec5639..0000000 --- a/doc/source/users/user_manual/plotting_obs.png +++ /dev/null diff --git a/doc/source/users/user_manual/plotting_phases.png b/doc/source/users/user_manual/plotting_phases.png deleted file mode 100644 index d893ad0..0000000 --- a/doc/source/users/user_manual/plotting_phases.png +++ /dev/null diff --git a/doc/source/users/user_manual/plotting_pointings.png b/doc/source/users/user_manual/plotting_pointings.png deleted file mode 100644 index 938c51c..0000000 --- a/doc/source/users/user_manual/plotting_pointings.png +++ /dev/null diff --git a/doc/source/users/user_manual/plotting_spectrum.png b/doc/source/users/user_manual/plotting_spectrum.png deleted file mode 100644 index 6621fd2..0000000 --- a/doc/source/users/user_manual/plotting_spectrum.png +++ /dev/null