Skip to content

Commit

Permalink
Switch to calibrateImage outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Sep 16, 2024
1 parent bd397ab commit a23de0b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion python/lsst/ip/diffim/computeSpatiallySampledMetrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SpatiallySampledMetricsConnections(pipeBase.PipelineTaskConnections,
doc="Input science exposure.",
dimensions=("instrument", "visit", "detector"),
storageClass="ExposureF",
name="{fakesType}calexp"
name="{fakesType}initial_pvi"
)
matchedTemplate = pipeBase.connectionTypes.Input(
doc="Warped and PSF-matched template used to create the difference image.",
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ip/diffim/detectAndMeasure.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DetectAndMeasureConnections(pipeBase.PipelineTaskConnections,
doc="Input science exposure.",
dimensions=("instrument", "visit", "detector"),
storageClass="ExposureF",
name="{fakesType}calexp"
name="{fakesType}initial_pvi"
)
matchedTemplate = pipeBase.connectionTypes.Input(
doc="Warped and PSF-matched template used to create the difference image.",
Expand Down
12 changes: 6 additions & 6 deletions python/lsst/ip/diffim/getTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ class GetTemplateConnections(pipeBase.PipelineTaskConnections,
"warpTypeSuffix": "",
"fakesType": ""}):
bbox = pipeBase.connectionTypes.Input(
doc="BBoxes of calexp used determine geometry of output template",
name="{fakesType}calexp.bbox",
doc="Bounding box of exposure used determine geometry of output template.",
name="{fakesType}initial_pvi.bbox",
storageClass="Box2I",
dimensions=("instrument", "visit", "detector"),
)
wcs = pipeBase.connectionTypes.Input(
doc="WCS of the calexp that we want to fetch the template for",
name="{fakesType}calexp.wcs",
doc="WCS of the exposure that we want to fetch the template for.",
name="{fakesType}initial_pvi.wcs",
storageClass="Wcs",
dimensions=("instrument", "visit", "detector"),
)
Expand Down Expand Up @@ -437,8 +437,8 @@ class GetDcrTemplateConnections(GetTemplateConnections,
"warpTypeSuffix": "",
"fakesType": ""}):
visitInfo = pipeBase.connectionTypes.Input(
doc="VisitInfo of calexp used to determine observing conditions.",
name="{fakesType}calexp.visitInfo",
doc="VisitInfo of exposure used to determine observing conditions.",
name="{fakesType}initial_pvi.visitInfo",
storageClass="VisitInfo",
dimensions=("instrument", "visit", "detector"),
)
Expand Down
4 changes: 2 additions & 2 deletions python/lsst/ip/diffim/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class NumberSciSourcesMetricConnections(
):
sources = connectionTypes.Input(
doc="The catalog of science sources.",
name="src",
name="initial_stars_footprints_detector",
storageClass="SourceCatalog",
dimensions={"instrument", "visit", "detector"},
)
Expand Down Expand Up @@ -98,7 +98,7 @@ class FractionDiaSourcesToSciSourcesMetricConnections(
"metric": "fracDiaSourcesToSciSources"}):
sciSources = connectionTypes.Input(
doc="The catalog of science sources.",
name="src",
name="initial_stars_footprints_detector",
storageClass="SourceCatalog",
dimensions={"instrument", "visit", "detector"},
)
Expand Down
4 changes: 2 additions & 2 deletions python/lsst/ip/diffim/subtractImages.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ class SubtractInputConnections(lsst.pipe.base.PipelineTaskConnections,
doc="Input science exposure to subtract from.",
dimensions=("instrument", "visit", "detector"),
storageClass="ExposureF",
name="{fakesType}calexp"
name="{fakesType}initial_pvi"
)
sources = connectionTypes.Input(
doc="Sources measured on the science exposure; "
"used to select sources for making the matching kernel.",
dimensions=("instrument", "visit", "detector"),
storageClass="SourceCatalog",
name="{fakesType}src"
name="{fakesType}initial_stars_footprints_detector"
)
visitSummary = connectionTypes.Input(
doc=("Per-visit catalog with final calibration objects. "
Expand Down

0 comments on commit a23de0b

Please sign in to comment.