get_coord

sherpa.astro.ui.get_coord(id: IdType | None = None) str

Get the coordinate system used for image analysis.

Parameters:
idint, str, or None, optional

The data set to query. If not given then the default identifier is used, as returned by get_default_id.

Returns:
coord{ ‘logical’, ‘physical’, ‘world’ }
Raises:
sherpa.utils.err.ArgumentErr

If the data set does not contain image data.

sherpa.utils.err.IdentifierErr

If the id argument is not recognized.

See also

get_default_id

Return the default data set identifier.

set_coord

Set the coordinate system to use for image analysis.