[AstroPy] time conversion between JD and UT
ghang.naoc at gmail.com
Thu Sep 4 07:59:06 EDT 2014
I am trying astropy.time to do conversion between JD and UT.
It is easier to convert UT to JD. It seems JD equals jd1+jd2, right? I do
not know why there are two parts since one value is enough.
However It is difficult to convert JD to UT? It seems there is no relative
manipulation in this package.
>>> from astropy.time import Time
>>> t = Time('2010-01-01 00:00:00', scale='utc')>>> t.jd1, t.jd2(2455197.5, 0.0)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the AstroPy