8000 Add 'lonlat' option to functions in 'pixelfunc' by kadrlica · Pull Request #362 · healpy/healpy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add 'lonlat' option to functions in 'pixelfunc' #362

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

Merged
merged 12 commits into from
Nov 14, 2016
Merged

Conversation

kadrlica
Copy link
Contributor

This pull requests addresses #361 by adding an optional lonlat argument to allow theta and phi to be provided as longitude and latitude (in degrees) rather than co-latitude and longitude (in radians). The lonlat argument was added for ang2pix, pix2ang, ang2vec, vec2ang, get_interp_val, get_interp_weights, and get_all_neighbours. Documentation and unit tests were added, along with the utility functions lonlat2thetaphi and thetaphi2lonlat.

@zonca
Copy link
Member
zonca commented Nov 14, 2016

Great job, thank you very much!

@zonca zonca merged commit 5d3fec6 into healpy:master Nov 14, 2016
lpsinger added a commit to lpsinger/healpy that referenced this pull request Dec 22, 2016
zonca pushed a commit that referenced this pull request Dec 22, 2016
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
0