lsst.meas.algorithms  13.0-20-g02a2147
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.algorithms.objectSizeStarSelector.ObjectSizeStarSelectorTask Class Reference

A star selector that looks for a cluster of small objects in a size-magnitude plot. More...

Inheritance diagram for lsst.meas.algorithms.objectSizeStarSelector.ObjectSizeStarSelectorTask:

Public Member Functions

def selectStars
 Return a list of PSF candidates that represent likely stars. More...
 

Static Public Attributes

 ConfigClass = ObjectSizeStarSelectorConfig
 
 usesMatches = False
 

Detailed Description

A star selector that looks for a cluster of small objects in a size-magnitude plot.

Contents

Description

A star selector that looks for a cluster of small objects in a size-magnitude plot.

Task initialisation

Invoking the Task

Like all star selectors, the main method is run.

Configuration parameters

See ObjectSizeStarSelectorConfig

Debug variables

ObjectSizeStarSelectorTask 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
plotMagSize
bool: if True display the magnitude-size relation using matplotlib
dumpData
bool; if True dump data to a pickle file

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.plotMagSize = 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 290 of file objectSizeStarSelector.py.

Member Function Documentation

def lsst.meas.algorithms.objectSizeStarSelector.ObjectSizeStarSelectorTask.selectStars (   self,
  exposure,
  sourceCat,
  matches = None 
)

Return a list of PSF candidates that represent likely stars.

A list of PSF candidates may be used by a PSF fitter to construct a PSF.

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
an lsst.pipe.base.Struct containing:
  • starCat catalog of selected stars (a subset of sourceCat)

Definition at line 352 of file objectSizeStarSelector.py.

Member Data Documentation

lsst.meas.algorithms.objectSizeStarSelector.ObjectSizeStarSelectorTask.ConfigClass = ObjectSizeStarSelectorConfig
static

Definition at line 349 of file objectSizeStarSelector.py.

lsst.meas.algorithms.objectSizeStarSelector.ObjectSizeStarSelectorTask.usesMatches = False
static

Definition at line 350 of file objectSizeStarSelector.py.


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