list_data_ids
- sherpa.ui.list_data_ids() list[IdType]
List the identifiers for the loaded data sets.
- Returns:
ids – A list of the data set identifiers that have been created by commands like
load_dataandload_arrays.- Return type:
See also
delete_dataDelete a data set by identifier.
load_arraysCreate a data set from arrays of data.
load_dataCreate a data set from a file.
Examples
In this case only one data set has been loaded:
>>> list_data_ids() [1]
Two data sets have been loaded, using string identifiers:
>>> list_data_ids() ['nucleus', 'jet']