Markers#
Interactively create markers in any viewer and log information into a table.
Overview#
This plugin allows for interactively creating markers in any viewer and logging information about the location of that marker along with the applicable data and viewer labels into a table.
With the plugin open in the tray, mouse over any viewer and press the “m” key to log the information displayed in the app toolbar into the table. The markers remain at that fixed pixel-position in the viewer they were created (regardless of changes to the underlying data or linking) and are only visible when the plugin is opened.
UI Access#
User API#
User API Example
See the Markers 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()
markers = jd.plugins['Markers']
markers.open_in_tray()
# interactively mark by mousing over the viewer and pressing "M"
table = markers.export_table()
print(table)
markers.clear_table()
See also
- Jdaviz Markers
Jdaviz documentation on the Markers plugin.