ctools 2.1.0.dev
Loading...
Searching...
No Matches
cscripts.cscaldb.cscaldb Class Reference
Inheritance diagram for cscripts.cscaldb.cscaldb:

Public Member Functions

 __init__ (self, *argv)
 
 process (self)
 

Protected Member Functions

 _get_parameters (self)
 
 _get_missions (self, caldb)
 
 _get_instruments (self, caldb, mission)
 
 _get_response_names (self, calibrations)
 

Detailed Description

Shows the content of the ctools calibration database.

The ``cscaldb`` script writes the content of the calibration database
into the ``cscaldb.log`` log file. If the ``debug`` parameter is set
to ``yes`` the calibration database is also logged in the console.

Definition at line 31 of file cscaldb.py.

Constructor & Destructor Documentation

◆ __init__()

cscripts.cscaldb.cscaldb.__init__ ( self,
* argv )
Constructor.

Parameters
----------
argv : list of str
    List of IRAF command line parameter strings of the form
    ``parameter=3``.

Raises
------
TypeError
    An invalid number of command line arguments was provided.

Definition at line 41 of file cscaldb.py.

Member Function Documentation

◆ _get_instruments()

cscripts.cscaldb.cscaldb._get_instruments ( self,
caldb,
mission )
protected

Definition at line 93 of file cscaldb.py.

Referenced by cscripts.cscaldb.cscaldb.process().

◆ _get_missions()

cscripts.cscaldb.cscaldb._get_missions ( self,
caldb )
protected

Definition at line 75 of file cscaldb.py.

Referenced by cscripts.cscaldb.cscaldb.process().

◆ _get_parameters()

◆ _get_response_names()

cscripts.cscaldb.cscaldb._get_response_names ( self,
calibrations )
protected

Definition at line 112 of file cscaldb.py.

Referenced by cscripts.cscaldb.cscaldb.process().

◆ process()

cscripts.cscaldb.cscaldb.process ( self)
Process the script.

Definition at line 139 of file cscaldb.py.

References cscripts.cscaldb.cscaldb._get_instruments(), cscripts.cscaldb.cscaldb._get_missions(), cscripts.csadd2caldb.csadd2caldb._get_parameters(), cscripts.csbkgmodel.csbkgmodel._get_parameters(), cscripts.cscaldb.cscaldb._get_parameters(), cscripts.csebins.csebins._get_parameters(), cscripts.csfindobs.csfindobs._get_parameters(), cscripts.csfootprint.csfootprint._get_parameters(), cscripts.csiactcopy.csiactcopy._get_parameters(), cscripts.csiactdata.csiactdata._get_parameters(), cscripts.csiactobs.csiactobs._get_parameters(), cscripts.cslightcrv.cslightcrv._get_parameters(), cscripts.csmodelinfo.csmodelinfo._get_parameters(), cscripts.csmodelmerge.csmodelmerge._get_parameters(), cscripts.csmodelselect.csmodelselect._get_parameters(), cscripts.csmodelsois.csmodelsois._get_parameters(), cscripts.csobs2caldb.csobs2caldb._get_parameters(), cscripts.csobsdef.csobsdef._get_parameters(), cscripts.csobsinfo.csobsinfo._get_parameters(), cscripts.csobsselect.csobsselect._get_parameters(), cscripts.csphagen.csphagen._get_parameters(), cscripts.csphasecrv.csphasecrv._get_parameters(), cscripts.cspull.cspull._get_parameters(), cscripts.csresmap.csresmap._get_parameters(), cscripts.csresspec.csresspec._get_parameters(), cscripts.csroot2caldb.csroot2caldb._get_parameters(), cscripts.csscs.csscs._get_parameters(), cscripts.cssens.cssens._get_parameters(), cscripts.csspec.csspec._get_parameters(), cscripts.cssrcdetect.cssrcdetect._get_parameters(), cscripts.cstsdist.cstsdist._get_parameters(), cscripts.cstsmapmerge.cstsmapmerge._get_parameters(), cscripts.cstsmapsplit.cstsmapsplit._get_parameters(), cscripts.csviscube.csviscube._get_parameters(), cscripts.csworkflow.csworkflow._get_parameters(), and cscripts.cscaldb.cscaldb._get_response_names().


The documentation for this class was generated from the following file: