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

Fixed time scale of the Julian Dates (Terrestrial Time for calls to app_star) - Closes #29 #33

Closed gotten closed 8 months ago

gotten commented 9 months ago

I made the needed changes for the conversion from UTC to TT in this fork. There are many ways to do this, including adding a keyword in radecdists to trigger a conversion from JD to TT. However because this function is called many times by the dynesty model it is probably unwanted to bloat that function. I opted to make a parallel version of epochs in TT units when the coordinates are read in from disk. For the plots I also made a plot_epochs_tt at the beginning of each plot function. Whenever radecdists is called the TT version of the plot_epochs is used. For user-facing things like plot x-axis the default UTC version is used.

gotten commented 9 months ago

Closes wbalmer/backtracks#29

wbalmer commented 9 months ago

Hi Gilles! Can you merge from main again? then I can merge this update - I just finished #36 .