SIMPLE-AstroDB / SIMPLE-db

BSD 3-Clause "New" or "Revised" License
11 stars 22 forks source link

Coordinate transform script #264

Closed kelle closed 7 months ago

kelle commented 2 years ago

We should make a "helper" script which takes the coordinates from the Sources table and uses whatever astrometry (proper motion) to transform coordinates to a specific date.

Will-Cooper commented 2 years ago
rashifted = ra + pmra / 1000 / 3600 * years # pmra in mas
decshifted = dec + pmdec / 1000 / 3600 * years  # pmdec in mas

n.b. pmra from gaia contains the cosdec term

kelle commented 2 years ago

I would use astropy.

kelle commented 7 months ago

moved to https://github.com/astrodbtoolkit/astrodb_scripts/issues/30