Flux Column#
Choose which column in the underlying data is used as the flux column throughout the app.
Overview#
This plugin allows choosing which column in the underlying data should be used as the flux column (origin) throughout the app (when plotting and in any data analysis plugins).
UI Access#
User API#
User API Example
See the FluxColumn user API documentation for more details.
import jdaviz as jd
import lcviz
from lightkurve import search_lightcurve
lc = search_lightcurve("HAT-P-11", mission="Kepler",
cadence="long", quarter=10).download().flatten()
jd.load(lc, format="Light Curve")
jd.show()
flux_col = jd.plugins['Flux Column']
print(flux_col.flux_column.choices)
flux_col.flux_column = 'sap_flux'
See also
This plugin reproduces the behavior also available in lightkurve as:
lightkurve.LightCurve.select_flux()