Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/siRecon.html
Дата изменения: Fri Apr 8 12:46:15 2016
Дата индексирования: Sun Apr 10 21:30:20 2016
Кодировка:

Поисковые слова: annular solar eclipse
Python: module siRecon
 
 
siRecon
index
siRecon.py

 
Modules
       
os
stpydb
string
sys
time

 
Classes
       
qasiStates
qgReconfig
siDataDef
siStateDef
siStateSeq
siStateTra

 
class qasiStates
    A class to interface with the relation qasi_states.
 
  Methods defined here:
__init__(self, alignId, server='HAL9000', database='spss')
Purpose: Constructor to extract all the data from qasi_states for 
         the specified alignment.
         
Usage: ACSDataDef = siRecon.qasiStates('0922:01:01:01')
__repr__(self)
Purpose: String Representation of extracted data from wsidata_def. 
         
         
Usage: q = siRecon.qasiStates('00922:01:01:01')
       print q
report(self, outputFile='qasi_states.rpt')
Purpose: Writes the alignment_id's records qasi_states
      for a given proposal, and optional obset_id, alignment_id and 
      version number to a file specified or by default to
      qasi_states.rpt from the class instance of qasiStates.
 
Usage: q = siRecon.qasiStates('00922:01:01:01')
       q.report('qasi_states_00922_01_01_01.rpt')

 
class qgReconfig
    A class to interface with the relation qgreconfig.
 
  Methods defined here:
__init__(self, change_code=None, server='HAL9000', database='spss')
Purpose: Constructor to extract all the data from qgreconfig for 
         the specified change_code or all extracted.
         
Usage: changeCodes = siRecon.qgReconfig()
__repr__(self)
Purpose: String Representation of extracted data from wsidata_def. 
         
         
Usage: ACSdataDef = siRecon.siDataDef('ACS')
       print ACSdataDef
report(self, outputFile='qgreconfig.rpt')
Purpose: Writes the science instrument qgreconfig
      to a file specified or by default to
      qgreconfig.rpt from the class instance of qgReconfig.
 
Usage: q = siRecon.qgReconfig()
       q.report('qgreconfig.rpt')

 
class siDataDef
    A class to interface with the relation wsidata_def.
 
  Methods defined here:
__init__(self, si_name=None, server='HAL9000', database='spss')
Purpose: Constructor to extract all the data from wsidata_def for 
         the specified si_name or all extracted.
         
Usage: ACSDataDef = siRecon.siDataDef('ACS')
__repr__(self)
Purpose: String Representation of extracted data from wsidata_def. 
         
         
Usage: ACSdataDef = siRecon.siDataDef('ACS')
       print ACSdataDef
report(self, outputFile='wsidata_def.rpt')
Purpose: Writes the science instrument definition records wsidata_def
      for a given instrument id to a file specified or by default to
      wsidata_def.rpt from the class instance of siDataDef.
 
Usage: ACSdataDef = siRecon.siDataDef('ACS')
       ACSdataDef.report('ACS_wsidata_def.rpt')

 
class siStateDef
    A class to interface with the relation wsistate_def.
 
  Methods defined here:
__init__(self, si_name=None, server='HAL9000', database='spss')
Purpose: Constructor to extract all the data from wsistate_def for 
         the specified si_name or all extracted.
         
Usage: ACSstateDef = siRecon.siStateDef('ACS')
__repr__(self)
Purpose: String Representation of extracted data from wsistate_def. 
         
         
Usage: ACSstateDef = siRecon.siStateDef('ACS')
       print ACSstateDef
report(self, outputFile='wsistate_def.rpt')
Purpose: Writes the science instrument definition records wsistate_def
      for a given instrument id to a file specified or by default to
      wsistate_def.rpt from the class instance.
 
Usage: ACSstateDef = siRecon.siStateDef('ACS')
       ACSstateDef.report('ACS_wsistate_def.rpt')

 
class siStateSeq
    A class to interface with the relation wsistate_def.
 
  Methods defined here:
__init__(self, si_name=None, server='HAL9000', database='spss')
Purpose: Constructor to extract all the data from wsistate_seq for 
         the specified si_name or all extracted.
         
Usage: ACSstateSeq = siRecon.siStateSeq('ACS')
__repr__(self)
Purpose: String Representation of extracted data from wsistate_seq. 
         
         
Usage: ACSstateSeq = siRecon.siStateSeq('ACS')
       print ACSstateSeq
report(self, outputFile='wsistate_seq.rpt')
Purpose: Writes the science instrument definition records wsistate_seq
      for a given instrument id to a file specified or by default to
      wsistate_seq.rpt from the class instance.
 
Usage: ACSstateSeq = siRecon.siStateSeq('ACS')
       ACSstateSeq.report('ACS_wsistate_seq.rpt')

 
class siStateTra
    A class to interface with the relation wsistate_tra.
 
  Methods defined here:
__init__(self, si_name=None, server='HAL9000', database='spss')
Purpose: Constructor to extract all the data from wsistate_tra for 
         the specified si_name or all extracted.
         
Usage: ACSstateTra = siRecon.siStateTra('ACS')
__repr__(self)
Purpose: String Representation of extracted data from wsistate_tra. 
         
         
Usage: ACSstateTra = siRecon.siStateTra('ACS')
       print ACSstateTra
report(self, outputFile='wsistate_tra.rpt')
Purpose: Writes the science instrument definition records wsistate_tra
      for a given instrument id to a file specified or by default to
      wsistate_tra.rpt from the class instance.  This report also writes
      the instr_name field from qgreconfig for the 
      wsistate_tra.command_code = qgreconfig.change_code 
 
Usage: ACSstateTra = siRecon.siStateTra('ACS')
       ACSstateTra.report('ACS_wsistate_tra.rpt')

 
Functions
       
reportSI(relation='wsistate_def', siParam=None, outputFile='sirecon.rpt', server='HAL9000', database='spss')
Purpose: Writes the science instrument definition records wsistate_def
         for a given instrument id to a file specified or by default to
         wsistate_def.rpt. 
 
Usage: siRecon.reportSI('wsistate_seq','ACS','ACS_seq.rpt')
 
Returns None