Skip to content

Commit

Permalink
Fix init docstring and update past task file debug parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
squisty committed May 5, 2021
1 parent 3948ed2 commit 8034e8f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Debugging

MeasureApCorrTask has a debug dictionary containing two boolean keys:

display
display = lsstDebug.Info(__name__).display

doPause
doPause = lsstDebug.Info(__name__).doPause
bool; Pause to inspect the residuals plot? If False, there will be a 4 second delay to allow for inspection of the plot before closing it and moving on.

display
bool; if True display debug information
20 changes: 9 additions & 11 deletions python/lsst/meas/algorithms/psfDeterminer.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,22 @@ class BasePsfDeterminerTask(pipeBase.Task, metaclass=abc.ABCMeta):
Register all PSF determiners with the psfDeterminerRegistry using:
psfDeterminerRegistry.register(name, class)
Parameters
----------
config : `lsst.pexConfig.Config`
Input for configuring the algorithm
schema : `lsst.afw.table.Schema`
Schema used for sources; passing a schema allows the
determiner to reserve a flag field to mark stars used in
PSF measurement, but some PSF determiners ignore this argument.
"""

usesMatches = False # Does the PSF determiner use the "matches" argument in the "run method? Few do.
ConfigClass = BasePsfDeterminerConfig
_DefaultName = "psfDeterminer"

def __init__(self, config, schema=None, **kwds):
"""Construct a PSF Determiner.
Parameters
----------
config : `lsst.pexConfig.Config`
Input for configuring the algorithm.
schema : `lsst.afw.table.Schema`
Schema used for sources; passing a schema allows the determiner
to reserve a flag field to mark stars used in PSF measurement,
but some PSF determiners ignore this argument.
"""
pipeBase.Task.__init__(self, config=config, **kwds)

@abc.abstractmethod
Expand Down

0 comments on commit 8034e8f

Please sign in to comment.