Package helpers :: Module CheckFitsHeaders :: Class CheckFitsHeaders
[hide private]

Class CheckFitsHeaders

source code


Checks FITS files for missing multiframe IDs or WSATimestamps.

Instance Methods [hide private]
 
run(self)
Runs the FITS file check.
source code
 
getHeaders(self, mfidDict)
get headers from CASU and WFAU and write them into files
source code
 
_getDbData(self, attributes, theWhere='', pixcat='pix', resTuple=None)
Read attributes from the database.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
formatValue(val) source code
Class Variables [hide private]
  archive = None
Database connection.
  database = None
hash(x)
  fitsKeys = defaultdict(None, {'Multiframe': ['multiframeID', '...
  extractHeaders = False
hash(x)
  fixFixed = False
hash(x)
  finalCheck = False
hash(x)
  onlyBackupFiles = False
hash(x)
  onlyMissing = False
hash(x)
  onlyTime = False
hash(x)
  pixOrCat = None
hash(x)
  printDiffs = False
hash(x)
  DataResults = defaultdict(None, {})
  fitskeyDict = {'VSA': {'cat': {'APCOR7': 'MultiframeDetector.a...
Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

fitsKeys

Value:
defaultdict(None, {'Multiframe': ['multiframeID', 'fileTimeStamp']})

fitskeyDict

Value:
{'VSA': {'cat': {'APCOR7': 'MultiframeDetector.aperCor7',
                 'CROWDED': 'MultiframeDetector.crowdedFlag',
                 'DECZP01': 'CurrentAstrometry.refDecShift01',
                 'DECZP12': 'CurrentAstrometry.refDecShift12',
                 'DESTRIPE': 'MultiframeDetector.destripe',
                 'DRIBBLE': 'MultiframeDetector.dribble',
                 'EBMVMED': 'MultiframeDetector.ebmvMed',
                 'ELLIPTIC': 'MultiframeDetector.avStellarEll',
...