SpectralLine#

class jdaviz.core.marks.SpectralLine(**kwargs: Any)[source]#

Bases: BaseSpectrumVerticalLine

Subclass on bqplot Lines, mostly so that we can erase spectral lines by eliminating any SpectralLines objects from a figures marks list. Also lets us do wavelength redshifting here on mark creation.

Public constructor

Attributes Summary

identify

name_rest

obs_value

redshift

rest_value

Methods Summary

set_x_unit([unit])

Attributes Documentation

identify#
name_rest#
obs_value#
redshift#
rest_value#

Methods Documentation

set_x_unit(unit=None)[source]#