get_coord
- sherpa.astro.ui.get_coord(id=None)
Get the coordinate system used for image analysis.
- 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
coord
- Return type
{ ‘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.