LineAnalysis

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

Bases: jdaviz.core.template_mixin.TemplateMixin

Public constructor

Attributes Summary

available_functions

An instance of a Python list.

dc_items

An instance of a Python list.

dialog

A boolean (True, False) trait.

result_available

A boolean (True, False) trait.

results

An instance of a Python list.

temp_function

A trait for unicode strings.

template_file

Methods Summary

vue_data_selected(event)

Callback method for when the user has selected data from the drop down in the front-end.

Attributes Documentation

available_functions

An instance of a Python list.

dc_items

An instance of a Python list.

dialog

A boolean (True, False) trait.

result_available

A boolean (True, False) trait.

results

An instance of a Python list.

temp_function

A trait for unicode strings.

template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/v2.1.0/lib/python3.8/site-packages/jdaviz/configs/specviz/plugins/line_analysis/line_analysis.py', 'line_analysis.vue')

Methods Documentation

vue_data_selected(event)[source] [edit on github]

Callback method for when the user has selected data from the drop down in the front-end. It is here that we actually parse and create a new data object from the selected data. From this data object, unit information is scraped, and the selected spectrum is stored for later use in fitting.

Parameters
eventstr

IPyWidget callback event object. In this case, represents the data label of the data collection object selected by the user.