Hide keyboard shortcuts

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 

2 

3from lsst.faro.base.CatalogSummaryBase import ( 

4 CatalogSummaryBaseTaskConnections, 

5 CatalogSummaryBaseTask, 

6 CatalogSummaryBaseConfig, 

7) 

8 

9__all__ = ("PatchSummaryTaskConnections", "PatchSummaryConfig", "PatchSummaryTask") 

10 

11 

12class PatchSummaryTaskConnections(CatalogSummaryBaseTaskConnections): 

13 

14 measurements = pipeBase.connectionTypes.Input( 

15 doc="{package}_{metric}.", 

16 dimensions=("tract", "patch", "skymap", "band"), 

17 storageClass="MetricValue", 

18 name="metricvalue_{package}_{metric}", 

19 multiple=True, 

20 ) 

21 

22 

23class PatchSummaryConfig( 

24 CatalogSummaryBaseConfig, pipelineConnections=PatchSummaryTaskConnections 

25): 

26 pass 

27 

28 

29class PatchSummaryTask(CatalogSummaryBaseTask): 

30 

31 ConfigClass = PatchSummaryConfig 

32 _DefaultName = "patchSummaryTask"