list_model_ids

sherpa.astro.ui.list_model_ids()

List of all the data sets with a source expression.

Returns:

ids – The identifiers for all the data sets which have a source expression set by set_model or set_source.

Return type:

list of int or str

See also

list_data_ids

List the identifiers for the loaded data sets.

list_model_components

List the names of all the model components.

list_psf_ids

List of all the data sets with a PSF.

set_model

Set the source model expression for a data set.