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

Tracking non-sidereal objectasuch as the Moon or Jupiter #59

Open
twillis449 opened this issue Jul 10, 2024 · 2 comments
Open

Tracking non-sidereal objectasuch as the Moon or Jupiter #59

twillis449 opened this issue Jul 10, 2024 · 2 comments

Comments

@twillis449
Copy link
Collaborator

I don't think RMextract provides an option to track non-sidereal object such as the Moon in the PosTools code. But it would be nice to have.

@tremou
Copy link

tremou commented Jul 10, 2024

that would be great indeed. Just in case someone needs a quick work around with astropy:

from astropy.coordinates import solar_system_ephemeris, EarthLocation
from astropy.coordinates import get_body_barycentric, get_body

with solar_system_ephemeris.set('builtin'):
    moon = get_body('moon', t, vla)
    #print(moon.ra,moon.dec,t)
    d=moon.ra.rad,moon.dec.rad

@maaijke
Copy link
Collaborator

maaijke commented Jul 12, 2024

I will take it into account in the update

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

3 participants