Skip to content
This repository was archived by the owner on Oct 14, 2023. It is now read-only.

Commit 35431a6

Browse files
committed
End dispute and restore both TT and TDB J2000
Both are used in different contexts.
1 parent acc8227 commit 35431a6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/poliastro/constants.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
from astropy.constants import Constant
3030

3131
# See for example USNO Circular 179
32-
J2000 = time.Time("J2000", scale="tt")
32+
J2000_TT = time.Time("J2000", scale="tt")
33+
J2000_TDB = time.Time("J2000", scale="tdb")
34+
J2000 = J2000_TT
3335

3436
GM_sun = Constant(
3537
"GM_sun",

0 commit comments

Comments
 (0)