Package wsatools :: Module SExtractorInterface :: Class SExtractorInterface
[hide private]

Class SExtractorInterface

source code


Provides an interface between CU13 and functions to process an image with SExtractor

Instance Methods [hide private]
 
__init__(self, archive, bestImageObj, dualImageObj)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
addHeaders(self) source code
 
calcAperCor(self) source code
 
calcAvConf(self)
Use segmentation and weight image to calculate average confidence
source code
 
calcSeeingEll(self, fwhm, ell, mask)
Calculates average seeing and ellipticity
source code
 
classification(self, stat, mag, magErr, brightSGCut=0.98, faintSGCut=0.94, satSGCut=0.5, errorLimit=0.02)
Function to calculate a discrete classifier based on magnitude, magnitude error and stat.
source code
 
convertASCIItoFITS(self, minX=-999, maxX=-999, minY=-999, maxY=-999)
This function reads in data from the ascii file and converts to a fits file.
source code
 
extractCatalogue(self)
Run SExtractor on image to produce catalogue.
source code
 
getLimits(self, magArray, magErrArray, rmsLimit)
Find best fit function.
source code
 
getSexFiles(self)
Copy the detectionCatalog.inpar and detectionCatalog.param, and substitute all relevant strings.
source code
 
runSExtractor(self, isDualImageMode=False)
Run Source Extractor
source code
 
selectStars(self, hdu)
Select stars
source code

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

Class Variables [hide private]
  comment = 'Running SExtractor'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, archive, bestImageObj, dualImageObj)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

classification(self, stat, mag, magErr, brightSGCut=0.98, faintSGCut=0.94, satSGCut=0.5, errorLimit=0.02)

source code 

Function to calculate a discrete classifier based on magnitude, magnitude error and stat. -1 stellar,+1 non-stellar,0 noise,-2 borderline stellar, -3 borderline non-stellar,-9 saturated.