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 (
4 MatchedBaseConnections,
5 MatchedBaseConfig,
6 MatchedBaseTask,
7 MatchedTractBaseTask,
8)
10__all__ = (
11 "PatchMatchedPreparationConnections",
12 "PatchMatchedPreparationConfig",
13 "PatchMatchedPreparationTask",
14 "TractMatchedPreparationConnections",
15 "TractMatchedPreparationConfig",
16 "TractMatchedPreparationTask",
17 "PatchMatchedMultiBandPreparationConnections",
18 "PatchMatchedMultiBandPreparationConfig",
19 "PatchMatchedMultiBandPreparationTask",
20)
23# The first thing to do is to define a Connections class. This will define all
24# the inputs and outputs that our task requires
25class PatchMatchedPreparationConnections(
26 MatchedBaseConnections,
27 dimensions=("tract", "patch", "band", "instrument", "skymap"),
28):
29 outputCatalog = pipeBase.connectionTypes.Output(
30 doc="Resulting matched catalog.",
31 dimensions=("tract", "patch", "instrument", "band"),
32 storageClass="SimpleCatalog",
33 name="matchedCatalogPatch",
34 )
37class PatchMatchedPreparationConfig(
38 MatchedBaseConfig, pipelineConnections=PatchMatchedPreparationConnections
39):
40 pass
43class PatchMatchedPreparationTask(MatchedBaseTask):
45 ConfigClass = PatchMatchedPreparationConfig
46 _DefaultName = "patchMatchedPreparationTask"
49class TractMatchedPreparationConnections(
50 MatchedBaseConnections, dimensions=("tract", "band", "instrument", "skymap")
51):
52 outputCatalog = pipeBase.connectionTypes.Output(
53 doc="Resulting matched catalog.",
54 dimensions=("tract", "instrument", "band"),
55 storageClass="SimpleCatalog",
56 name="matchedCatalogTract",
57 )
60class TractMatchedPreparationConfig(
61 MatchedBaseConfig, pipelineConnections=TractMatchedPreparationConnections
62):
63 pass
66class TractMatchedPreparationTask(MatchedTractBaseTask):
68 ConfigClass = TractMatchedPreparationConfig
69 _DefaultName = "tractMatchedPreparationTask"
72class PatchMatchedMultiBandPreparationConnections(
73 MatchedBaseConnections, dimensions=("tract", "patch", "instrument", "skymap")
74):
75 outputCatalog = pipeBase.connectionTypes.Output(
76 doc="Resulting matched catalog.",
77 dimensions=("tract", "patch", "instrument"),
78 storageClass="SimpleCatalog",
79 name="matchedCatalogPatchMultiBand",
80 )
83class PatchMatchedMultiBandPreparationConfig(
84 MatchedBaseConfig,
85 pipelineConnections=PatchMatchedMultiBandPreparationConnections,
86):
87 pass
90class PatchMatchedMultiBandPreparationTask(MatchedBaseTask):
92 ConfigClass = PatchMatchedMultiBandPreparationConfig
93 _DefaultName = "patchMatchedMultiBandPreparationTask"