-
Notifications
You must be signed in to change notification settings - Fork 75
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
Aperture photometry plugin reflects display unit selection #3118
Conversation
8d23ea1
to
297ff97
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3118 +/- ##
==========================================
+ Coverage 88.78% 88.82% +0.03%
==========================================
Files 112 112
Lines 17446 17550 +104
==========================================
+ Hits 15489 15588 +99
- Misses 1957 1962 +5 ☔ View full report in Codecov by Sentry. |
Just noticed that the problem about not showing the units right away is also in the released version. |
Now that you mention the radial plot, I wonder how the Gaussian1D fit would behave as well. |
I tested the gaussian fit and the plotting and it was working for me, but maybe something is getting out of sync. looking into it |
the latest commit should fix the issue with the raw radial profile plot |
The fix worked, thank you! |
This comment was marked as resolved.
This comment was marked as resolved.
57e9d4b
to
7a5d5e9
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
7a5d5e9
to
fbe344d
Compare
1a95ebd
to
ef8c398
Compare
a few things:
|
f1c518b
to
051e11a
Compare
|
@kecnry also said we should disable multi-select for aperture photometry in Cubeviz. Is that part of this PR or a different ticket? |
jdaviz/configs/cubeviz/plugins/spectral_extraction/spectral_extraction.py
Outdated
Show resolved
Hide resolved
This is already a separate ticket, and I just said disabling could be an option if it isn't an easy fix (but that we probably should try to get it working and covered in tests if there aren't too many roadblocks). |
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.
First comment from a first glance. More comments tomorrow!
jdaviz/configs/imviz/plugins/aper_phot_simple/aper_phot_simple.vue
Outdated
Show resolved
Hide resolved
As it is,
For Cubeviz, you can probably grab this value from slice. But this is going to be much trickier if you ever want to enable the same functionality for Imviz because then you need to infer that value from some bandpass information that might or might not be available. |
oh, i was working on adding the equivalencies but it looks like you just committed 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.
I think it is okay to not convert biweight midvariance when it fails (it will if you convert per-wave to per-freq because it is flux^2). I don't think anyone is going to notice. Good enough for now.
Re: #3118 (comment) Oh ooops... Feel free to drop my commits then if you want to push yours out. |
This comment was marked as resolved.
This comment was marked as resolved.
Actually maybe the difference is caused by #3133 (Yes, I confirmed it locally by comparing test result before/after rebase. So I updated the test result.) |
review comment Allow per-wave to/from per-freq for most cases Co-authored-by: Clare Shanahan <cshanahan@stsci.edu>
5b8edc2
to
8385dcf
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.
This looks good to me, thanks for your perseverance @cshanahan1. It's unfortunate that the units astronomers love are so messy, but I think this makes it clearer what we're doing with them.
Update all display and outputs of aperture photometry app to reflect selected display unit in cubeviz.
The output photometry table now has a separate column for Unit.