SpecvizProfileView

class jdaviz.configs.specviz.plugins.viewers.SpecvizProfileView(*args, **kwargs)[source] [edit on github]

Bases: BqplotProfileView, JdavizViewerMixin

Attributes Summary

inherit_tools

redshift

spectral_lines

tools

tools_nested

Methods Summary

add_data(data[, color, alpha])

Overrides the base class to add markers for plotting uncertainties and data quality flags.

available_linelists()

clean()

data([cls])

erase_spectral_lines([name, name_rest, ...])

Erase either all spectral lines, all spectral lines sharing the same name (e.g.

get_scales()

load_line_list(line_table[, replace, ...])

plot_spectral_line(line[, plot_units])

plot_spectral_lines([colors])

Plots a user-provided astropy table of spectral lines in the viewer.

set_plot_axes()

show_mask()

Attributes Documentation

inherit_tools = False
redshift
spectral_lines = None
tools = ['jdaviz:homezoom', 'jdaviz:boxzoom', 'jdaviz:xrangezoom', 'jdaviz:panzoom', 'jdaviz:panzoom_x', 'jdaviz:panzoom_y', 'bqplot:xrange', 'jdaviz:selectline']
tools_nested = [['jdaviz:homezoom', 'jdaviz:prevzoom'], ['jdaviz:boxzoom', 'jdaviz:xrangezoom'], ['jdaviz:panzoom', 'jdaviz:panzoom_x', 'jdaviz:panzoom_y'], ['bqplot:xrange'], ['jdaviz:selectline'], ['jdaviz:sidebar_plot', 'jdaviz:sidebar_export']]

Methods Documentation

add_data(data, color=None, alpha=None, **layer_state)[source] [edit on github]

Overrides the base class to add markers for plotting uncertainties and data quality flags.

Parameters
spectrumglue.core.data.Data

Data object with the spectrum.

colorobj

Color value for plotting.

alphafloat

Alpha value for plotting.

Returns
resultbool

True if successful, False otherwise.

available_linelists()[source] [edit on github]
clean()[source] [edit on github]
data(cls=None)[source] [edit on github]
erase_spectral_lines(name=None, name_rest=None, show_none=True)[source] [edit on github]

Erase either all spectral lines, all spectral lines sharing the same name (e.g. ‘He II’) or a specific name-rest value combination (e.g. ‘HE II 1640.5’, stored in SpectralLine as ‘table_index’).

get_scales()[source] [edit on github]
load_line_list(line_table, replace=False, return_table=False, show=True)[source] [edit on github]
plot_spectral_line(line, plot_units=None, **kwargs)[source] [edit on github]
plot_spectral_lines(colors=['blue'], **kwargs)[source] [edit on github]

Plots a user-provided astropy table of spectral lines in the viewer.

set_plot_axes()[source] [edit on github]
show_mask()[source] [edit on github]