astro.main.RawFinder (version @(#)$Revision: 1.80 $)
index
/astro-wise/AWEHOME/AWBASE/astro/main/RawFinder.py

 
Classes
       
RawFinder

 
class RawFinder
     Methods defined here:
__init__(self, date_min=None, date_max=None, ra_min=None, ra_max=None, dec_min=None, dec_max=None, object=None, datetime=None, filter=None, chip=None, instrument=None)
find_raw_class(self, cls)
return the raw class for the given class
getCoupling(self)
define the coupling of class to raw and method for finding raws
getDomeFlatInfo(self)
getRaw(self, cls, extra=[])
getRawBiasInfo(self)
getRawDomeFlatInfo(self)
getRawFringeInfo(self)
only keep the raws with a filter with fringes
getRawInfo(self, aw_object)
getRawMasterFlatInfo(self)
getRawPhotometric(self)
getRawScienceInfo(self)
getRawTwilightInfo(self)
get_find_raw(self, cls)
return the getRaw method for the given class

Class methods defined here:
getDateObs(cls, obj) from __builtin__.classobj
determine the DATE_OBS for this class, if class
does not have a DATE_OBS get it (or list) from the raw frame(s)

Data and other attributes defined here:
MAX_RESULTS = 100
long_ora_date_format = 'YYYY-MM-DD HH24:MI:SS'
long_python_date_format = '%Y-%m-%d %T'
short_ora_date_format = 'YYYY-MM-DD'
short_python_date_format = '%Y-%m-%d'

 
Functions
       
Chip2Instrument(chip, obj=True)
given a chip, find the corresponding instrument
Filter2Instrument(filter, obj=True)
given a filter, find the corresponding instrument
GetInstrument(chip=None, filter=None, obj=True)
from chip or filter determine instrument
doImport(obj_str)
For the given object string (obj_str) do an import of the corresponding
class,  and return the class definition
getDerivedDependencyClasses()
Returned is dictionary defining which derived classes should be used
for certain base class attributes.
{ (class, attribute) : class, ... }
getDerivedDependencyClassesStr()
See def getDerivedDependencyClasses, method does not use the classes
as keys, but the string representation of the classes
getInputType(class_name)
return the raw type for class_name
getRawAttributeName(class_name)
return the raw attribute name for class_name

 
Data
        __version__ = '@(#)$Revision: 1.80 $'
inputs = {'AssociateList': 'SourceList', 'AstrometricParameters': 'RawScienceFrame', 'BiasFrame': 'RawBiasFrame', 'CoaddedRegriddedFrame': 'RegriddedFrame', 'ColdPixelMap': 'RawDomeFlatFrame', 'DomeFlatFrame': 'RawDomeFlatFrame', 'FringeFrame': 'RawScienceFrame', 'HotPixelMap': 'RawBiasFrame', 'MasterFlatFrame': 'RawTwilightFlatFrame', 'NightSkyFlatFrame': 'RawScienceFrame', ...}
log = <common.log.ThreadedLog.ThreadedLog instance at 0x134c638>
raw_attribute_names = {'BiasFrame': 'raw_bias_frames', 'CoaddedRegriddedFrame': 'regridded_frames', 'ColdPixelMap': 'flat', 'DomeFlatFrame': 'raw_domeflat_frames', 'FringeFrame': 'raw_science_frames', 'HotPixelMap': 'bias', 'NightSkyFlatFrame': 'raw_science_frames', 'PhotSrcCatalog': 'frame', 'ReadNoise': 'raw_bias_frames', 'SourceList': 'frame', ...}