-
Notifications
You must be signed in to change notification settings - Fork 183
Add position-velocity-diagram extraction & plotting notebook #503
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 position-velocity-diagram extraction & plotting notebook #503
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
Sorry for the build failures - I just fixed those in #505 - do you mind rebasing on |
11825f2 to
c6dea8e
Compare
|
I punted on the optional activity; I'd love to add it, but it's hard to find an appropriate data set |
|
@kelle this is ready for final review @e-koch your review on the changes to the front material would be helpful (I added some use case text) @jonathansick your review on the technical aspects - should we squash and merge, for example? - would be helpful |
|
@keflavich --Front material looks good! |
3f3c215 to
fa7f884
Compare
c7700ec to
2cb4c64
Compare
|
@keflavich I'm seeing a tutorial build error in GitHub Actions. Here's an extract of the logs: Is |
|
Huh, I think this could be a version issue! I'll check |
| @@ -0,0 +1,586 @@ | |||
| { | |||
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.
"We can also build extraction regions by supplying coordinates defined in an astropy.coordinates.SkyCoord to pvextractor.Path "
Reply via ReviewNB
|
Overall, this looks good to me! I was confused by the use of the term "path" and asked for clarification around that. However, if "path" is the standard terminology used in radio astronomy to describe extraction regions (if I understand it correctly), then that is okay. |
|
Thanks @keflavich , the image does help. I think it's good enough. Regarding the build issues, it looks like you need to rebase this branch like you did for #504 . If all is well after that, we'll merge. |
1667a02 to
ddbe59f
Compare
|
@keflavich Can you try rebasing this now? We've pinned pyvo so that should so the build issue. |
ddbe59f to
f42247f
Compare
requirements.txt
Outdated
| <<<<<<< HEAD | ||
| pyvo==1.2.0 | ||
| ======= | ||
| pvextractor | ||
| >>>>>>> a911f0e... add pvextractor to reqs |
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.
| <<<<<<< HEAD | |
| pyvo==1.2.0 | |
| ======= | |
| pvextractor | |
| >>>>>>> a911f0e... add pvextractor to reqs | |
| pyvo==1.2.0 | |
| pvextractor |
@keflavich Could you resolve this merge conflict here in requirements.txt? I think that should do it.
|
The requirements.txt is good now. The old issue with the python39 kernel name is back: I thought this was supposed to be resolved by the nbstripout hook in pre-commit? Apparently not? |
| "kernelspec": { | ||
| "display_name": "Py 3.9", | ||
| "language": "python", | ||
| "name": "python39" |
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.
| "name": "python39" | |
| "name": "python3" |
Would you mind making this single change, directly on the JSON (without saving it against via the Jupyter app?)
|
Thanks for the switch to This is familiar; wasn't it already fixed? |
|
That's a pvextractor version issue |
|
We're installing pvextractor 0.2, which is the latest version on PyPI. Do we need to be installing pvextractor from GitHub to get the right i.e. change (that tracks the Or could you do a new release to PyPI? |
beb00d1 to
86631aa
Compare
|
To close the loop: @keflavich did a new release of |
86631aa to
51e4b49
Compare
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
51e4b49 to
dc3ee8b
Compare
for more information, see https://pre-commit.ci

This is a new tutorial on extracting & plotting position-velocity diagrams.
It could use review from a non-specialist.
This is also submitted to radio-astro-tools/tutorials, which we're kind of treating as a sandbox for learn.astropy.