Skip to content
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 ang2vec #426

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Migrate ang2vec #426

merged 2 commits into from
Nov 19, 2024

Conversation

camposandro
Copy link
Contributor

Use astropy to convert ra/dec coordinates to unit cartesian vectors. Part of issue #423.

  • My PR includes a link to the issue that I am addressing

Code Quality

  • I have read the Contribution Guide
  • My code follows the code style of this project
  • My code builds (or compiles) cleanly without any errors or warnings
  • My code contains relevant comments and necessary documentation

@camposandro camposandro self-assigned this Nov 19, 2024
@camposandro camposandro changed the title Sandro/ang2vec Migrate ang2vec Nov 19, 2024
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.87%. Comparing base (56d343c) to head (bede136).
Report is 2 commits behind head on margin.

Additional details and impacted files
@@            Coverage Diff             @@
##           margin     #426      +/-   ##
==========================================
+ Coverage   92.86%   92.87%   +0.01%     
==========================================
  Files          46       46              
  Lines        2031     2034       +3     
==========================================
+ Hits         1886     1889       +3     
  Misses        145      145              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@camposandro camposandro merged commit 8f8bb6b into margin Nov 19, 2024
9 checks passed
@camposandro camposandro deleted the sandro/ang2vec branch November 19, 2024 17:56
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 <[email protected]>
Co-authored-by: Sean McGuire <[email protected]>
Co-authored-by: Sandro Campos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants