Slice

class jdaviz.configs.cubeviz.plugins.slice.slice.Slice(*args, **kwargs)[source] [edit on github]

Bases: PluginTemplateMixin

See the Slice Plugin Documentation for more details.

Only the following attributes and methods are available through the public plugin API:

  • show()

  • open_in_tray()

  • slice Current slice number.

  • wavelength Wavelength of the current slice. When setting this directly, it will update automatically to the wavelength corresponding to the nearest slice.

  • show_indicator Whether to show indicator in spectral viewer when slice tool is inactive.

  • show_wavelength Whether to show slice wavelength in label to right of indicator.

Public constructor

Attributes Summary

is_playing

A boolean (True, False) trait.

max_value

A float trait.

min_value

A float trait.

play_interval

An int trait.

show_indicator

A boolean (True, False) trait.

show_wavelength

A boolean (True, False) trait.

slice

A trait which allows any value.

template_file

user_api

wait

An int trait.

wavelength

A trait which allows any value.

wavelength_unit

A trait which allows any value.

Methods Summary

vue_goto_first(*args)

vue_goto_last(*args)

vue_play_next(*args)

vue_play_start_stop(*args)

Attributes Documentation

is_playing

A boolean (True, False) trait.

max_value

A float trait.

min_value

A float trait.

play_interval

An int trait.

show_indicator

A boolean (True, False) trait.

show_wavelength

A boolean (True, False) trait.

slice

A trait which allows any value.

template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/v3.5.0/lib/python3.9/site-packages/jdaviz/configs/cubeviz/plugins/slice/slice.py', 'slice.vue')
user_api
wait

An int trait.

wavelength

A trait which allows any value.

wavelength_unit

A trait which allows any value.

Methods Documentation

vue_goto_first(*args)[source] [edit on github]
vue_goto_last(*args)[source] [edit on github]
vue_play_next(*args)[source] [edit on github]
vue_play_start_stop(*args)[source] [edit on github]