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 overview of the available tasks, see the Processing Data documentation section (to be completed). To learn more about the task framework in general, see the lsst.pipe.base module documentation.

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

AssembleCoaddTask
Assemble a coadded image from a set of warps (coadded temporary exposures).
CalibrateTask
!Calibrate an exposure: measure sources and perform astrometric and photometric calibration
CharacterizeImageTask
!Measure bright sources and use this to estimate background and PSF of an exposure
CompareWarpAssembleCoaddTask
Assemble a compareWarp coadded image from a set of warps by masking artifacts detected by comparing PSF-matched warps.
DcrAssembleCoaddTask
Assemble DCR coadded images from a set of warps.
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
ImageDifferenceTask
Subtract an image from a template and measure the result
MakeCoaddTempExpTask
!Warp and optionally PSF-Match calexps onto an a common projection.
MakeDiscreteSkyMapTask
!Make a DiscreteSkyMap in a repository, using the bounding box of a set of calexps.
MakeSkyMapTask
!Make a sky map in a repository
MergeDcrMeasurementsTask
Merge measurements from multiple subfilters.
MergeMeasurementsTask
! @anchor MergeMeasurementsTask
ProcessCcdTask
!Assemble raw data, fit the PSF, detect and measure, and fit WCS and zero-point
SafeClipAssembleCoaddTask
Assemble a coadded image from a set of coadded temporary exposures, being careful to clip & flag areas with potential artifacts.
Winter2013ImageDifferenceTask
!Image difference Task used in the Winter 2013 data challege. Enables testing the effects of registration shifts and scatter.

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.
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
IngestCalibsTask
Task that generates registry for calibration images
IngestTask
Task that will ingest images into the data repository
InterpImageTask
Interpolate over bad image pixels
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
Base class for data processing tasks.
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 filterName 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).
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.AssembleCoaddConfig, lsst.pipe.tasks.assembleCoadd.SafeClipAssembleCoaddTask, lsst.pipe.tasks.assembleCoadd.SafeClipAssembleCoaddConfig, lsst.pipe.tasks.assembleCoadd.CompareWarpAssembleCoaddTask, lsst.pipe.tasks.assembleCoadd.CompareWarpAssembleCoaddConfig