-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added pipeline test for maxSelect in DonutStampSelector (#286)
* Added pipeline test for maxSelect in DonutStampSelector
- Loading branch information
1 parent
7d5e4dd
commit 2b60311
Showing
3 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
tests/testData/pipelineConfigs/testDonutStampSelectorPipeline.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# This yaml file is used to define the tasks and configuration of | ||
# a Gen 3 pipeline used for testing in ts_wep. | ||
description: wep basic processing test pipeline | ||
# Here we specify the corresponding instrument for the data we | ||
# will be using. | ||
instrument: lsst.obs.lsst.LsstCam | ||
# Then we can specify each task in our pipeline by a name | ||
# and then specify the class name corresponding to that task | ||
tasks: | ||
isr: | ||
class: lsst.ip.isr.isrTask.IsrTask | ||
# Below we specify the configuration settings we want to use | ||
# when running the task in this pipeline. Since our data doesn't | ||
# include bias or flats we only want to use doApplyGains and | ||
# doOverscan in our isr task. | ||
config: | ||
connections.outputExposure: "postISRCCD" | ||
doBias: False | ||
doVariance: True | ||
doLinearize: False | ||
doCrosstalk: False | ||
doDefect: False | ||
doNanMasking: False | ||
doInterpolate: False | ||
doBrighterFatter: False | ||
doDark: False | ||
doFlat: False | ||
doApplyGains: True | ||
doFringe: False | ||
doOverscan: True | ||
python: OverscanCorrectionTask.ConfigClass.fitType = 'MEDIAN' | ||
generateDonutCatalogWcsTask: | ||
class: lsst.ts.wep.task.generateDonutCatalogWcsTask.GenerateDonutCatalogWcsTask | ||
config: | ||
donutSelector.unblendedSeparation: 1 | ||
cutOutDonutsScienceSensorTask: | ||
class: lsst.ts.wep.task.cutOutDonutsScienceSensorTask.CutOutDonutsScienceSensorTask | ||
config: | ||
# And here we specify the configuration settings originally defined in | ||
# CutOutDonutsScienceSensorTaskConfig. | ||
# Test with default instrument configuration parameters | ||
donutStampSize: 160 | ||
initialCutoutPadding: 40 | ||
calcZernikesTask: | ||
class: lsst.ts.wep.task.calcZernikesTask.CalcZernikesTask | ||
config: | ||
donutStampSelector.maxSelect: 1 |