Cubeviz

class jdaviz.configs.cubeviz.helper.Cubeviz(*args, **kwargs)[source] [edit on github]

Bases: ConfigHelper, LineListMixin

Cubeviz Helper class

Attributes Summary

specviz

A specviz helper (Specviz) for the Jdaviz application that is wrapped by cubeviz

Methods Summary

select_slice(slice)

Select a slice by index.

select_wavelength(wavelength)

Select the slice closest to the provided wavelength.

Attributes Documentation

specviz

A specviz helper (Specviz) for the Jdaviz application that is wrapped by cubeviz

Methods Documentation

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.