lsst.pipe.tasks

lsst.pipe.tasks provides many of the Task classes that drive the LSST Science Pipelines. The pipeline tasks listed here are useful data processing entry points for most users.

lsst.pipe.tasks does not provide all the tasks and pipeline 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

Pipeline tasks

AssembleCoaddTask
Assemble a coadded image from a set of warps.
CalibrateTask
Task to calibrate an exposure.
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.
ConsolidateHealSparsePropertyMapTask
Task to consolidate HealSparse property maps.
ConsolidateSourceTableTask
Concatenate sourceTable list into a per-visit sourceTable_visit
ConsolidateVisitSummaryTask
Task to consolidate per-detector visit metadata.
DcrAssembleCoaddTask
Assemble DCR coadded images from a set of warps.
DetectCoaddSourcesTask
Detect sources on a coadd.
FinalizeCharacterizationTask
Run final characterization on exposures.
HealSparsePropertyMapTask
Task to compute Healsparse property maps.
HighResolutionHipsTask
Task for making high resolution HiPS images.
ImageDifferenceTask
Subtract an image from a template and measure the result
IsolatedStarAssociationTask
Associate sources into isolated star catalogs.
MeasureMergedCoaddSourcesTask
Deblend sources from main catalog in each coadd seperately and measure.
MergeDetectionsTask
Task to merge coadd tetections from multiple bands.
MergeMeasurementsTask
Merge measurements from multiple bands.
NumberDeblendChildSourcesMetricTask
Task that computes the number of science sources created through deblending.
NumberDeblendedSourcesMetricTask
Task that computes the number of science sources that have been deblended.
TransformSourceTableTask
Transform/standardize a source catalog
WriteSourceTableTask
Write source table to parquet.

Tasks

BaseFakeSourcesTask
An abstract base class for subtasks that inject fake sources into images to test completeness and other aspects of the processing.
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.
InterpImageTask
Interpolate over bad image pixels
LoadReferenceCatalogTask
Load multi-band reference objects from a reference catalog.
MakeDiscreteSkyMapTask
!Make a DiscreteSkyMap in a repository, using the bounding box of a set of calexps.
MaskStreaksTask
Find streaks or other straight lines in image data.
MatchBackgroundsTask
Base class for data processing tasks.
MeasurePsfTask
! @anchor MeasurePsfTask
PhotoCalTask
! @anchor PhotoCalTask
PropagateSourceFlagsTask
Task to propagate source flags to coadd objects.
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 to register (align) multiple images.
RepairTask
! @anchor RepairTask
ReserveIsolatedStarsTask
Reserve isolated stars with repeatable hash.
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
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.
AssembleCoaddConnections(*[, config])
AssembleCoaddConfig Configuration parameters for the AssembleCoaddTask.
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.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

lsst.pipe.tasks.metrics Module

Classes

NumberDeblendedSourcesMetricTask(**kwargs) Task that computes the number of science sources that have been deblended.
NumberDeblendedSourcesMetricConfig
NumberDeblendChildSourcesMetricTask(**kwargs) Task that computes the number of science sources created through deblending.
NumberDeblendChildSourcesMetricConfig