-
Notifications
You must be signed in to change notification settings - Fork 44
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
Ifu continuum #151
base: main
Are you sure you want to change the base?
Ifu continuum #151
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Science Review (Part 1): The science workflow is generally sound, but could be tightened up. I would like to make the following suggestions:
This code accomplishes that: !pip install specutils --upgrade my_wcs = fitswcs.WCS(header_cube) #Adjust wcs to trimmed cube because spectral_slab doesn't
AttributeError Traceback (most recent call last) AttributeError: 'CubeViz' object has no attribute 'specviz' |
Science Review (Part 2):
Great work, Tracy and Ori! |
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.
Science review: looks great. I left a number of detailed comments in the PR that are optional suggestions.
Hi @orifox, please find the technical review below. Before you beginThe technical review helps ensure that contributed notebooks a) run from top to bottom, b) follow the PEP8 standards for Python code readability, and c) conform to the Institute's style guide for Jupyter Notebooks. I've pushed the review as a new commit in this pull request. To view and edit the commit locally, follow these steps:
( From here you can work on your branch as normal. If you have trouble with this step, please let me know before continuing. InstructionsAfter updating your local copy of this branch, please open your notebook and address any warnings or errors you find. If you see cells with output like this, it means some of your code doesn't follow the PEP8 standards of code readability: (In the example above, You can test that your edits satisfy the standard by installing
Then, restart the notebook and run the following cells: After that, edit and re-run cells with warnings until you've fixed all of them. Please remember to delete the cells shown in the above image before pushing your changes back to this pull request. If you have questions or feedback on specific cells, click the earlier message in this thread from the "review-notebook-app" bot. There, you can comment on specific cells and view what's changed in the new commit. I may also write comments there, though all comments made on that page will also be reflected in this pull request's conversational thread. The three-point review (*action required*)
|
f85fb59
to
2109958
Compare
51d3f0f
to
6aeff26
Compare
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'm giving a pass on the technical reviews after today's edits. I will wait to see how the tests look 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 was able to successfully run through the notebook. There was one Cubeviz GUI error when fitting the continuum subtracted cube that didn't appear to affect the result. The science workflow is clear, but still could benefit from trimming the cube to remove extraneous data and improve the presentation.
Updated Tracy's notebook on IFU Continuum fitting to be what I consider Advanced:
I'd like Patrick, Cami, Larry, and Erik to check it out, especially since this is one of the more public displays of using Jdaviz. Also consider if you like the way I embedded videos. It's not consistent with what we discussed before, but you'll see that describing these actions via text was nearly impossible and I really see a lot of benefit to embedding rather than taking users to different sites. But very open minded to your reviews.