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

Radial position and velocity functions #782

Merged
merged 15 commits into from Jun 21, 2017

Conversation

Projects
None yet
1 participant
@aphearin
Copy link
Contributor

aphearin commented Jun 21, 2017

This PR adds functions to calculate the element-wise radial distances and velocities between a set of points. This should be useful, for example, to calculate radial velocities of satellites with respect to their central. The newly added radial_distance and radial_distance_and_velocity functions differ from the already existing pairwise distance functions because these new functions only operate element-wise, allowing the calculation to be done in pure Numpy, without any Cython loops.

CC @duncandc @sssaito @johannesulf

@aphearin aphearin added this to the v0.6 milestone Jun 21, 2017

@aphearin aphearin self-assigned this Jun 21, 2017

@aphearin aphearin merged commit df27c5c into astropy:master Jun 21, 2017

3 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.01%) to 87.629%
Details

@aphearin aphearin deleted the aphearin:radial_posvel branch Jun 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment