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

pm doesn't work #14

Open
obscure666 opened this issue Mar 27, 2018 · 2 comments
Open

pm doesn't work #14

obscure666 opened this issue Mar 27, 2018 · 2 comments

Comments

@obscure666
Copy link

Routine pm doesn't seem to work. No motion is applied.

Example:
import palpy
In [11]: palpy.pm(0., 0., 5., 5., 0., 0., 2000., 2010.)
Out[11]: (0.0, 0.0)

@danielsf
Copy link
Contributor

It looks like you have set parallax==0.0. Try a non-zero parallax. I have a note in my code that "palpy.pm does not work properly if parallax is below 0.00045 arcseconds"

@danielsf
Copy link
Contributor

The comments in palPm.c (which underlies palpy's pm method) say

*  Notes:
*     - Uses eraStarpm but ignores the status returns from that routine.
*       In particular note that parallax should not be zero when the
*       proper motions are non-zero. SLA/F allows parallax to be zero.
*     - Assumes all epochs are Julian epochs.

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

No branches or pull requests

2 participants