Coverage for python/lsst/faro/preparation/MatchedPreparationTasks.py : 0%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1import lsst.pipe.base as pipeBase
3from lsst.faro.base.MatchedCatalogBase import (MatchedBaseTaskConnections,
4 MatchedBaseTaskConfig,
5 MatchedBaseTask, MatchedTractBaseTask)
7__all__ = ("PatchMatchedPreparationTaskConnections", "PatchMatchedPreparationTaskConfig",
8 "PatchMatchedPreparationTask",
9 "TractMatchedPreparationTaskConnections", "TractMatchedPreparationTaskConfig",
10 "TractMatchedPreparationTask",
11 "PatchMatchedMultiBandPreparationTaskConnections", "PatchMatchedMultiBandPreparationTaskConfig",
12 "PatchMatchedMultiBandPreparationTask")
15# The first thing to do is to define a Connections class. This will define all
16# the inputs and outputs that our task requires
17class PatchMatchedPreparationTaskConnections(MatchedBaseTaskConnections,
18 dimensions=("tract", "patch", "band",
19 "instrument", "skymap")):
20 outputCatalog = pipeBase.connectionTypes.Output(doc="Resulting matched catalog.",
21 dimensions=("tract", "patch",
22 "instrument", "band"),
23 storageClass="SimpleCatalog",
24 name="matchedCatalogPatch")
27class PatchMatchedPreparationTaskConfig(MatchedBaseTaskConfig,
28 pipelineConnections=PatchMatchedPreparationTaskConnections):
29 pass
32class PatchMatchedPreparationTask(MatchedBaseTask):
34 ConfigClass = PatchMatchedPreparationTaskConfig
35 _DefaultName = "patchMatchedPreparationTask"
38class TractMatchedPreparationTaskConnections(MatchedBaseTaskConnections,
39 dimensions=("tract", "band",
40 "instrument", "skymap")):
41 outputCatalog = pipeBase.connectionTypes.Output(doc="Resulting matched catalog.",
42 dimensions=("tract", "instrument", "band"),
43 storageClass="SimpleCatalog",
44 name="matchedCatalogTract")
47class TractMatchedPreparationTaskConfig(MatchedBaseTaskConfig,
48 pipelineConnections=TractMatchedPreparationTaskConnections):
49 pass
52class TractMatchedPreparationTask(MatchedTractBaseTask):
54 ConfigClass = TractMatchedPreparationTaskConfig
55 _DefaultName = "tractMatchedPreparationTask"
58class PatchMatchedMultiBandPreparationTaskConnections(MatchedBaseTaskConnections,
59 dimensions=("tract", "patch", "instrument", "skymap")):
60 outputCatalog = pipeBase.connectionTypes.Output(doc="Resulting matched catalog.",
61 dimensions=("tract", "patch",
62 "instrument"),
63 storageClass="SimpleCatalog",
64 name="matchedCatalogPatchMultiBand")
67class PatchMatchedMultiBandPreparationTaskConfig(
68 MatchedBaseTaskConfig,
69 pipelineConnections=PatchMatchedMultiBandPreparationTaskConnections):
70 pass
73class PatchMatchedMultiBandPreparationTask(MatchedBaseTask):
75 ConfigClass = PatchMatchedMultiBandPreparationTaskConfig
76 _DefaultName = "patchMatchedMultiBandPreparationTask"