lsst.pipe.base

The lsst.pipe.base module provides base classes for the task framework. Tasks package the algorithmic units of the LSST Science Pipelines. You can create, configure, and run tasks with their Python APIs. Some tasks, called pipeline tasks, can be packaged into data processing pipelines that you can run from the command line.

Changes

Using lsst.pipe.base

Overview

Developing tasks and pipeline tasks

Developing Pipelines

Contributing

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

Python API reference

lsst.pipe.base Package

Functions

buildExecutionButler(butler, graph, ...[, ...])

Create an execution butler.

iterConnections(connections, connectionType)

Create an iterator over the selected connections type which yields all the defined connections of that type.

Classes

AdjustQuantumHelper(inputs, outputs[, ...])

Helper class for calling PipelineTaskConnections.adjustQuantum.

ButlerQuantumContext(*args, **kwargs)

Deprecated version of QuantumContext.

DeferredDatasetRef(datasetRef)

A wrapper class for DatasetRef that indicates that a PipelineTask should receive a DeferredDatasetHandle instead of an in-memory dataset.

ExecutionResources(*[, num_cores, max_mem, ...])

A description of the resources available to a running quantum.

GraphBuilder(registry[, skipExistingIn, ...])

GraphBuilder class is responsible for building task execution graph from a Pipeline.

InMemoryDatasetHandle(inMemoryDataset, *[, ...])

An in-memory version of a DeferredDatasetHandle.

IncompatibleGraphError

Exception class to indicate that a lookup by NodeId is impossible due to incompatibilities

InputQuantizedConnection(**kwargs)

Input variant of a QuantizedConnection.

Instrument([collection_prefix])

Base class for instrument-specific logic for the Gen3 Butler.

InvalidQuantumError

Exception that may be raised by PipelineTasks (and code they delegate to) in order to indicate logic bug or configuration problem.

LabelSpecifier([labels, begin, end])

A structure to specify a subset of labels to load

NoWorkFound

An exception raised when a Quantum should not exist because there is no work for it to do.

NodeId(number, buildId)

Deprecated, this class is used with QuantumGraph save formats of 1 and 2 when unpicking objects and must be retained until those formats are considered unloadable.

ObservationDimensionPacker(data_id, config)

A DimensionPacker for visit+detector or exposure+detector.

ObservationDimensionPackerConfig(*args, **kw)

Config associated with a ObservationDimensionPacker.

OutputQuantizedConnection(**kwargs)

Output variant of a QuantizedConnection.

Pipeline(description)

A Pipeline is a representation of a series of tasks to run, and the configuration for those tasks.

PipelineDatasetTypes(initInputs, ...)

An immutable struct that classifies the dataset types used in a Pipeline.

PipelineTask(*[, config, log, initInputs])

Base class for all pipeline tasks.

PipelineTaskConfig(*args, **kw)

Configuration class for PipelineTask

PipelineTaskConnections(*[, config])

PipelineTaskConnections is a class used to declare desired IO when a PipelineTask is run by an activator

QuantumContext(butler, quantum, *[, resources])

A Butler-like class specialized for a single quantum along with context information that can influence how the task is executed.

QuantumGraph(quanta[, metadata, pruneRefs, ...])

QuantumGraph is a directed acyclic graph of QuantumNode objects

QuantumNode(quantum, taskDef, nodeId)

Class representing a node in the quantum graph.

RepeatableQuantumError

Exception that may be raised by PipelineTasks (and code they delegate to) in order to indicate that a repeatable problem that will not be addressed by retries.

ScalarError

Exception raised when dataset type is configured as scalar but there are multiple data IDs in a Quantum for that dataset.

Struct(**keyArgs)

A container to which you can add fields as attributes.

Task([config, name, parentTask, log])

Base class for data processing tasks.

TaskDatasetTypes(initInputs, initOutputs, ...)

An immutable struct that extracts and classifies the dataset types used by a PipelineTask

TaskDef([taskName, config, taskClass, ...])

TaskDef is a collection of information about task needed by Pipeline.

TaskError

Use to report errors for which a traceback is not useful.

TaskFactory()

Abstract base class for task factory.

TaskMetadata(*[, scalars, arrays, metadata])

Dict-like object for storing task metadata.

Class Inheritance Diagram

digraph inheritanceba4d1bed92 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "AdjustQuantumHelper" [URL="../../../py-api/lsst.pipe.base.AdjustQuantumHelper.html#lsst.pipe.base.AdjustQuantumHelper",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Helper class for calling `PipelineTaskConnections.adjustQuantum`."]; "BaseModel" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "Representation" -> "BaseModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ButlerQuantumContext" [URL="../../../py-api/lsst.pipe.base.ButlerQuantumContext.html#lsst.pipe.base.ButlerQuantumContext",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Deprecated version of `QuantumContext`."]; "QuantumContext" -> "ButlerQuantumContext" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Config" [URL="../../../py-api/lsst.pex.config.Config.html#lsst.pex.config.Config",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for configuration (*config*) objects."]; "DeferredDatasetRef" [URL="../../../py-api/lsst.pipe.base.DeferredDatasetRef.html#lsst.pipe.base.DeferredDatasetRef",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A wrapper class for `~lsst.daf.butler.DatasetRef` that indicates that a"]; "DimensionPacker" [URL="../../../py-api/lsst.daf.butler.DimensionPacker.html#lsst.daf.butler.DimensionPacker",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class for going from `DataCoordinate` to packed integer ID and back."]; "ExecutionResources" [URL="../../../py-api/lsst.pipe.base.ExecutionResources.html#lsst.pipe.base.ExecutionResources",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A description of the resources available to a running quantum."]; "GraphBuilder" [URL="../../../py-api/lsst.pipe.base.GraphBuilder.html#lsst.pipe.base.GraphBuilder",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="GraphBuilder class is responsible for building task execution graph from"]; "InMemoryDatasetHandle" [URL="../../../py-api/lsst.pipe.base.InMemoryDatasetHandle.html#lsst.pipe.base.InMemoryDatasetHandle",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An in-memory version of a `~lsst.daf.butler.DeferredDatasetHandle`."]; "IncompatibleGraphError" [URL="../../../py-api/lsst.pipe.base.IncompatibleGraphError.html#lsst.pipe.base.IncompatibleGraphError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception class to indicate that a lookup by NodeId is impossible due"]; "InputQuantizedConnection" [URL="../../../py-api/lsst.pipe.base.InputQuantizedConnection.html#lsst.pipe.base.InputQuantizedConnection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Input variant of a `QuantizedConnection`."]; "QuantizedConnection" -> "InputQuantizedConnection" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Instrument" [URL="../../../py-api/lsst.pipe.base.Instrument.html#lsst.pipe.base.Instrument",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for instrument-specific logic for the Gen3 Butler."]; "InvalidQuantumError" [URL="../../../py-api/lsst.pipe.base.InvalidQuantumError.html#lsst.pipe.base.InvalidQuantumError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception that may be raised by PipelineTasks (and code they delegate"]; "LabelSpecifier" [URL="../../../py-api/lsst.pipe.base.LabelSpecifier.html#lsst.pipe.base.LabelSpecifier",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A structure to specify a subset of labels to load"]; "NoWorkFound" [URL="../../../py-api/lsst.pipe.base.NoWorkFound.html#lsst.pipe.base.NoWorkFound",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An exception raised when a Quantum should not exist because there is no"]; "NodeId" [URL="../../../py-api/lsst.pipe.base.NodeId.html#lsst.pipe.base.NodeId",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Deprecated, this class is used with QuantumGraph save formats of"]; "ObservationDimensionPacker" [URL="../../../py-api/lsst.pipe.base.ObservationDimensionPacker.html#lsst.pipe.base.ObservationDimensionPacker",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A `DimensionPacker` for visit+detector or exposure+detector."]; "DimensionPacker" -> "ObservationDimensionPacker" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ObservationDimensionPackerConfig" [URL="../../../py-api/lsst.pipe.base.ObservationDimensionPackerConfig.html#lsst.pipe.base.ObservationDimensionPackerConfig",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Config associated with a `ObservationDimensionPacker`."]; "Config" -> "ObservationDimensionPackerConfig" [arrowsize=0.5,style="setlinewidth(0.5)"]; "OutputQuantizedConnection" [URL="../../../py-api/lsst.pipe.base.OutputQuantizedConnection.html#lsst.pipe.base.OutputQuantizedConnection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Output variant of a `QuantizedConnection`."]; "QuantizedConnection" -> "OutputQuantizedConnection" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Pipeline" [URL="../../../py-api/lsst.pipe.base.Pipeline.html#lsst.pipe.base.Pipeline",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A `Pipeline` is a representation of a series of tasks to run, and the"]; "PipelineDatasetTypes" [URL="../../../py-api/lsst.pipe.base.PipelineDatasetTypes.html#lsst.pipe.base.PipelineDatasetTypes",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An immutable struct that classifies the dataset types used in a"]; "PipelineTask" [URL="../../../py-api/lsst.pipe.base.PipelineTask.html#lsst.pipe.base.PipelineTask",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for all pipeline tasks."]; "Task" -> "PipelineTask" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PipelineTaskConfig" [URL="../../../py-api/lsst.pipe.base.PipelineTaskConfig.html#lsst.pipe.base.PipelineTaskConfig",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Configuration class for `PipelineTask`"]; "Config" -> "PipelineTaskConfig" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PipelineTaskConnections" [URL="../../../py-api/lsst.pipe.base.PipelineTaskConnections.html#lsst.pipe.base.PipelineTaskConnections",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="PipelineTaskConnections is a class used to declare desired IO when a"]; "QuantizedConnection" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="A Namespace to map defined variable names of connections to the"]; "SimpleNamespace" -> "QuantizedConnection" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QuantumContext" [URL="../../../py-api/lsst.pipe.base.QuantumContext.html#lsst.pipe.base.QuantumContext",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A Butler-like class specialized for a single quantum along with"]; "QuantumGraph" [URL="../../../py-api/lsst.pipe.base.QuantumGraph.html#lsst.pipe.base.QuantumGraph",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="QuantumGraph is a directed acyclic graph of `QuantumNode` objects"]; "QuantumNode" [URL="../../../py-api/lsst.pipe.base.QuantumNode.html#lsst.pipe.base.QuantumNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class representing a node in the quantum graph."]; "RepeatableQuantumError" [URL="../../../py-api/lsst.pipe.base.RepeatableQuantumError.html#lsst.pipe.base.RepeatableQuantumError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception that may be raised by PipelineTasks (and code they delegate"]; "Representation" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Mixin to provide __str__, __repr__, and __pretty__ methods. See #884 for more details."]; "ScalarError" [URL="../../../py-api/lsst.pipe.base.ScalarError.html#lsst.pipe.base.ScalarError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception raised when dataset type is configured as scalar"]; "SimpleNamespace" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="A simple attribute-based namespace."]; "Struct" [URL="../../../py-api/lsst.pipe.base.Struct.html#lsst.pipe.base.Struct",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A container to which you can add fields as attributes."]; "SimpleNamespace" -> "Struct" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Task" [URL="../../../py-api/lsst.pipe.base.Task.html#lsst.pipe.base.Task",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for data processing tasks."]; "TaskDatasetTypes" [URL="../../../py-api/lsst.pipe.base.TaskDatasetTypes.html#lsst.pipe.base.TaskDatasetTypes",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An immutable struct that extracts and classifies the dataset types used"]; "TaskDef" [URL="../../../py-api/lsst.pipe.base.TaskDef.html#lsst.pipe.base.TaskDef",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="TaskDef is a collection of information about task needed by Pipeline."]; "TaskError" [URL="../../../py-api/lsst.pipe.base.TaskError.html#lsst.pipe.base.TaskError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Use to report errors for which a traceback is not useful."]; "TaskFactory" [URL="../../../py-api/lsst.pipe.base.TaskFactory.html#lsst.pipe.base.TaskFactory",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Abstract base class for task factory."]; "TaskMetadata" [URL="../../../py-api/lsst.pipe.base.TaskMetadata.html#lsst.pipe.base.TaskMetadata",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Dict-like object for storing task metadata."]; "_BaseModelCompat" -> "TaskMetadata" [arrowsize=0.5,style="setlinewidth(0.5)"]; "_BaseModelCompat" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Methods from pydantic v2 that can be used in pydantic v1."]; "BaseModel" -> "_BaseModelCompat" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

lsst.pipe.base.pipeline_graph Package

Classes

ConnectionTypeConsistencyError

Exception raised when the tasks in a pipeline graph use different (and incompatible) connection types for the same dataset type.

DatasetTypeNode(dataset_type, ...)

A node in a pipeline graph that represents a resolved dataset type.

DuplicateOutputError

Exception raised when multiple tasks in one pipeline produce the same output dataset type.

Edge(*, task_key, dataset_type_key, ...)

Base class for edges in a pipeline graph.

EdgesChangedError

Exception raised when the edges in one version of a pipeline graph are not consistent with those in another, but they were expected to be.

IncompatibleDatasetTypeError

Exception raised when the tasks in a pipeline graph define dataset types with the same name in incompatible ways, or when these are incompatible with the data repository definition.

NodeKey(node_type, name)

A special key type for nodes in networkx graphs.

NodeType(value[, names, module, qualname, ...])

Enumeration of the types of nodes in a PipelineGraph.

PipelineDataCycleError

Exception raised when a pipeline graph contains a cycle.

PipelineGraph(*[, description, universe, ...])

A graph representation of fully-configured pipeline.

PipelineGraphError

Base exception raised when there is a problem constructing or resolving a pipeline graph.

PipelineGraphExceptionSafetyError

Exception raised when a PipelineGraph method could not provide strong exception safety, and the graph may have been left in an inconsistent state.

PipelineGraphReadError

Exception raised when a serialized PipelineGraph cannot be read.

ReadEdge(dataset_type_key, task_key, *, ...)

Representation of an input connection (including init-inputs and prerequisites) in a pipeline graph.

TaskImportMode(value[, names, module, ...])

Enumeration of the ways to handle importing tasks when reading a serialized PipelineGraph.

TaskInitNode(key, *, inputs, outputs, ...[, ...])

A node in a pipeline graph that represents the construction of a PipelineTask.

TaskNode(key, init, *, prerequisite_inputs, ...)

A node in a pipeline graph that represents a labeled configuration of a PipelineTask.

TaskNotImportedError

Exception raised when accessing an attribute of a graph or graph node that is not available unless the task class has been imported and configured.

TaskSubset(parent_xgraph, label, members, ...)

A specialized set that represents a labeles subset of the tasks in a pipeline graph.

UnresolvedGraphError

Exception raised when an operation requires dimensions or dataset types to have been resolved, but they have not been.

WriteEdge(*, task_key, dataset_type_key, ...)

Representation of an output connection (including init-outputs) in a pipeline graph.

Class Inheritance Diagram

digraph inheritance2deb45d474 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ABC" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Helper class that provides a standard way to create an ABC using"]; "Collection" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "Sized" -> "Collection" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Iterable" -> "Collection" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Container" -> "Collection" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ConnectionTypeConsistencyError" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.ConnectionTypeConsistencyError.html#lsst.pipe.base.pipeline_graph.ConnectionTypeConsistencyError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception raised when the tasks in a pipeline graph use different (and"]; "PipelineGraphError" -> "ConnectionTypeConsistencyError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Container" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "DatasetTypeNode" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.DatasetTypeNode.html#lsst.pipe.base.pipeline_graph.DatasetTypeNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A node in a pipeline graph that represents a resolved dataset type."]; "DuplicateOutputError" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.DuplicateOutputError.html#lsst.pipe.base.pipeline_graph.DuplicateOutputError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception raised when multiple tasks in one pipeline produce the same"]; "PipelineGraphError" -> "DuplicateOutputError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Edge" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.Edge.html#lsst.pipe.base.pipeline_graph.Edge",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for edges in a pipeline graph."]; "ABC" -> "Edge" [arrowsize=0.5,style="setlinewidth(0.5)"]; "EdgesChangedError" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.EdgesChangedError.html#lsst.pipe.base.pipeline_graph.EdgesChangedError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception raised when the edges in one version of a pipeline graph"]; "PipelineGraphError" -> "EdgesChangedError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Enum" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Create a collection of name/value pairs."]; "IncompatibleDatasetTypeError" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.IncompatibleDatasetTypeError.html#lsst.pipe.base.pipeline_graph.IncompatibleDatasetTypeError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception raised when the tasks in a pipeline graph define dataset types"]; "PipelineGraphError" -> "IncompatibleDatasetTypeError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Iterable" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "MutableSet" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="A mutable set is a finite, iterable container."]; "Set" -> "MutableSet" [arrowsize=0.5,style="setlinewidth(0.5)"]; "NodeKey" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.NodeKey.html#lsst.pipe.base.pipeline_graph.NodeKey",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A special key type for nodes in networkx graphs."]; "NodeType" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.NodeType.html#lsst.pipe.base.pipeline_graph.NodeType",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Enumeration of the types of nodes in a PipelineGraph."]; "Enum" -> "NodeType" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PipelineDataCycleError" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.PipelineDataCycleError.html#lsst.pipe.base.pipeline_graph.PipelineDataCycleError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception raised when a pipeline graph contains a cycle."]; "PipelineGraphError" -> "PipelineDataCycleError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PipelineGraph" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.PipelineGraph.html#lsst.pipe.base.pipeline_graph.PipelineGraph",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A graph representation of fully-configured pipeline."]; "PipelineGraphError" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.PipelineGraphError.html#lsst.pipe.base.pipeline_graph.PipelineGraphError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base exception raised when there is a problem constructing or resolving"]; "PipelineGraphExceptionSafetyError" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.PipelineGraphExceptionSafetyError.html#lsst.pipe.base.pipeline_graph.PipelineGraphExceptionSafetyError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception raised when a PipelineGraph method could not provide strong"]; "PipelineGraphError" -> "PipelineGraphExceptionSafetyError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PipelineGraphReadError" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.PipelineGraphReadError.html#lsst.pipe.base.pipeline_graph.PipelineGraphReadError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception raised when a serialized PipelineGraph cannot be read."]; "PipelineGraphError" -> "PipelineGraphReadError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ReadEdge" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.ReadEdge.html#lsst.pipe.base.pipeline_graph.ReadEdge",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Representation of an input connection (including init-inputs and"]; "Edge" -> "ReadEdge" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Set" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="A set is a finite, iterable container."]; "Collection" -> "Set" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Sized" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "TaskImportMode" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.TaskImportMode.html#lsst.pipe.base.pipeline_graph.TaskImportMode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Enumeration of the ways to handle importing tasks when reading a"]; "Enum" -> "TaskImportMode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaskInitNode" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.TaskInitNode.html#lsst.pipe.base.pipeline_graph.TaskInitNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A node in a pipeline graph that represents the construction of a"]; "TaskNode" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.TaskNode.html#lsst.pipe.base.pipeline_graph.TaskNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A node in a pipeline graph that represents a labeled configuration of a"]; "TaskNotImportedError" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.TaskNotImportedError.html#lsst.pipe.base.pipeline_graph.TaskNotImportedError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception raised when accessing an attribute of a graph or graph node"]; "PipelineGraphError" -> "TaskNotImportedError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaskSubset" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.TaskSubset.html#lsst.pipe.base.pipeline_graph.TaskSubset",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A specialized set that represents a labeles subset of the tasks in a"]; "MutableSet" -> "TaskSubset" [arrowsize=0.5,style="setlinewidth(0.5)"]; "UnresolvedGraphError" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.UnresolvedGraphError.html#lsst.pipe.base.pipeline_graph.UnresolvedGraphError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Exception raised when an operation requires dimensions or dataset types"]; "PipelineGraphError" -> "UnresolvedGraphError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "WriteEdge" [URL="../../../py-api/lsst.pipe.base.pipeline_graph.WriteEdge.html#lsst.pipe.base.pipeline_graph.WriteEdge",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Representation of an output connection (including init-outputs) in a"]; "Edge" -> "WriteEdge" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

lsst.pipe.base.testUtils Module

Functions

assertValidInitOutput(task)

Test that a constructed task conforms to its own init-connections.

assertValidOutput(task, result)

Test that the output of a call to run conforms to its own connections.

getInitInputs(butler, config)

Return the initInputs object that would have been passed to a PipelineTask constructor.

lintConnections(connections, *[, ...])

Inspect a connections class for common errors.

makeQuantum(task, butler, dataId, ioDataIds)

Create a Quantum for a particular data ID(s).

runTestQuantum(task, butler, quantum[, mockRun])

Run a PipelineTask on a Quantum.

lsst.pipe.base.connectionTypes Module

Classes

InitInput(name, storageClass[, doc, ...])

Connection for initInput dataset.

InitOutput(name, storageClass[, doc, ...])

Connection for initOutput dataset.

Input(name, storageClass[, doc, multiple, ...])

Class used for declaring PipelineTask input connections

PrerequisiteInput(name, storageClass[, doc, ...])

Class used for declaring PipelineTask prerequisite connections.

Output(name, storageClass[, doc, multiple, ...])

Connection for output dataset.

BaseConnection(name, storageClass[, doc, ...])

Base class used for declaring PipelineTask connections.

Class Inheritance Diagram

digraph inheritance465200a9d7 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "BaseConnection" [URL="../../../py-api/lsst.pipe.base.connectionTypes.BaseConnection.html#lsst.pipe.base.connectionTypes.BaseConnection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class used for declaring `PipelineTask` connections."]; "BaseInput" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Class used for declaring PipelineTask input connections"]; "DimensionedConnection" -> "BaseInput" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DimensionedConnection" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Class used for declaring PipelineTask connections that includes"]; "BaseConnection" -> "DimensionedConnection" [arrowsize=0.5,style="setlinewidth(0.5)"]; "InitInput" [URL="../../../py-api/lsst.pipe.base.connectionTypes.InitInput.html#lsst.pipe.base.connectionTypes.InitInput",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Connection for initInput dataset."]; "BaseConnection" -> "InitInput" [arrowsize=0.5,style="setlinewidth(0.5)"]; "InitOutput" [URL="../../../py-api/lsst.pipe.base.connectionTypes.InitOutput.html#lsst.pipe.base.connectionTypes.InitOutput",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Connection for initOutput dataset."]; "BaseConnection" -> "InitOutput" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Input" [URL="../../../py-api/lsst.pipe.base.connectionTypes.Input.html#lsst.pipe.base.connectionTypes.Input",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class used for declaring PipelineTask input connections"]; "BaseInput" -> "Input" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Output" [URL="../../../py-api/lsst.pipe.base.connectionTypes.Output.html#lsst.pipe.base.connectionTypes.Output",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Connection for output dataset."]; "DimensionedConnection" -> "Output" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PrerequisiteInput" [URL="../../../py-api/lsst.pipe.base.connectionTypes.PrerequisiteInput.html#lsst.pipe.base.connectionTypes.PrerequisiteInput",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class used for declaring PipelineTask prerequisite connections."]; "BaseInput" -> "PrerequisiteInput" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

lsst.pipe.base.pipelineIR Module

Classes

ConfigIR(python, dataId, file, rest)

Intermediate representation of configurations read from a pipeline yaml file.

ContractError

An exception that is raised when a pipeline contract is not satisfied

ContractIR(contract[, msg])

Intermediate representation of configuration contracts read from a pipeline yaml file.

ImportIR(location, include, exclude, ...)

An intermediate representation of imported pipelines

LabeledSubset(label, subset, description)

Intermediate representation of named subset of task labels read from a pipeline yaml file.

ParametersIR(mapping)

Intermediate representation of parameters that are global to a pipeline.

PipelineIR(loaded_yaml)

Intermediate representation of a pipeline definition

TaskIR(label, klass[, config])

Intermediate representation of tasks read from a pipeline yaml file.

Class Inheritance Diagram

digraph inheritance6ee3b34c0d { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ConfigIR" [URL="../../../py-api/lsst.pipe.base.pipelineIR.ConfigIR.html#lsst.pipe.base.pipelineIR.ConfigIR",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Intermediate representation of configurations read from a pipeline yaml"]; "ContractError" [URL="../../../py-api/lsst.pipe.base.pipelineIR.ContractError.html#lsst.pipe.base.pipelineIR.ContractError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An exception that is raised when a pipeline contract is not satisfied"]; "ContractIR" [URL="../../../py-api/lsst.pipe.base.pipelineIR.ContractIR.html#lsst.pipe.base.pipelineIR.ContractIR",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Intermediate representation of configuration contracts read from a"]; "ImportIR" [URL="../../../py-api/lsst.pipe.base.pipelineIR.ImportIR.html#lsst.pipe.base.pipelineIR.ImportIR",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An intermediate representation of imported pipelines"]; "LabeledSubset" [URL="../../../py-api/lsst.pipe.base.pipelineIR.LabeledSubset.html#lsst.pipe.base.pipelineIR.LabeledSubset",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Intermediate representation of named subset of task labels read from"]; "ParametersIR" [URL="../../../py-api/lsst.pipe.base.pipelineIR.ParametersIR.html#lsst.pipe.base.pipelineIR.ParametersIR",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Intermediate representation of parameters that are global to a pipeline."]; "PipelineIR" [URL="../../../py-api/lsst.pipe.base.pipelineIR.PipelineIR.html#lsst.pipe.base.pipelineIR.PipelineIR",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Intermediate representation of a pipeline definition"]; "TaskIR" [URL="../../../py-api/lsst.pipe.base.pipelineIR.TaskIR.html#lsst.pipe.base.pipelineIR.TaskIR",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Intermediate representation of tasks read from a pipeline yaml file."]; }

lsst.pipe.base.tests.mocks Package

A system for replacing the tasks in a pipeline with mocks that just read and write trivial datasets.

See Testing pipelines with mocks for details.

Functions

get_mock_name(original)

Return the name of the mock storage class, dataset type, or task label for the given original name.

get_original_name(mock)

Return the name of the original storage class, dataset type, or task label that corresponds to the given mock name.

is_mock_name(name)

Return whether the given name is that of a mock storage class, dataset type, or task label.

mock_task_defs(originals[, ...])

Create mocks for an iterable of TaskDefs.

Classes

DataIdMatch(expression)

Class that can match DataId against the user-defined string expression.

DynamicConnectionConfig(*args, **kw)

A config class that defines a completely dynamic connection.

DynamicTestPipelineTask(*, config, ...)

A test-utility implementation of PipelineTask with dimensions and connections determined wholly from configuration.

DynamicTestPipelineTaskConfig(*args, **kw)

Configuration for DynamicTestPipelineTask.

MockDataset(*[, dataset_id, run, quantum, ...])

The in-memory dataset type used by MockStorageClass.

MockDatasetQuantum(*, task_label, data_id, ...)

Description of the quantum that produced a mock dataset.

MockPipelineTask(*, config, initInputs, **kwargs)

A test-utility implementation of PipelineTask with connections generated by mocking those of a real task.

MockPipelineTaskConfig(*args, **kw)

Configuration class for MockPipelineTask.

MockStorageClass(original[, factory])

A reimplementation of lsst.daf.butler.StorageClass for mock datasets.

MockStorageClassDelegate(storageClass)

Implementation of the StorageClassDelegate interface for mock datasets.

Class Inheritance Diagram

digraph inheritance3ae32569c8 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "BaseModel" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "Representation" -> "BaseModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BaseTestPipelineTask" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="A base class for test-utility `PipelineTask` classes that read and write"]; "PipelineTask" -> "BaseTestPipelineTask" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BaseTestPipelineTaskConfig" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "PipelineTaskConfig" -> "BaseTestPipelineTaskConfig" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Config" [URL="../../../py-api/lsst.pex.config.Config.html#lsst.pex.config.Config",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for configuration (*config*) objects."]; "DataIdMatch" [URL="../../../py-api/lsst.pipe.base.tests.mocks.DataIdMatch.html#lsst.pipe.base.tests.mocks.DataIdMatch",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class that can match DataId against the user-defined string expression."]; "DynamicConnectionConfig" [URL="../../../py-api/lsst.pipe.base.tests.mocks.DynamicConnectionConfig.html#lsst.pipe.base.tests.mocks.DynamicConnectionConfig",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A config class that defines a completely dynamic connection."]; "Config" -> "DynamicConnectionConfig" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DynamicTestPipelineTask" [URL="../../../py-api/lsst.pipe.base.tests.mocks.DynamicTestPipelineTask.html#lsst.pipe.base.tests.mocks.DynamicTestPipelineTask",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A test-utility implementation of `PipelineTask` with dimensions and"]; "BaseTestPipelineTask" -> "DynamicTestPipelineTask" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DynamicTestPipelineTaskConfig" [URL="../../../py-api/lsst.pipe.base.tests.mocks.DynamicTestPipelineTaskConfig.html#lsst.pipe.base.tests.mocks.DynamicTestPipelineTaskConfig",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Configuration for DynamicTestPipelineTask."]; "PipelineTaskConfig" -> "DynamicTestPipelineTaskConfig" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MockDataset" [URL="../../../py-api/lsst.pipe.base.tests.mocks.MockDataset.html#lsst.pipe.base.tests.mocks.MockDataset",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="The in-memory dataset type used by `MockStorageClass`."]; "_BaseModelCompat" -> "MockDataset" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MockDatasetQuantum" [URL="../../../py-api/lsst.pipe.base.tests.mocks.MockDatasetQuantum.html#lsst.pipe.base.tests.mocks.MockDatasetQuantum",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Description of the quantum that produced a mock dataset."]; "_BaseModelCompat" -> "MockDatasetQuantum" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MockPipelineTask" [URL="../../../py-api/lsst.pipe.base.tests.mocks.MockPipelineTask.html#lsst.pipe.base.tests.mocks.MockPipelineTask",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A test-utility implementation of `PipelineTask` with connections"]; "BaseTestPipelineTask" -> "MockPipelineTask" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MockPipelineTaskConfig" [URL="../../../py-api/lsst.pipe.base.tests.mocks.MockPipelineTaskConfig.html#lsst.pipe.base.tests.mocks.MockPipelineTaskConfig",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Configuration class for `MockPipelineTask`."]; "BaseTestPipelineTaskConfig" -> "MockPipelineTaskConfig" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MockStorageClass" [URL="../../../py-api/lsst.pipe.base.tests.mocks.MockStorageClass.html#lsst.pipe.base.tests.mocks.MockStorageClass",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A reimplementation of `lsst.daf.butler.StorageClass` for mock datasets."]; "StorageClass" -> "MockStorageClass" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MockStorageClassDelegate" [URL="../../../py-api/lsst.pipe.base.tests.mocks.MockStorageClassDelegate.html#lsst.pipe.base.tests.mocks.MockStorageClassDelegate",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Implementation of the StorageClassDelegate interface for mock datasets."]; "StorageClassDelegate" -> "MockStorageClassDelegate" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PipelineTask" [URL="../../../py-api/lsst.pipe.base.PipelineTask.html#lsst.pipe.base.PipelineTask",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for all pipeline tasks."]; "Task" -> "PipelineTask" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PipelineTaskConfig" [URL="../../../py-api/lsst.pipe.base.PipelineTaskConfig.html#lsst.pipe.base.PipelineTaskConfig",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Configuration class for `PipelineTask`"]; "Config" -> "PipelineTaskConfig" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Representation" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Mixin to provide __str__, __repr__, and __pretty__ methods. See #884 for more details."]; "StorageClass" [URL="../../../py-api/lsst.daf.butler.StorageClass.html#lsst.daf.butler.StorageClass",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class describing how a label maps to a particular Python type."]; "StorageClassDelegate" [URL="../../../py-api/lsst.daf.butler.StorageClassDelegate.html#lsst.daf.butler.StorageClassDelegate",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Delegate class for StorageClass components and parameters."]; "Task" [URL="../../../py-api/lsst.pipe.base.Task.html#lsst.pipe.base.Task",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for data processing tasks."]; "_BaseModelCompat" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Methods from pydantic v2 that can be used in pydantic v1."]; "BaseModel" -> "_BaseModelCompat" [arrowsize=0.5,style="setlinewidth(0.5)"]; }