From ec7d56afd2b3ba2eef338a1ea97d8fbb4d1d92b5 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Thu, 20 Feb 2014 18:27:03 +0100 Subject: [PATCH] Add information about dumping the CALDB --- doc/source/user_manual/getting_started/response.rst | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+), 0 deletions(-) diff --git a/doc/source/user_manual/getting_started/response.rst b/doc/source/user_manual/getting_started/response.rst index 7f504bd..e65d5c6 100644 --- a/doc/source/user_manual/getting_started/response.rst +++ b/doc/source/user_manual/getting_started/response.rst @@ -252,6 +252,45 @@ as argument to the ``GCaldb`` constructor, and the filename is passed as response function name to the ``response`` method. +What response functions are available? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +To see what response functions are available on your system, type + +.. code-block:: bash + + $ cscaldb + +This creates the file ``cscaldb.log`` in your current working directory +that contains information about the available response functions. The +format of the file is: + +.. code-block:: bash + + 2014-02-20T17:15:21: +==============+ + 2014-02-20T17:15:21: | Mission: cta | + 2014-02-20T17:15:21: +==============+ + 2014-02-20T17:15:21: === Calibration: aar === + 2014-02-20T17:15:21: DESY20140105_50h + 2014-02-20T17:15:21: DESY20140105_50h_0deg + 2014-02-20T17:15:21: DESY20140105_50h_180deg + 2014-02-20T17:15:21: + 2014-02-20T17:15:21: === Calibration: aar500 === + 2014-02-20T17:15:21: DESY20140105_50h + 2014-02-20T17:15:21: DESY20140105_50h_0deg + 2014-02-20T17:15:21: DESY20140105_50h_180deg + +The name after ``Calibration`` is what we called earlier the calibration +database, and the names that are following each +``=== Calibration: xxx ===`` header are the response file names. + +To get the same information also onto the console, type + +.. code-block:: bash + + $ cscaldb debug=yes + + Data format details ~~~~~~~~~~~~~~~~~~~ -- libgit2 0.21.4