Package helpers :: Module UpdateDetectionTables :: Class DeblendParamFixer
[hide private]

Class DeblendParamFixer

source code


Fixes the parameters of deblended objects in the detection tables.

Nested Classes [hide private]
    Nested Errors and Exceptions

Inherited from wsatools.DbConnect.CuSession.CuSession: CuError

Instance Methods [hide private]
int
calcNParts(self)
Returns: Number of parts to split the table update into.
source code
 
setUpParameters(self, part, _nParts)
Prepares data for table update.
source code
 
updateTable(self, table)
Updates detection table deblended parameters with corrected values.
source code
 
calcKronRad(self, deblendData)
Calculate Kron radius to Mike's prescription.
source code
 
calcPetrRad(self, deblendData)
Calculate Petrosian radius to Mike's prescription.
source code
 
calcHallRad(self, deblendData)
Calculate Hall radius to Mike's prescription.
source code
 
calcFlux(self, deblendData, radiusArr)
Calculates best flux given radius.
source code
 
weightFlux(self, deblendData, fluxArr, groups, isHall=False)
Sums up fluxes and apportions by comparing to ratio of isophotal to sumIso.
source code
 
calcErr(self, deblendData, fluxArr, radArr)
Calculates the error in the flux.
source code
 
calcZeropoint(self, deblendData)
Uses isophotal mag and isophotal flux to calculate ZP.
source code

Inherited from DetectionUpdater (private): _onException, _onRun, _parseSchemas

Inherited from wsatools.DbConnect.CuSession.CuSession: __del__, __init__, logBrokenFile, run

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

Static Methods [hide private]

Inherited from wsatools.DbConnect.CuSession.CuSession: logException

Class Variables [hide private]
  apertures = [0.5, 0.707106781187, 1, 1.41421356237, 2, 2.82842...
?
  firstAperture = 7
?
  firstAperIndex = 9
?
  doLastMfOnly = False
Only process the last multiframeID for the programme.

Inherited from DetectionUpdater: comment, firstProg, lastProg, tableSet

Inherited from DetectionUpdater (private): _autoCommit, _isPersistent

Inherited from wsatools.DbConnect.CuSession.CuSession: archive, cuEventID, cuNum, curator, eTypes, isDayStampedLog, onlyNonSurveys, onlySurveys, programme, programmeID, resultsFilePathName, shareFileID, sysc

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

calcNParts(self)

source code 
Returns: int
Number of parts to split the table update into.
Overrides: DetectionUpdater.calcNParts

setUpParameters(self, part, _nParts)

source code 

Prepares data for table update.

Overrides: DetectionUpdater.setUpParameters

updateTable(self, table)

source code 

Updates detection table deblended parameters with corrected values.

Parameters:
  • table (schema.Table) - Schema for detection table to update.
Overrides: DetectionUpdater.updateTable

Class Variable Details [hide private]

apertures

?

Value:
[0.5,
 0.707106781187,
 1,
 1.41421356237,
 2,
 2.82842712475,
 4,
 5,
...