get_model_autoassign_func
- sherpa.astro.ui.get_model_autoassign_func() Callable[[str, Model], None]
Return the method used to create model component identifiers.
Provides access to the function which is used by
create_model_component
and when creating model components directly to add an identifier in the current Python namespace.- Returns:
The model function set by
set_model_autoassign_func
.- Return type:
func
See also
create_model_component
Create a model component.
set_model
Set the source model expression for a data set.
set_model_autoassign_func
Set the method used to create model component identifiers.