Commit ec7d56afd2b3ba2eef338a1ea97d8fbb4d1d92b5

Authored by Jürgen Knödlseder
1 parent 3db511da

Add information about dumping the CALDB

doc/source/user_manual/getting_started/response.rst
... ... @@ -252,6 +252,45 @@ as argument to the ``GCaldb`` constructor, and the filename is passed
252 252 as response function name to the ``response`` method.
253 253  
254 254  
  255 +What response functions are available?
  256 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  257 +
  258 +To see what response functions are available on your system, type
  259 +
  260 +.. code-block:: bash
  261 +
  262 + $ cscaldb
  263 +
  264 +This creates the file ``cscaldb.log`` in your current working directory
  265 +that contains information about the available response functions. The
  266 +format of the file is:
  267 +
  268 +.. code-block:: bash
  269 +
  270 + 2014-02-20T17:15:21: +==============+
  271 + 2014-02-20T17:15:21: | Mission: cta |
  272 + 2014-02-20T17:15:21: +==============+
  273 + 2014-02-20T17:15:21: === Calibration: aar ===
  274 + 2014-02-20T17:15:21: DESY20140105_50h
  275 + 2014-02-20T17:15:21: DESY20140105_50h_0deg
  276 + 2014-02-20T17:15:21: DESY20140105_50h_180deg
  277 + 2014-02-20T17:15:21:
  278 + 2014-02-20T17:15:21: === Calibration: aar500 ===
  279 + 2014-02-20T17:15:21: DESY20140105_50h
  280 + 2014-02-20T17:15:21: DESY20140105_50h_0deg
  281 + 2014-02-20T17:15:21: DESY20140105_50h_180deg
  282 +
  283 +The name after ``Calibration`` is what we called earlier the calibration
  284 +database, and the names that are following each
  285 +``=== Calibration: xxx ===`` header are the response file names.
  286 +
  287 +To get the same information also onto the console, type
  288 +
  289 +.. code-block:: bash
  290 +
  291 + $ cscaldb debug=yes
  292 +
  293 +
255 294 Data format details
256 295 ~~~~~~~~~~~~~~~~~~~
257 296  
... ...