-
Notifications
You must be signed in to change notification settings - Fork 106
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
GMOS tilted slits #1827
base: develop
Are you sure you want to change the base?
GMOS tilted slits #1827
Conversation
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.
Hi @jhod0 . Thanks! This looks good to me. Two requests:
- Can you add a note on this in the
doc/releases/1.16.1dev.rst
doc? - We should check with @debora-pe about the offset you see in the predictions vs. the measurements. I expect this should be okay because the code should determine this offset. I.e., the exact prediction doesn't really matter, as long as the code is able to correctly match the slit mask design to the slits detected in the image.
…ion of the release notes
Thanks @kbwestfall , I added a short description under "Instrument-Specific Updates" in that file.
Nevermind - the update is in the parent class of both GMOS-South and GMOS-North, so it is already applied to both. |
Hi @jhod0 Thank you for doing this. |
Great! I certainly can test on other GMOS data sets, but it will be on the back burner for me and I might not get to it for a few weeks. |
@@ -21,6 +21,11 @@ Functionality/Performance Improvements and Additions | |||
Instrument-specific Updates | |||
--------------------------- | |||
|
|||
- GMOS-South: PypeIt reductions of GMOS-South MOS observations now properly |
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 guess this is not only for GMOS-S but also GMOS-N
I run the tests. All good (the few failures are not related)
Unfortunately, we have only one dataset in the Dev Suite that uses the mask definition information and it's GMOS-S with non-tilted slits. So, I could not check much, but the results for the non-tilted slits data did not change, so I guess it's good thing :) |
@jhod0 -- need any help finishing this PR off? |
I think we're waiting for relevant test data to become public, which I think is sometime in Jan, if I remember right. |
Yes Kyle is right. The data were all taken on January 17th, I believe it's a one year proprietary period and they will be public this coming January 17th? Couldn't quickly verify the proprietary period. |
Currently the GMOS mask design info in PypeIt does not allow for tilted slits, this PR tries to implement that. @SunilSimha had given me some quick instructions on what to change for this.
I believe this is now working for GMOS-South with data of mine taken in January with the newly-installed detectors. I have managed to do PypeIt reductions with these changes which appear, to me, to match up slits correctly with their mask design info.
One small "issue" is that the predicted and empirically measured slit edges seem to be systematically off by ~10pix. Is this a negligible offset, or something that actually needs to be corrected? In any case, it appears to work the same for tilted and non-tilted slits.
The following is from a slit mask where the slits centered at ~533 and ~652 are tilted.
Here are the measures slit edges for one mask, loaded in from a
Slits....tgz
calibration file:And here are the predicted slit edges from
get_maskdef_slitedges()
, which I printed out from planting apdb.set_trace()
and during a regular PypeIt reduction.