Skip to content

Commit

Permalink
Merge branch 'tickets/DM-21919'
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Aug 14, 2020
2 parents 25c5319 + 99aa9b9 commit dd5c15c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions python/lsst/ip/diffim/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ class NumberSciSourcesMetricConnections(
MetricConnections,
defaultTemplates={"package": "ip_diffim",
"metric": "numSciSources"},
dimensions={"Instrument", "Exposure", "Detector"},
dimensions={"instrument", "visit", "detector"},
):
sources = connectionTypes.Input(
doc="The catalog of science sources.",
name="src",
storageClass="SourceCatalog",
dimensions={"Instrument", "Exposure", "Detector"},
dimensions={"instrument", "visit", "detector"},
)


Expand Down Expand Up @@ -96,21 +96,22 @@ def run(self, sources):

class FractionDiaSourcesToSciSourcesMetricConnections(
MetricTask.ConfigClass.ConnectionsClass,
dimensions={"Instrument", "Exposure", "Detector"},
dimensions={"instrument", "visit", "detector"},
defaultTemplates={"coaddName": "deep",
"fakesType": "",
"package": "ip_diffim",
"metric": "fracDiaSourcesToSciSources"}):
sciSources = connectionTypes.Input(
doc="The catalog of science sources.",
name="src",
storageClass="SourceCatalog",
dimensions={"Instrument", "Exposure", "Detector"},
dimensions={"instrument", "visit", "detector"},
)
diaSources = connectionTypes.Input(
doc="The catalog of DIASources.",
name="{coaddName}Diff_diaSrc",
name="{fakesType}{coaddName}Diff_diaSrc",
storageClass="SourceCatalog",
dimensions={"Instrument", "Exposure", "Detector"},
dimensions={"instrument", "visit", "detector"},
)


Expand Down

0 comments on commit dd5c15c

Please sign in to comment.