wbalmer / backtracks

Python package to fit relative astrometry with background star motion tracks.
https://backtracks.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Added the gaia_release and gaia_epoch attributes #34

Closed tomasstolker closed 10 months ago

tomasstolker commented 10 months ago

This PR generalizes the use of MAIN_GAIA_TABLE, by creating the gaia_release and gaia_epoch attributes. When MAIN_GAIA_TABLE will be set to DR4 in the future, then the epoch for transform_cat gets adjusted, based on the retrieved Gaia ref_epoch for the target.

I also adjusted a few instances of backtrack to backtracks (thanks for changing that @wbalmer!).

gotten commented 10 months ago

Fixes issue described in https://github.com/wbalmer/backtracks/issues/16#issue-2044970311

  • When Gaia DR4+ uses a different Epoch this hard-coded value needs to be updated.