-
Notifications
You must be signed in to change notification settings - Fork 76
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
Translator for regions and photutils #1138
Translator for regions and photutils #1138
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1138 +/- ##
==========================================
+ Coverage 77.29% 77.44% +0.14%
==========================================
Files 89 90 +1
Lines 7028 7079 +51
==========================================
+ Hits 5432 5482 +50
- Misses 1596 1597 +1
Continue to review full report at Codecov.
|
763a47a
to
43eef77
Compare
43eef77
to
bfe3912
Compare
This comment was marked as resolved.
This comment was marked as resolved.
ea009d8
to
b1e4ae0
Compare
6f24f69
to
b1edd9b
Compare
jdaviz/configs/imviz/plugins/aper_phot_simple/aper_phot_simple.py
Outdated
Show resolved
Hide resolved
b1edd9b
to
99a1396
Compare
Update change log. TMP: Update dev pins.
9464089
to
dcdc560
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.
Other than a vague sense that it would be useful for these translators to live somewhere other than Jdaviz, I think this looks good. The bug that I found is also present on main so it doesn't block this.
Yes. @larrybradley and I cannot agree between |
Co-authored-by: Ricky O'Steen <[email protected]>
d1944b7
to
9f4fdde
Compare
TST: Test against dev photutils DOC: Point photutils intersphinx to stable
3fca646
to
dbb2bb7
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.
Ran through a simple aperture photometry example in Imviz and everything seems to be extracted as I would expect! Thanks for the increment!
I will note I agree with @rosteen's comment:
Not sure if glue-astronomy would be the most appropriate place since this isn't exactly related to the glue stuff that's already in there? |
No, no one really uses glue-astronomy but us. It would be wasted to get the translation in there. Some day, either Larry will convince me that it should go into regions or I will him that it should be in photutils... 😆 |
Thanks for the reviews! |
Description
This pull request is to implement translators to convert certain
regions
shapes tophotutils
apertures, primarily to support new features for Simple Aperture Photometry plugin that Imviz uses (e.g., centroid and FWHM).This PR also follows up on #1131 by changing plot color to gray (original request) and making the profile plot marker size a little smaller.
https://jdaviz--1138.org.readthedocs.build/en/1138/imviz/plugins.html#simple-aperture-photometry
References:
Blocked by:
This is required for:
Related PRs/issues:
TODO
photutils
now a required dependency.photutils
dependency indocs/dev/jdaviz.svg
.ApertureStats
class inphotutils
.photutils
.regions
to a stable release that is>0.5
insetup.cfg
after that release happens. Now it pins to dev to make tests pass.glue-astronomy
to a stable release that is>=0.3.3
.photutils
to a stable release with that feature branch. Also update interphinx URL.Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
trivial
label.CHANGES.rst
?