Skip to content

Migrate ang2vec#426

Merged
camposandro merged 2 commits intomarginfrom
sandro/ang2vec
Nov 19, 2024
Merged

Migrate ang2vec#426
camposandro merged 2 commits intomarginfrom
sandro/ang2vec

Conversation

@camposandro
Copy link
Copy Markdown
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
@codecov
Copy link
Copy Markdown

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).

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.

@camposandro camposandro merged commit 8f8bb6b into margin Nov 19, 2024
@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 <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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants