bkjd_to_astropy_time

lightkurve.utils.bkjd_to_astropy_time(bkjd, bjdref=2454833.0)

Converts BKJD time values to an astropy.time.Time object.

Kepler Barycentric Julian Day (BKJD) is a Julian day minus 2454833.0 (UTC=January 1, 2009 12:00:00) and corrected to the arrival times at the barycenter of the Solar System. BKJD is the format in which times are recorded in the Kepler data products. The time is in the Barycentric Dynamical Time frame (TDB), which is a time system that is not affected by leap seconds. See Section 2.3.2 in the Kepler Archive Manual for details.

Parameters:
bkjd : array of floats

Barycentric Kepler Julian Day.

bjdref : float

BJD reference date, for Kepler this is 2454833.

Returns:
time : astropy.time.Time object

Resulting time object


Created with ♥ by the Lightkurve developers. Join us on GitHub.