SpecvizProfileView
- class jdaviz.configs.specviz.plugins.viewers.SpecvizProfileView(*args, **kwargs)[source] [edit on github]
Bases:
JdavizViewerMixin
,BqplotProfileView
Attributes Summary
Methods Summary
add_data
(data[, color, alpha])Overrides the base class to add markers for plotting uncertainties and data quality flags.
clean
()data
([cls])erase_spectral_lines
([name, name_rest, ...])Erase either all spectral lines, all spectral lines sharing the same name (e.g.
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.
Attributes Documentation
- redshift
- spectral_lines = None
- 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
- spectrum
glue.core.data.Data
Data object with the spectrum.
- colorobj
Color value for plotting.
- alphafloat
Alpha value for plotting.
- spectrum
- Returns
- 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]