Package wsatools :: Module ProgrammeBuilder :: Class BestSetup
[hide private]

Class BestSetup

source code


Best new setup from stack data.

Instance Methods [hide private]
 
__init__(self, progTable, recreate, dateRange, displayDeeps)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getProdID(self, pos, filterID, currentProdData, recreate) source code
bool
checkGalacticStatus(self, finalStacks, progTable)
Returns: True, if the programme is at low Galactic latitude.
source code
 
findTiles(self, finalStacks, maxSep, recreate, curTilePos) source code
 
groupbyPosition(self, interMedStacks, maxSep, currentPositions, recreate=False, onceOnly=False)
Groups stacks according to following algorithm.
source code
 
getMergedGroup(self, pair, groups, fieldID=None)
Merges two groups into one.
source code
 
compareStackPosit(self, positions, possStacks)
?
source code
 
reJigClosePairs(self, closePairs, groups, pID, positions)
?
source code
 
checkExclusivity(self, newPositions)
Checks group positions to see if they are exclusive.
source code
 
recalculateCentres(self, groups, maxDist)
Recalculate group centres and sizes.
source code
 
findNewGroups(self, possStacks, maxSep, fieldID)
Takes ungroupedStacks and groups them together.
source code
 
findBestGroup(self, groups, position, maxSep)
Criteria: All objects must be within 2*maxSep (diameter) of all others Count best matches if <scale*maxSep.
source code
 
matchStacksTiles(self, finalTiles, finalStack)
Have matches, just make sure complete and consistent.
source code
 
removeOldGroups(self, finalPositions, depPids)
Removes deprecated Pids and then reindexes.
source code

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

Class Variables [hide private]
  isSurveyDeep = False
Survey contains repeated observations?
  isTile = False
?
  newFiltData = None
List of ?
  newPosData = None
List of ?
  posAngleTol = None
?
  productData = None
?
  productLinks = None
?
  productType = 'stack'
Product type, e.g.
  progID = None
Unique ID of programme being set up.
  sysc = SystemConstants()
Initialised system constants object.
  displayDeep = False
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, progTable, recreate, dateRange, displayDeeps)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

checkGalacticStatus(self, finalStacks, progTable)

source code 
Returns: bool
True, if the programme is at low Galactic latitude.

Class Variable Details [hide private]

productType

Product type, e.g. stack, tile etc.

Value:
'stack'