New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DM-22534: Implement cpSkyTask #88
Conversation
CpSkyScaleMeasure | ||
################# | ||
|
||
``CpSkyScaleMeasure`` merges the `lsst.pipe.drivers.FocalPlaneBackground` models generated per-detector into single full-focal plane model. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description for this doesn't seem to capture its primary objective, i.e., the measurement of per-exposure scale factors. Could you add this into the description here?
Minor typo: "into single" > "into a single"
CpSkySubtractBackground | ||
####################### | ||
|
||
``CpSubtractBackground`` subtracts the scaled full-focal plane model created by :lsst-task:`~lsst.cp.pipe.CpSkyScaleMeasureTask` from the per-detector images created by :lsst-task:`~lsst.cp.pipe.CpSkyImageTask`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be 'CpSkySubtractBackground'?
Processing summary | ||
================== | ||
|
||
``CpSubtractBackground`` runs these operations: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^^ 'CpSkySubtractBackground'
python/lsst/cp/pipe/cpSkyTask.py
Outdated
|
||
largeScaleBackground = pexConfig.ConfigField( | ||
dtype=FocalPlaneBackgroundConfig, | ||
doc="Large-scale background configuration", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing period.
python/lsst/cp/pipe/cpSkyTask.py
Outdated
# self.largeScaleBackground.xSize = 256 | ||
# self.largeScaleBackground.ySize = 256 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these inline comments necessary? Are they hinting at recommended defaults? They don't seem to correspond to the obs_subaru
values below (8192 x 8192 pixels).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed the 256
comments, and clarified the obs_subaru
comment. As these values are not completely intuitive (very few other places in the code use mm), I wanted to note where they came from.
python/lsst/cp/pipe/cpSkyTask.py
Outdated
else: | ||
self.maskTask.run(inputExp, self.config.maskList) | ||
|
||
# As constructCalibs.py SkyTask.measureBackground() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double space
38db02e
to
297bba3
Compare
This also removes Latiss specific configs from the base pipeline definition.
This ticket re-implements pipe_drivers constructCalib.py SkyTask in gen3, using four tasks to handle the map-reduce-map-reduce structure of the old code.