@@ -69,8 +69,8 @@ def __init__(
6969 self ._deltaf = CubicSpline (eph ["datetime_jd" ], eph ["delta" ])
7070 # Delta-T (TDB - UT)
7171 self ._deltat = CubicSpline (eph ["datetime_jd" ], eph ["TDB-UT" ])
72- # Phase angle
73- self ._phif = CubicSpline (eph ["datetime_jd" ], eph ["alpha_true " ])
72+ # Sun-Target-Observer (~phase) angle
73+ self ._alphaf = CubicSpline (eph ["datetime_jd" ], eph ["alpha " ])
7474 # Motion expressed in TESS pixels per hour
7575 motion = (
7676 np .hypot (eph ["RA_rate" ].quantity , eph ["DEC_rate" ].quantity )
@@ -105,7 +105,7 @@ def predict_sky(self, time: Time) -> DataFrame:
105105 H = np .full (len (time .jd ), np .nan )
106106 r = self ._rf (time .jd )
107107 delta = self ._deltaf (time .jd )
108- phi = self ._phif (time .jd )
108+ sto_angle = self ._alphaf (time .jd )
109109 motion = self ._motionf (time .jd )
110110 deltat = self ._deltat (time .jd )
111111 return DataFrame (
@@ -119,7 +119,7 @@ def predict_sky(self, time: Time) -> DataFrame:
119119 "hmag" : H ,
120120 "sun_distance" : r ,
121121 "obs_distance" : delta ,
122- "phase_angle " : phi ,
122+ "sto_angle " : sto_angle ,
123123 }
124124 )
125125
@@ -288,7 +288,7 @@ def _get_horizons_ephem(
288288 step : str = "12H" ,
289289 id_type : str = "smallbody" ,
290290 location : str = "@TESS" ,
291- quantities : str = "1,3,9,19,20,30,43 " ,
291+ quantities : str = "1,3,9,19,20,24,30 " ,
292292):
293293 """Returns JPL Horizons ephemeris.
294294
0 commit comments