lsst.pipe.tasks

lsst.pipe.tasks provides many of the Task classes that drive the LSST Science Pipelines. The command-line tasks listed here are useful data processing entry points for most users. You can also assemble your own pipelines by combining individual tasks through their Python APIs.

lsst.pipe.tasks does not provide all the tasks and command-line tasks in the LSST Science Pipelines. For a complete list of all available tasks, see Task index and for an introduction to processing data see Getting started with the LSST Science Pipelines.

Using lsst.pipe.tasks

Contributing

lsst.pipe.tasks is developed at https://github.com/lsst/pipe_tasks. You can find Jira issues for this module under the pipe_tasks component.

Task reference

Command-line tasks

DeblendCoaddSourcesTask
Deblend the sources in a merged catalog
ExampleCmdLineTask
!Example command-line task that computes simple statistics on an image
GetRepositoryDataTask
Retrieve data from a repository, e.g. for plotting or analysis purposes
MakeDiscreteSkyMapTask
!Make a DiscreteSkyMap in a repository, using the bounding box of a set of calexps.
MakeSkyMapTask
!Make a sky map in a repository
ProcessCcdTask
!Assemble raw data, fit the PSF, detect and measure, and fit WCS and zero-point

Tasks

BaseFakeSourcesTask
An abstract base class for subtasks that inject fake sources into images to test completeness and other aspects of the processing.
BestSeeingWcsSelectImagesTask
Select up to a maximum number of the best-seeing images using their Wcs.
CalibsParseTask
Task that will parse the filename and/or its contents to get the required information to populate the calibration registry.
CalibsRegisterTask
Task that will generate the calibration registry for the Mapper
CoaddInputRecorderTask
Subtask that handles filling a CoaddInputs object for a coadd exposure, tracking the CCDs and visits that went into a coadd.
ComputeExposureSummaryStatsTask
Task to compute exposure summary statistics.
ExampleSigmaClippedStatsTask
!Example task to compute sigma-clipped mean and standard deviation of an image
ExampleSimpleStatsTask
!Example task to compute mean and standard deviation of an image
HealSparseInputMapTask
Task for making a HealSparse input map.
IngestCalibsTask
Task that generates registry for calibration images
IngestTask
Task that will ingest images into the data repository
InterpImageTask
Interpolate over bad image pixels
MaskStreaksTask
Find streaks or other straight lines in image data.
MatchBackgroundsTask
Base class for data processing tasks.
MeasurePsfTask
! @anchor MeasurePsfTask
ParseTask
Task that will parse the filename and/or its contents to get the required information for putting the file in the correct location and populating the registry.
PgsqlIngestTask
Task that will ingest images into the data repository
PgsqlRegisterTask
Task that will generate the registry for the Mapper
PhotoCalTask
! @anchor PhotoCalTask
PropagateVisitFlagsTask
!Task to propagate flags from single-frame measurements to coadd measurements
PsfWcsSelectImagesTask
Select images using their Wcs and cuts on the PSF properties
RegisterTask
Task that will generate the registry for the Mapper
RegisterTask
Task to register (align) multiple images.
RepairTask
! @anchor RepairTask
ScaleVarianceTask
Scale the variance in a MaskedImage
ScaleZeroPointTask
Compute scale factor to scale exposures to a desired photometric zero point
SetPrimaryFlagsTask
Add isPrimaryKey to a given schema.
SnapCombineTask
! anchor SnapCombineTask
TransformTask
! anchor TransformTask
WarpAndPsfMatchTask
A task to warp and PSF-match an exposure
WcsSelectImagesTask
Select images using their Wcs

Configurations

Colorterm
!Colorterm correction for one pair of filters
ColortermDict
A mapping of physical filter label to Colorterm
ColortermLibrary
!A mapping of photometric reference catalog name or glob to ColortermDict
CullPeaksConfig
! @anchor CullPeaksConfig
DatabaseSelectImagesConfig
Base configuration for subclasses of BaseSelectImagesTask that use a database
InitialPsfConfig
!Describes the initial PSF used for detection and measurement before we do PSF determination.

Python API reference

lsst.pipe.tasks.assembleCoadd Module

Classes

AssembleCoaddTask(*args, **kwargs) Assemble a coadded image from a set of warps (coadded temporary exposures).
AssembleCoaddConnections(*[, config])
AssembleCoaddConfig Configuration parameters for the AssembleCoaddTask.
SafeClipAssembleCoaddTask(*args, **kwargs) Assemble a coadded image from a set of coadded temporary exposures, being careful to clip & flag areas with potential artifacts.
SafeClipAssembleCoaddConfig Configuration parameters for the SafeClipAssembleCoaddTask.
CompareWarpAssembleCoaddTask(*args, **kwargs) Assemble a compareWarp coadded image from a set of warps by masking artifacts detected by comparing PSF-matched warps.
CompareWarpAssembleCoaddConfig

Class Inheritance Diagram

Inheritance diagram of lsst.pipe.tasks.assembleCoadd.AssembleCoaddTask, lsst.pipe.tasks.assembleCoadd.AssembleCoaddConnections, lsst.pipe.tasks.assembleCoadd.AssembleCoaddConfig, lsst.pipe.tasks.assembleCoadd.SafeClipAssembleCoaddTask, lsst.pipe.tasks.assembleCoadd.SafeClipAssembleCoaddConfig, lsst.pipe.tasks.assembleCoadd.CompareWarpAssembleCoaddTask, lsst.pipe.tasks.assembleCoadd.CompareWarpAssembleCoaddConfig

lsst.pipe.tasks.dcrAssembleCoadd Module

Classes

DcrAssembleCoaddConnections(*[, config])
DcrAssembleCoaddTask(*args, **kwargs) Assemble DCR coadded images from a set of warps.
DcrAssembleCoaddConfig

Class Inheritance Diagram

Inheritance diagram of lsst.pipe.tasks.dcrAssembleCoadd.DcrAssembleCoaddConnections, lsst.pipe.tasks.dcrAssembleCoadd.DcrAssembleCoaddTask, lsst.pipe.tasks.dcrAssembleCoadd.DcrAssembleCoaddConfig