-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add code showing how to remove NIRCam wisps #236
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Hi @bsunnquist, thank you for the notebook! Is this ready for technical review? |
Hi @camipacifici - yes, I think it's ready - thanks! The only thing I wasn't sure on is the downloading of the wisp templates. We store them on Box, so I just provide a link for users to download them manually before running the notebook. I tried downloading them programmatically from Box but wasn't able to get it working, but let me know if that's preferred. |
The technical reviewer will help you solve that, no problem! |
Sounds good thanks! And I've just tested it by myself, i.e. running on NIRCam data to make sure it works as expected. |
Ok, thanks. I leave it to @bhilbert4 and Roeland to decide if a science review is needed. |
I just reviewed the notebook, and it looks good to me. The only question I have @bsunnquist: is it possible for a user to turn on the scaling when they supply their own wisp template? |
@bhilbert4 Yes that's possible; I've added some clarification on that to the custom templates section. |
@bhilbert4 is this ready for technical review? |
@camipacifici yes, ready for technical review. |
@bsunnquist I forgot to mention that I had also changed the requirements.txt file to point to jwst 1.15.1 but I didn't send you that one. I tested it with that version.
|
@rizeladiaz updated with those changes |
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.
Ready to merge
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.
Good to go.
Thank you @bsunnquist and @rizeladiaz! |
This notebook demonstrates how to scale, subtract, and/or flag the scattered light "wisps" from NIRCam data using new templates provided by the NIRCam team. The
subtract_wisp.py
contains the code, and the notebook shows how to use it and its optional arguments.The First Cell
<h1>
or# in markdown
).1., 2.,
etc. in Markdown).The Rest of the Cells
#
in Markdown) used in the notebook.Text
Code
Images
All images (jpg, png, svgs) have an image description. This could be
alt
property)alt
attribute with no value)Any text present in images exists in a text form outside of the image (this can be alt text, captions, or surrounding text.)
Visualizations
All visualizations have an image description. Review the previous section, Images, for more information on how to add it.
Visualization descriptions include
All visualizations and their parts have enough color contrast (color contrast checker) to be legible. Remember that transparent colors have lower contrast than their opaque versions.
All visualizations convey information with more visual cues than color coding. Use text labels, patterns, or icons alongside color to achieve this.
All visualizations have an additional way for notebook readers to access the information. Linking to the original data, including a table of the data in the same notebook, or sonifying the plot are all options.