get_analysis

sherpa.astro.ui.get_analysis(id=None)

Return the units used when fitting spectral data.

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.

Returns:

quantity

Return type:

{ ‘channel’, ‘energy’, ‘wavelength’ }

Raises:

See also

get_default_id()
Return the default data set identifier.
set_analysis()
Change the analysis setting.