ModelFitting¶
-
class
jdaviz.configs.default.plugins.
ModelFitting
(*args, **kwargs)[source] [edit on github]¶ Bases:
jdaviz.core.template_mixin.TemplateMixin
Public constructor
Attributes Summary
An instance of a Python list.
An instance of a Python list.
An instance of a Python list.
A boolean (True, False) trait.
A boolean (True, False) trait.
A boolean (True, False) trait.
A trait for unicode strings.
A trait for unicode strings.
A trait for unicode strings.
An int trait.
A boolean (True, False) trait.
A trait for unicode strings.
A trait for unicode strings.
A trait for unicode strings.
Methods Summary
vue_add_model
(event)Add the selected model and input string ID to the list of models
vue_data_selected
(event)Callback method for when the user has selected data from the drop down in the front-end.
vue_equation_changed
(event)vue_fit_model_to_cube
(*args, **kwargs)vue_model_fitting
(*args, **kwargs)Run fitting on the initialized models, fixing any parameters marked as such by the user, then update the displayed parameters with fit values
vue_model_selected
(event)vue_register_spectrum
(event)Add a spectrum to the data collection based on the currently displayed parameters (these could be user input or fit values).
vue_remove_model
(event)vue_save_model
(event)Attributes Documentation
-
available_models
¶ An instance of a Python list.
-
component_models
¶ An instance of a Python list.
-
dc_items
¶ An instance of a Python list.
-
dialog
¶ A boolean (True, False) trait.
-
display_order
¶ A boolean (True, False) trait.
-
eq_error
¶ A boolean (True, False) trait.
-
model_equation
¶ A trait for unicode strings.
-
model_label
¶ A trait for unicode strings.
-
model_save_path
¶ A trait for unicode strings.
-
poly_order
¶ An int trait.
-
save_enabled
¶ A boolean (True, False) trait.
-
temp_model
¶ A trait for unicode strings.
-
temp_name
¶ A trait for unicode strings.
-
template
¶ A trait for unicode strings.
Methods Documentation
-
vue_add_model
(event)[source] [edit on github]¶ Add the selected model and input string ID to the list of models
-
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.
-
vue_equation_changed
(event)[source] [edit on github]¶
-
vue_fit_model_to_cube
(*args, **kwargs)[source] [edit on github]¶
-
vue_model_fitting
(*args, **kwargs)[source] [edit on github]¶ Run fitting on the initialized models, fixing any parameters marked as such by the user, then update the displayed parameters with fit values
-
vue_model_selected
(event)[source] [edit on github]¶
-
vue_register_spectrum
(event)[source] [edit on github]¶ Add a spectrum to the data collection based on the currently displayed parameters (these could be user input or fit values).
-
vue_remove_model
(event)[source] [edit on github]¶
-
vue_save_model
(event)[source] [edit on github]¶
-