| AHELP for CIAO 4.5 ChIPS v1 | get_contour_transform |
Context: contours |
Synopsis
Retrieves a transform associated with a contour
Syntax
get_contour_transform([id])
Description
- id - an optional ChipsId structure containing values to modify the currency state for the command, or a string to specify the id of the contour to operate on.
The get_contour_transform command retrieves a tranform that is associated with a contour. This command is part of the advanced ChIPS module; refer to "ahelp chips" for information. To load the module:
from pychips.advanced import *
Transforms are originally applied to contours either when the contour is created or after the set_contour_transform ("ahelp set_contour_transform") function has been called.
The transform returned is a Transform structure ("ahelp transform"). If no transform is associated with a contour then the value None is returned.
Example
chips> from pychips.all import *
chips> add_contour('contour.fits','wcs=params')
chips> t = get_contour_transform ()Creates a contour with the params coordinate system applied. Retrieves the transform associated with that contour.
Bugs
See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

![[ChIPS Logo]](../imgs/chips_logo_navbar.gif)