Commit 762e07b7 authored by Alice Donini's avatar Alice Donini
Browse files

update dl3 doc

parent 941e3ce4
......@@ -10,7 +10,7 @@ There are two different scripts to generate the DL3 file:
.. note::
At the moment is recommended the use of the first script `DL2_to_DL3.py` and generate you own DL2 data, since the automatized generation of DL2 data is not optimized.
At the moment is recommended the use of the first script `DL2_to_DL3.py` and generate your own DL2 data, since the automatized generation of DL2 data is not optimized.
DL2_to_DL3.py
......@@ -62,6 +62,7 @@ Edit the configuration file changing the paths based on the analysis you want to
For the moment the IRF file to use has to be specified in the configuration file.
IRF files with different settings can be found in ``/fefs/aswg/data/mc/IRF/``, otherwise create your own (:ref:`irf_generation`).
The coordinates of the source will be searched with astropy from the name specified with the option ``-n``. If no source can be found or you want custom Ra,Dec coordinates use the options ``--ra`` and ``--dec``.
Configuration file:
.. code-block::
......@@ -95,6 +96,13 @@ Configuration file:
The generated DL3 data will be saved in a personal folder following the tree structure visible in :ref:`install`.
It is possible to define a different ouput folder adding the option ``-o``.
Examples of usage:
.. code-block:: bash
python DL2_to_DL3.py -c config_dl2_to_dl3_GRB220521.yaml -n GRB220521 --runlist $CONFIG_FOLDER/GRB220521.txt --ra 275.19660 --dec 10.38430 --submit -v -g
python DL2_to_DL3.py -c config_dl2_to_dl3_CrabNov.yaml -n Crab --runlist $CONFIG_FOLDER/CrabNov.txt -v -g --submit
.. note::
Same cuts as the one used for the generation of IRF should be used.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment