lsst.meas.extensions.psfex  13.0-5-gd2c5893+8
 All Classes Namespaces Files Functions Variables Friends Macros Groups
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
 Select stars from source catalog. More...
 

Static Public Attributes

 ConfigClass = PsfexStarSelectorConfig
 
 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:

1 import lsstDebug
2 def DebugInfo(name):
3  di = lsstDebug.getInfo(name) # N.b. lsstDebug.Info(name) would call us recursively
4  if name.endswith("objectSizeStarSelector"):
5  di.display = True
6  di.displayExposure = True
7  di.plotFwhmHistogram = True
8 
9  return di
10 
11 lsstDebug.Info = DebugInfo

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

Definition at line 203 of file psfexStarSelector.py.

Member Function Documentation

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 267 of file psfexStarSelector.py.

Member Data Documentation

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

Definition at line 264 of file psfexStarSelector.py.

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

Definition at line 265 of file psfexStarSelector.py.


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