Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/cos_g140l_zeroth_order_spec_check.html
Дата изменения: Fri Apr 8 12:46:14 2016
Дата индексирования: Mon Apr 11 07:50:08 2016
Кодировка:
Python: module cos_g140l_zeroth_order_spec_check
 
 
cos_g140l_zeroth_order_spec_check (version 15.12/07)
index
cos_g140l_zeroth_order_spec_check.py

PURPOSE --
This module contains a class that checks that there is no usage of
COS G140L with a central wavelength setting of 1230 Ang and FP-POS=4.
 
In such configurations, the zeroth order spectrum falls on a detector.
 
DEVELOPER --
Gary Bower
 
MODIFICATION HISTORY --
o Initial implementation gab 12/03/09
o modify query to only find obsets with qesiparm SEGMENT = SEGB or
  no SEGMENT qesiparm.  drc 3/15/10
o fix bug in query drc 6/22/10
o code cleanup drc 12/07/15

 
Modules
       
alignment_util
calendar_util
stpydb
time_util

 
Classes
       
abstract_check.abstract_check
cos_g140l_zeroth_order_spec_check

 
class cos_g140l_zeroth_order_spec_check(abstract_check.abstract_check)
    Check for usage of COS G140L central wavelength 1230 A and FP-POS=4
 
  Methods defined here:
get_cos_g140l_zeroth_order_spec(self)
Find all the COS G140L 1230 Ang FP_POS=4  alignments scheduled on the calendar.
run(self)

Methods inherited from abstract_check.abstract_check:
__getstate__(self)
Special method used when pickling this object.
 
Copies __dict__, but excludes all unpicklable values.
__init__(self, my_checklist)
__setattr__(self, name, value)
__str__(self)
gui_run(self)
gui_set_pf_status(self)
kill_result_box_gui(self)
pack(self, my_frame, check_no)
review_check_gui(self)

 
Functions
       
run(calendar)
Run the check stand alone.

 
Data
        FAIL = -1
PASS = 1
__version__ = '15.12/07'
sogs_db = 'spss'