ModelFitting
- class jdaviz.configs.default.plugins.model_fitting.model_fitting.ModelFitting(*args, **kwargs)[source] [edit on github]
Bases:
PluginTemplateMixin
,DatasetSelectMixin
,SpectralSubsetSelectMixin
,AddResultsMixin
Public constructor
Attributes Summary
An instance of a Python list.
A trait for unicode strings.
A boolean (True, False) trait.
A trait for unicode strings.
A trait for unicode strings.
A trait for unicode strings.
An instance of a Python list.
A boolean (True, False) trait.
A boolean (True, False) trait.
A boolean (True, False) trait.
A boolean (True, False) trait.
A boolean (True, False) trait.
A trait for unicode strings.
A boolean (True, False) trait.
A trait for unicode strings.
A trait for unicode strings.
Mixin to handle empty integer field.
An instance of a Python list.
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_apply
(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_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)Attributes Documentation
- available_comps
An instance of a Python list.
- comp_label
A trait for unicode strings.
- comp_label_auto
A boolean (True, False) trait.
- comp_label_default
A trait for unicode strings.
- comp_label_invalid_msg
A trait for unicode strings.
- comp_selected
A trait for unicode strings.
- component_models
An instance of a Python list.
- cube_fit
A boolean (True, False) trait.
- dialog
A boolean (True, False) trait.
- display_order
A boolean (True, False) trait.
- eq_error
A boolean (True, False) trait.
- form_valid_model_component
A boolean (True, False) trait.
- model_equation
A trait for unicode strings.
- model_equation_auto
A boolean (True, False) trait.
- model_equation_default
A trait for unicode strings.
- model_equation_invalid_msg
A trait for unicode strings.
- poly_order
Mixin to handle empty integer field.
- spatial_subset_items
An instance of a Python list.
- spatial_subset_selected
A trait for unicode strings.
- template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/v2.8.0/lib/python3.9/site-packages/jdaviz/configs/default/plugins/model_fitting/model_fitting.py', 'model_fitting.vue')
Methods Documentation
- vue_add_model(event={})[source] [edit on github]
Add the selected model and input string ID to the list of models
- vue_apply(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_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]