Skip to content

Commit

Permalink
Add FilterDiaSourceCatalog task to exclude sky sources
Browse files Browse the repository at this point in the history
  • Loading branch information
rai-harshit committed Jan 31, 2024
1 parent 3e98878 commit f4fde3b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pipelines/_ingredients/ApPipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ tasks:
config:
connections.coaddName: parameters.coaddName
doSkySources: True
filterDiaSrcCat:
class: lsst.ap.association.FilterDiaSourceCatalogTask
config:
doRemoveSkySources: True
connections.coaddName: parameters.coaddName
transformDiaSrcCat:
class: lsst.ap.association.TransformDiaSourceCatalogTask
config:
Expand All @@ -55,6 +60,7 @@ subsets:
- detectAndMeasure
- transformDiaSrcCat
- diaPipe
- filterDiaSrcCat
description: >
An alias of ApPipe to use in higher-level pipelines.
contracts:
Expand All @@ -74,6 +80,8 @@ contracts:
- detectAndMeasure.connections.ConnectionsClass(config=detectAndMeasure).subtractedMeasuredExposure.name ==
transformDiaSrcCat.connections.ConnectionsClass(config=transformDiaSrcCat).diffIm.name
- detectAndMeasure.connections.ConnectionsClass(config=detectAndMeasure).diaSources.name ==
filterDiaSrcCat.connections.ConnectionsClass(config=filterDiaSrcCat).diaSourceCat.name
- filterDiaSrcCat.connections.ConnectionsClass(config=filterDiaSrcCat).filteredDiaSourceCat.name ==
transformDiaSrcCat.connections.ConnectionsClass(config=transformDiaSrcCat).diaSourceCat.name
- detectAndMeasure.connections.ConnectionsClass(config=detectAndMeasure).subtractedMeasuredExposure.name ==
diaPipe.connections.ConnectionsClass(config=diaPipe).diffIm.name
Expand Down

0 comments on commit f4fde3b

Please sign in to comment.