Cubeviz
- class jdaviz.configs.cubeviz.helper.Cubeviz(*args, **kwargs)[source] [edit on github]
Bases:
ConfigHelper
,LineListMixin
Cubeviz Helper class
Attributes Summary
A specviz helper (
Specviz
) for the Jdaviz application that is wrapped by cubevizMethods Summary
load_data
(data, **kwargs)Load and parse a data cube with Cubeviz.
select_slice
(slice)Select a slice by index.
select_wavelength
(wavelength)Select the slice closest to the provided wavelength.
Attributes Documentation
Methods Documentation
- load_data(data, **kwargs)[source] [edit on github]
Load and parse a data cube with Cubeviz. (Note that only one cube may be loaded per Cubeviz instance.)
- Parameters
- datastr or
HDUList
A string file path or astropy FITS object pointing to the data cube.
- datastr or
- select_slice(slice)[source] [edit on github]
Select a slice by index.
- Parameters
- sliceint
Slice integer to select
- select_wavelength(wavelength)[source] [edit on github]
Select the slice closest to the provided wavelength.
- Parameters
- wavelengthfloat
Wavelength to select in units of the x-axis of the spectrum. The nearest slice will be selected.