lsst.ip.diffim
15.0-4-gd76abed+1
|
Subclass of SingleFrameMeasurementTask which accepts up to three input images in its run() method. More...
Public Member Functions | |
def | __init__ (self, schema, algMetadata=None, kwds) |
def | run (self, sources, exposure, posExp=None, negExp=None, kwds) |
Run dipole measurement and classification. More... | |
Public Attributes | |
dipoleFitter | |
Static Public Attributes | |
ConfigClass = DipoleFitTaskConfig | |
Subclass of SingleFrameMeasurementTask which accepts up to three input images in its run() method.
Because it subclasses SingleFrameMeasurementTask, and calls SingleFrameMeasurementTask.run() from its run() method, it still can be used identically to a standard SingleFrameMeasurementTask.
Definition at line 134 of file dipoleFitTask.py.
def lsst.ip.diffim.dipoleFitTask.DipoleFitTask.__init__ | ( | self, | |
schema, | |||
algMetadata = None , |
|||
kwds | |||
) |
Definition at line 145 of file dipoleFitTask.py.
def lsst.ip.diffim.dipoleFitTask.DipoleFitTask.run | ( | self, | |
sources, | |||
exposure, | |||
posExp = None , |
|||
negExp = None , |
|||
kwds | |||
) |
Run dipole measurement and classification.
sources | diaSources that will be measured using dipole measurement |
exposure | Difference exposure on which the diaSources were detected; exposure = posExp - negExp |
posExp | "Positive" exposure, typically a science exposure, or None if unavailable |
negExp | "Negative" exposure, typically a template exposure, or None if unavailable |
**kwds | Sent to SingleFrameMeasurementTask |
posExp
is None
, will compute posImage = exposure + negExp
. Likewise, when negExp
is None
, will compute negImage = posExp - exposure
. If both posExp
and negExp
are None
, will attempt to fit the dipole to just the exposure
with no constraint. Definition at line 155 of file dipoleFitTask.py.
|
static |
Definition at line 142 of file dipoleFitTask.py.
lsst.ip.diffim.dipoleFitTask.DipoleFitTask.dipoleFitter |
Definition at line 151 of file dipoleFitTask.py.