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-42431: Implement a new task to produce shear compatible warps #895
Conversation
f72dfaf
to
a6fef85
Compare
I promise I'll squash the commits into one, or may be two before merging. |
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 made lots of minor comments about naming and backwards compatibility, and bigger one about (probably pre-existing) concerns with order of operations. But overall this looks good; it's just nailing down the details that remains.
Also, should we consider moving this task to drp_tasks
?
|
||
@classmethod | ||
def _get_bad_mask(cls, exp: ExposureF, badMaskPlanes: Iterable[str]) -> ExposureF: | ||
""" |
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.
Extra newline.
|
self.config.coaddPsf.makeControl(), | ||
) | ||
|
||
final_warp.setPsf(coaddPsf) |
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.
Based on Miranda's test, we will need to set filter label and photo calib here.
with self.timer("warp"): | ||
exposure = self.warper.warpExposure(wcs, exposure, maxBBox=maxBBox, destBBox=destBBox) | ||
exposure.setPsf(psfWarped) | ||
|
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.
Oh, I didn't mean to remove these lines. Putting them back.
52a92f6
to
5b06ea8
Compare
90b7353
to
124deb9
Compare
23f3491
to
0d4a2c3
Compare
No description provided.