Skip to content
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

Review of DM-3493 (Fix crosstalk following ds9 interface changes) #6

Merged
merged 2 commits into from Aug 31, 2015

Conversation

jdswinbank
Copy link
Contributor

No description provided.

@@ -511,16 +513,16 @@ def fixCcd(butler, visit, ccd, coeffs, display=True):
"""Apply cross-talk correction to a CCD, given the cross-talk coefficients"""
mi = readImage(butler, visit=visit, ccd=ccd)
if display:
ds9.mtv(mi.getImage(), frame=0, title="CCD %d" % ccd)
frame1 = afwDisplay.getDisplay(backend="ds9", frame=1)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to hard-code the ds9 backend here? It should be the default unless the user has overridden it -- and if they have, we presumably want to respect their choices unless this code actually requires ds9.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks as though we previously put the pre-subtraction image in frame 0 and the post-substraction in frame 1. You seem to be putting both in 1. Is that deliberate?

Use of lsst.afw.display.ds9 now fails if new package display_ds9
is not setup.  Converted to use the new interface.  The
"setMaskVisibility" function doesn't appear to have a successor,
so its use has been removed.
To ensure the temporary mask plane is removed, put the removal
in the 'finally' clause.
@PaulPrice PaulPrice merged commit 9338dd8 into master Aug 31, 2015
TallJimbo pushed a commit that referenced this pull request Feb 28, 2017
Change from boost::math to std
@ktlim ktlim deleted the tickets/DM-3493 branch August 25, 2018 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants