LineAnalysis#

class jdaviz.configs.specviz.plugins.line_analysis.line_analysis.LineAnalysis(*args, **kwargs)[source]#

Bases: PluginTemplateMixin, DatasetSelectMixin, SpectralSubsetSelectMixin, DatasetSpectralSubsetValidMixin, SpectralContinuumMixin

The Line Analysis plugin returns specutils analysis for a single spectral line. See the Line Analysis Plugin Documentation for more details.

Only the following attributes and methods are available through the public plugin API:

  • show()

  • open_in_tray()

  • close_in_tray()

  • dataset (DatasetSelect): Dataset to use for computing line statistics.

  • spectral_subset (SubsetSelect): Subset to use for the line, or Entire Spectrum.

  • continuum (SubsetSelect): Subset to use for the continuum, or Surrounding to use a region surrounding the subset set in spectral_subset.

  • `continuum_width: Width, relative to the overall line spectral region, to fit the linear continuum (excluding the region containing the line). If 1, will use endpoints within line region only.

  • get_results()

Public constructor

Attributes Summary

dialog

A boolean (True, False) trait.

identified_line

A trait for unicode strings.

line_items

line_menu_items

An instance of a Python list.

results

An instance of a Python list.

results_centroid

A float trait.

results_computing

A boolean (True, False) trait.

selected_line

A trait for unicode strings.

selected_line_redshift

A float trait.

sync_identify

A boolean (True, False) trait.

sync_identify_icon_disabled

A trait for unicode strings.

sync_identify_icon_enabled

A trait for unicode strings.

template_file

user_api

uses_active_status

A boolean (True, False) trait.

width

Methods Summary

get_results()

update_results([results])

vue_line_assign([msg])

Attributes Documentation

dialog#

A boolean (True, False) trait.

identified_line#

A trait for unicode strings.

line_items#
line_menu_items#

An instance of a Python list.

results#

An instance of a Python list.

results_centroid#

A float trait.

results_computing#

A boolean (True, False) trait.

selected_line#

A trait for unicode strings.

selected_line_redshift#

A float trait.

sync_identify#

A boolean (True, False) trait.

sync_identify_icon_disabled#

A trait for unicode strings.

sync_identify_icon_enabled#

A trait for unicode strings.

template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/latest/lib/python3.11/site-packages/jdaviz/configs/specviz/plugins/line_analysis/line_analysis.py', 'line_analysis.vue')#
user_api#
uses_active_status#

A boolean (True, False) trait.

width#

Methods Documentation

get_results()[source]#
update_results(results=None)[source]#
vue_line_assign(msg=None)[source]#