Flux vs Time#

Display flux as a function of time for one or more light curves.

Overview#

The Flux vs Time viewer (registry name lcviz-time-viewer) is lcviz’s primary viewer for exploring light curve data. It displays flux (or any chosen flux column) on the y-axis against time on the x-axis, with full support for zooming, panning, subset selection, and slice indicators for linked TPF cube views.

Multiple light curves can be overlaid in the same viewer. Additional Flux vs Time viewers can be created via the Viewer Creator controls in jdaviz.

UI Access#

API Access#

import jdaviz as jd
import lcviz
from lightkurve import search_lightcurve

lc = search_lightcurve("HAT-P-11", mission="Kepler",
                       cadence="long", quarter=10).download()
jd.load(lc, format="Light Curve")
jd.show()

# Access the time viewer
tv = jd.viewers['flux-vs-time[1]']
tv.state.x_min  # current x axis minimum

See also

TimeScatterView

API documentation for the Flux vs Time viewer.