| AHELP for CIAO 4.5 Sherpa v1 | set_coord |
Context: data |
Synopsis
Set the image coordinate system
Syntax
set_coord( [id], coord=None)
Description
The set_coord command sets the coordinate system of the specified image. Image (logical) coordinates are used by default when reading an image. Functions from the WCS library are used to change the coordinate system to physical or world.
- id - the id of the dataset to use; if not given, uses the default dataset id (id=1 by default, see "ahelp get_default_id")
- coord - the coordinate system to use; allowed values are logical, physical, world, image (same as logical), and wcs (same as world)
Example 1
sherpa> set_coord("wcs")The image coordinate system is set to world coordinates for dataset 1.
Example 2
sherpa> set_coord("srcimg", "physical")The coordinate system for image dataset "srcimg" is set to physical coordinates.
Bugs
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.
See Also
- confidence
- set_conf_opt, set_covar_opt, set_proj_opt
- data
- set_areascal, set_arf, set_backscal, set_bkg, set_counts, set_data, set_exposure, set_grouping, set_quality, set_rmf, set_staterror, set_syserror
- filtering
- set_filter
- methods
- set_iter_method, set_iter_method_opt, set_method, set_method_opt
- modeling
- get_par, set_bkg_model, set_full_model, set_par, set_pileup_model, set_source, set_xsabund, set_xscosmo, set_xsxsect, set_xsxset
- statistics
- set_prior, set_sampler, set_sampler_opt, set_stat
- utilities
- set_analysis, set_default_id
- visualization
- image_setregion

![[Sherpa Logo]](../imgs/sherpa_logo_navbar.gif)