MatchBackgroundsTask¶
Python API summary¶
from lsst.pipe.tasks.matchBackgrounds import MatchBackgroundsTask
-
class
MatchBackgroundsTask(*args, **kwargs) Match the backgrounds of a list of warped exposures to a reference
...
- attributeconfig
Access configuration fields and retargetable subtasks.
-
method
run(warps, skyMap) Match the backgrounds of a list of warped exposures to the same patches in a reference visit
...
See also
See the MatchBackgroundsTask API reference for complete details.
Retargetable subtasks¶
reference¶
- Default
lsst.pipe.tasks.matchBackgrounds.ChooseReferenceVisitTask- Field type
Choose reference visit to match backgrounds to
Configuration fields¶
connections¶
- Data type
lsst.pipe.base.config.MatchBackgroundsConfigConnections- Field type
Configurations describing the connections of the PipelineTask to datatypes
gridStatistic¶
- Default
'MEANCLIP'- Field type
strChoiceField(optional)- Choices
'MEAN'mean
'MEDIAN'median
'MEANCLIP'clipped mean
NoneField is optional
Type of statistic to estimate pixel value for the grid points
interpStyle¶
- Default
'AKIMA_SPLINE'- Field type
strChoiceField(optional)- Choices
'CONSTANT'Use a single constant value.
'LINEAR'Use linear interpolation.
'NATURAL_SPLINE'A cubic spline with zero second derivative at endpoints.
'AKIMA_SPLINE'A higher-level non-linear spline that is more robust to outliers.
'NONE'No background estimation is to be attempted.
NoneField is optional
Algorithm to interpolate the background values. Maps to an enum; see afw.math.Background for more information.
numIter¶
Number of iterations of outlier rejection. Ignored if gridStatistic != 'MEANCLIP'.
numSigmaClip¶
Sigma for outlier rejection. Ignored if gridStatistic != 'MEANCLIP'.
refWarpVisit¶
Reference visit ID. If None, the best visit is chosen using the list of visits.
saveLogOutput¶
Flag to enable/disable saving of log output for a task, enabled by default.
tractBgModel¶
- Data type
lsst.pipe.tasks.tractBackground.TractBackgroundConfig- Field type
Background model for the entire tract
undersampleStyle¶
- Default
'REDUCE_INTERP_ORDER'- Field type
strChoiceField(optional)- Choices
'THROW_EXCEPTION'throw an exception if there are too few points.
'REDUCE_INTERP_ORDER'use an interpolation style with a lower order.
NoneField is optional
Behavior if there are too few points in the grid for requested interpolation style