lsst.meas.extensions.psfex  16.0-9-gefcefcb+4
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.extensions.psfex.psfexStarSelector.PsfexStarSelectorTask Class Reference

A star selector whose algorithm is not yet documented. More...

Inheritance diagram for lsst.meas.extensions.psfex.psfexStarSelector.PsfexStarSelectorTask:

Public Member Functions

def selectStars (self, exposure, sourceCat, matches=None)
 Select stars from source catalog. More...
 

Static Public Attributes

 ConfigClass = PsfexStarSelectorConfig
 
bool usesMatches = False
 

Detailed Description

A star selector whose algorithm is not yet documented.

Contents

Description

A star selector whose algorithm is not yet documented

Task initialisation

Invoking the Task

Like all star selectors, the main method is run.

Configuration parameters

See PsfexStarSelectorConfig

Debug variables

PsfexStarSelectorTask has a debug dictionary with the following keys:

display
bool; if True display debug information
displayExposure
bool; if True display the exposure and spatial cells
plotFwhmHistogram
bool; if True plot histogram of FWHM
plotFlags
bool: if True plot the sources coloured by their flags
plotRejection
bool; if True plot why sources are rejected

For example, put something like:

import lsstDebug
def DebugInfo(name):
di = lsstDebug.getInfo(name) # N.b. lsstDebug.Info(name) would call us recursively
if name.endswith("objectSizeStarSelector"):
di.display = True
di.displayExposure = True
di.plotFwhmHistogram = True
return di
lsstDebug.Info = DebugInfo

into your debug.py file and run your task with the --debug flag.

Definition at line 199 of file psfexStarSelector.py.

Member Function Documentation

◆ selectStars()

def lsst.meas.extensions.psfex.psfexStarSelector.PsfexStarSelectorTask.selectStars (   self,
  exposure,
  sourceCat,
  matches = None 
)

Select stars from source catalog.

Parameters
[in]exposurethe exposure containing the sources
[in]sourceCatcatalog of sources that may be stars (an lsst.afw.table.SourceCatalog)
[in]matchesastrometric matches; ignored by this star selector
Returns
a Struct containing:
  • starCat a subset of sourceCat containing the selected stars

Definition at line 263 of file psfexStarSelector.py.

Member Data Documentation

◆ ConfigClass

lsst.meas.extensions.psfex.psfexStarSelector.PsfexStarSelectorTask.ConfigClass = PsfexStarSelectorConfig
static

Definition at line 260 of file psfexStarSelector.py.

◆ usesMatches

bool lsst.meas.extensions.psfex.psfexStarSelector.PsfexStarSelectorTask.usesMatches = False
static

Definition at line 261 of file psfexStarSelector.py.


The documentation for this class was generated from the following file: