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:
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
A float trait.
A float 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.
Attributes Documentation
- max_value
A float trait.
- min_value
A float 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.0.2/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.