list_response_ids¶
-
sherpa.astro.ui.
list_response_ids
(id=None, bkg_id=None)¶ List all the response identifiers of a data set.
A PHA data set can contain multiple responses, that is, pairs of ARF and RMF, each of which has an identifier. This function returns a list of these identifiers for a data set.
Parameters: - id (int or str, optional) – The data set to query. If not given then the default identifier is used, as returned by get_default_id.
- bkg_id (int or str, optional) – Set this to identify the background component to query.
Returns: ids – The identifiers for the response information for the data set. In many cases this will just be
[1]
.Return type: array of int or str
See also
list_bkg_ids()
- List all the background identifiers for a data set.
load_arf()
- Load an ARF from a file and add it to a PHA data set.
load_rmf()
- Load a RMF from a file and add it to a PHA data set.