Slice#
- class jdaviz.configs.cubeviz.plugins.slice.slice.Slice(*args, **kwargs)[source]#
Bases:
PluginTemplateMixinSee the Slice Plugin Documentation for more details.
Only the following attributes and methods are available through the public plugin API:
sliceCurrent slice number.wavelengthWavelength of the current slice. When setting this directly, it will update automatically to the wavelength corresponding to the nearest slice.show_indicatorWhether to show indicator in spectral viewer when slice tool is inactive.show_wavelengthWhether to show slice wavelength in label to right of indicator.
Public constructor
Attributes Summary
A boolean (True, False) trait.
A float trait.
A float trait.
An int trait.
A boolean (True, False) trait.
A boolean (True, False) trait.
A trait which allows any value.
An int trait.
A trait which allows any value.
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.
- slice_indicator#
- template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz-javerbukh/envs/latest/lib/python3.11/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