From 1c83a13ad7cde6c850a64e932ee1082567275e32 Mon Sep 17 00:00:00 2001 From: Ricky O'Steen Date: Wed, 30 Oct 2024 11:52:50 -0400 Subject: [PATCH] Use public API to get time origin --- notebooks/tike_lcviz_tutorial.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/tike_lcviz_tutorial.ipynb b/notebooks/tike_lcviz_tutorial.ipynb index 8fc58e7..7ce7b38 100644 --- a/notebooks/tike_lcviz_tutorial.ipynb +++ b/notebooks/tike_lcviz_tutorial.ipynb @@ -282,8 +282,8 @@ "outputs": [], "source": [ "# get the origin of the time axis in LCviz:\n", - "time_coordinates = lcviz.app.data_collection[0].coords\n", - "reference_time = time_coordinates.reference_time\n", + "data = lcviz.get_data()\n", + "reference_time = data.time[0]\n", "\n", "# literature ephemeris for hot Neptune planet HAT-P-11 b:\n", "morris2017_epoch = 2454605.89146 # BJD (TDB)\n",