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_componentand 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_componentCreate a model component.
set_modelSet the source model expression for a data set.
set_model_autoassign_funcSet the method used to create model component identifiers.