diff --git a/notebooks/tike_lcviz_tutorial.ipynb b/notebooks/tike_lcviz_tutorial.ipynb index 103a951..8fc58e7 100644 --- a/notebooks/tike_lcviz_tutorial.ipynb +++ b/notebooks/tike_lcviz_tutorial.ipynb @@ -36,7 +36,7 @@ "* [Additional Resources](#Additional-Resources)\n", "\n", "## Introduction\n", - "In this notebook we will be exploring the use of the [LCviz](https://github.com/spacetelescope/lcviz) (light curve visualization and analysis) tool for investigating time series observations of a transiting exoplanet. LCviz is built on the [Jdaviz](https://github.com/spacetelescope/jdaviz/) (James Webb data analysis and visualization) tool and additionally relies heavily on the [lightkurve](https://github.com/lightkurve/lightkurve) and [astropy](https://github.com/astropy/astropy) packages.\n", + "In this notebook we will be exploring the use of the [LCviz](https://github.com/spacetelescope/lcviz) (light curve visualization and analysis) tool for investigating time series observations of a transiting exoplanet. LCviz is built on the [Jdaviz](https://github.com/spacetelescope/jdaviz/) data analysis and visualization tool and additionally relies heavily on the [lightkurve](https://github.com/lightkurve/lightkurve) and [astropy](https://github.com/astropy/astropy) packages.\n", "\n", "Specifically, we will be using LCviz to look at a Kepler long cadence light curve of HAT-P-11, a K4V host to\n", "a transiting hot Neptune with a 4.8 day period, and a stellar rotation period of 29 days." @@ -286,14 +286,14 @@ "reference_time = time_coordinates.reference_time\n", "\n", "# literature ephemeris for hot Neptune planet HAT-P-11 b:\n", - "morris2017_epoch = Time(2454605.89146, format='jd')\n", + "morris2017_epoch = 2454605.89146 # BJD (TDB)\n", "morris2017_period = 4.88780258 # days\n", "\n", "# phase-fold the transit light curve in an ephemeris viewer:\n", "eph = lcviz.plugins['Ephemeris']\n", "eph.period = morris2017_period\n", "eph.t0 = (\n", - " (morris2017_epoch - reference_time).to_value(time_coordinates.unit) % eph.period\n", + " (morris2017_epoch - reference_time) % eph.period\n", ")\n", "\n", "# offset the wrapping phase so the transit (at phase 0) displays at center\n",