-
Notifications
You must be signed in to change notification settings - Fork 5
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
Migrate box filtering to use MOCpy #428
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## margin #428 +/- ##
==========================================
- Coverage 92.96% 92.89% -0.07%
==========================================
Files 46 46
Lines 2075 2027 -48
==========================================
- Hits 1929 1883 -46
+ Misses 146 144 -2 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
delucchi-cmu
approved these changes
Nov 22, 2024
delucchi-cmu
added a commit
that referenced
this pull request
Nov 26, 2024
* Remove margin fine filtering. * Remove unused unseen. * Remove margin fine filtering. (#421) * Remove margin fine filtering. * Remove unused unseen. * Use cdshealpix for margin pixel finding. * Unused import. * add color_by_order option and plot on existing axes * reset matplotlib after tests * pylint * Migrate ang2vec (#426) * Use astropy for ang2vec conversion * Allow for kwargs in ang2vec * use mindist instead of resol for margin filter * Replace healpy in healpix_shim pixel math operations * isort * support np arrays * use order instead of nside * remove unused variable * Return int64 from radec2pix (#432) * Migrate box filtering to use MOCpy (#428) * Use mocpy in box filtering * Update tests * Ensure moc is correct in box filter test * Remove unused healpy methods * Pin mocpy * Remove healpy references. (#433) * Address merge conflicts --------- Co-authored-by: Sean McGuire <123987820+smcguire-cmu@users.noreply.github.com> Co-authored-by: Sean McGuire <seanmcgu@andrew.cmu.edu> Co-authored-by: Sandro Campos <scampos@andrew.cmu.edu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Migrate our custom box filtering to the MOCpy's
from_zone
implementation, enabling the removal of several healpy methods such asquery_polygon
,query_strip
andring2nest
. This change is pending new releases of cdshealpix and mocpy. Closes #401.Code Quality