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

Class OverlappingFileFinder

source code


Finds all frames in a comparison survey that match with a set of frames in a main survey

Nested Classes [hide private]
  RequiredMosaic
RequiredMosaic(productID, ra, dec, raExtent, decExtent, posAngle)
Instance Methods [hide private]
 
__init__(self, mainSurvey, compSurvey, mainData, compData)
Queries archive to determine full provenance info of given file.
source code
 
run(self) source code
 
checkFrames(self, mainDataGridDict) source code
 
getMainDataGrid(self, mainSurveyPointingData) source code
 
checkDataSources(self) source code
 
checkDB(self, dataBase, surveyName, isMain)
Checks whether survey programme exists on file system...
source code
 
getData(self, isMain) source code
 
getArchiveData(self, isMain) source code
 
getHalfSpaces(self, fTypeSel, isMain)
Calculates half-spaces for each detector of the correct frame type.
source code
 
parseFile(self, fileName) source code
 
parseLine(self, line, ltype) source code
 
findOverlaps(self) source code

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

Class Variables [hide private]
  mainSurveyData = None
hash(x)
  compSurveyData = None
hash(x)
  productType = None
hash(x)
  archive = None
Connection to database to query.
  combFileName = None
Path to top-level file with provenance info.
  frameType = None
Base component frame type.
  isPawPrint = False
Is the top-level file a paw-print?
  normalFrameInfo = None
?
  normalList = None
?
  sysc = None
Initialised SystemConstants for this archive.
  isMainDb = False
hash(x)
  isCompDb = False
hash(x)
  productsOnly = False
hash(x)
  _frameInfoOfType = None
Dictionary of frame info referenced by type.
  _provList = None
Complete list of component files (ProvFile).
  _projection = 'ZPN'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, mainSurvey, compSurvey, mainData, compData)
(Constructor)

source code 

Queries archive to determine full provenance info of given file.

Overrides: object.__init__