CoordsInfo#

class jdaviz.configs.imviz.plugins.coords_info.coords_info.CoordsInfo(*args, **kwargs)[source]#

Bases: TemplateMixin, DatasetSelectMixin

Public constructor

Attributes Summary

dataset_icon

A trait for unicode strings.

icon

A trait for unicode strings.

marks

Access the marks created by this plugin.

row1_unreliable

A boolean (True, False) trait.

row1a_text

A trait for unicode strings.

row1a_title

A trait for unicode strings.

row1b_text

A trait for unicode strings.

row1b_title

A trait for unicode strings.

row2_text

A trait for unicode strings.

row2_title

A trait for unicode strings.

row2_unreliable

A boolean (True, False) trait.

row3_text

A trait for unicode strings.

row3_title

A trait for unicode strings.

row3_unreliable

A boolean (True, False) trait.

template_file

Methods Summary

as_dict()

as_text()

register_viewer_class(viewer_cls[, with_marker])

Register a new viewer class to receive mouseover callbacks.

register_viewer_update_handler(viewer_cls, ...)

Register a handler called from update_display for a custom viewer type.

reset_coords_display([clear_rows])

update_display(viewer, x, y[, mouseevent])

vue_next_layer(*args, **kwargs)

Attributes Documentation

dataset_icon#

A trait for unicode strings.

icon#

A trait for unicode strings.

marks#

Access the marks created by this plugin.

row1_unreliable#

A boolean (True, False) trait.

row1a_text#

A trait for unicode strings.

row1a_title#

A trait for unicode strings.

row1b_text#

A trait for unicode strings.

row1b_title#

A trait for unicode strings.

row2_text#

A trait for unicode strings.

row2_title#

A trait for unicode strings.

row2_unreliable#

A boolean (True, False) trait.

row3_text#

A trait for unicode strings.

row3_title#

A trait for unicode strings.

row3_unreliable#

A boolean (True, False) trait.

template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/4148/lib/python3.13/site-packages/jdaviz/configs/imviz/plugins/coords_info/coords_info.py', 'coords_info.vue')#

Methods Documentation

as_dict()[source]#
as_text()[source]#
classmethod register_viewer_class(viewer_cls, with_marker=False)[source]#

Register a new viewer class to receive mouseover callbacks.

Parameters:
viewer_clstype

The viewer class to register.

with_markerbool

If True, a scatter marker will be created for this viewer type so the cursor snapping indicator is displayed.

classmethod register_viewer_update_handler(viewer_cls, handler)[source]#

Register a handler called from update_display for a custom viewer type.

The handler must have the signature handler(coords_info, viewer, x, y, mouseevent=True).

reset_coords_display(clear_rows=[1, 2, 3])[source]#
update_display(viewer, x, y, mouseevent=True)[source]#
vue_next_layer(*args, **kwargs)[source]#