Skip to content

Commit

Permalink
Use public API to get time origin
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Oct 30, 2024
1 parent abd0ab8 commit 1c83a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/tike_lcviz_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1c83a13

Please sign in to comment.