TOMToolkit / tom_base

The base Django project for a Target and Observation Manager
https://tom-toolkit.readthedocs.io
GNU General Public License v3.0
26 stars 46 forks source link

Barycentric or Heliocentric? #244

Open fraserw opened 4 years ago

fraserw commented 4 years ago

It isn't clear from the TOMs interface if the elements required of a custom moving object are in heliocentric, barycentric, or some other coordinate system with less common origin. The JPL queries and MPC queries imply heliocentric coordinates. I have two feature requests:

1) Clarify this in the top text of the target creation and information pages.

2) Provide a converter between the barycentric and heliocentric elements to enable input of both types.

Think of it as the metric vs. imperial battle...

dmcollom commented 4 years ago

Wes, very happy to add labels explicitly saying that everything is stored in heliocentric (which it obviously is, given that the two data sources you mentioned return them in said format.

A converter is definitely an option, provided there's a relatively straightforward way of doing so. We do something very similar with sexagesimal targets here, but it's not immediately clear (to me, at least) how I would implement the conversion. It doesn't appear that Astropy provides it either. Do you have a resource on that?

fraserw commented 4 years ago

Unfortunately it isn't so simple as it requires at least two steps of an integrator at the epoch of the elements. But I can do this using rebound, which is python friendly. I'll look at adding this during my other ephemeris-centric development.

On Fri., Jan. 31, 2020, 3:19 p.m. David Collom notifications@github.com wrote:

Wes, very happy to add labels explicitly saying that everything is stored in heliocentric (which it obviously is, given that the two data sources you mentioned return them in said format.

A converter is definitely an option, provided there's a relatively straightforward way of doing so. We do something very similar with sexagesimal targets here https://github.com/TOMToolkit/tom_base/blob/master/tom_targets/templatetags/targets_extras.py#L140, but it's not immediately clear (to me, at least) how I would implement the conversion. It doesn't appear that Astropy provides it either. Do you have a resource on that?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TOMToolkit/tom_base/issues/244?email_source=notifications&email_token=ABRJZPSMSJYMU3HINWLYDULRASWW5A5CNFSM4KN75UIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKQKHAI#issuecomment-580952961, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRJZPXUNG436DMLUBOTHS3RASWW5ANCNFSM4KN75UIA .