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

rudimentary SHT support #25

Merged
merged 5 commits into from
Feb 20, 2022
Merged

rudimentary SHT support #25

merged 5 commits into from
Feb 20, 2022

Conversation

xzackli
Copy link
Collaborator

@xzackli xzackli commented Feb 19, 2022

PR #23 cleaned up the type system a lot, enabling us to now have the sky2pix and pix2sky functions accept shape, wcs as the first two arguments. One can still pass an Enmap as the first argument instead, i.e. sky2pix(my_enmap, coords...).

This helps us implement some basic SHT support.

@codecov-commenter
Copy link

codecov-commenter commented Feb 19, 2022

Codecov Report

Merging #25 (985f44c) into main (0fbd19f) will increase coverage by 5.55%.
The diff coverage is 76.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   63.01%   68.57%   +5.55%     
==========================================
  Files           3        4       +1     
  Lines         365      420      +55     
==========================================
+ Hits          230      288      +58     
+ Misses        135      132       -3     
Impacted Files Coverage Δ
src/enmap_ops.jl 61.53% <59.32%> (+2.23%) ⬆️
src/transforms.jl 94.82% <94.82%> (ø)
src/enmap.jl 59.74% <0.00%> (+0.62%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0fbd19f...985f44c. Read the comment docs.

@xzackli xzackli changed the title sky2pix and pix2sky now can take sky2pix(shape, wcs...) rudimentary SHT support Feb 20, 2022
@xzackli xzackli merged commit 1042fa5 into main Feb 20, 2022
@xzackli xzackli deleted the libsharp_weights branch February 20, 2022 22:05
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