Chandra X-Ray Observatory (CXC)
Skip to the navigation links
Last modified: December 2012

URL: http://cxc.harvard.edu/chips/apply_contour_transform_inverse.html
Jump to: Description · Example · Bugs · See Also


AHELP for CIAO 4.5 ChIPS v1

apply_contour_transform_inverse

Context: contours

Synopsis

Applies the inverse of a contour's transform to the contour data.

Syntax

apply_contour_transform_inverse([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 apply_contour_transform_inverse command applies the inverse of the tranform, which is already associated with the 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. If that transform has an inverse, calling apply_contour_transform_inverse will apply the inverse of that transform to the contour.

Calling apply_contour_tranform_transform multiple times will apply the inverse of the transform to the data set multiple time.

Example

chips> from pychips.all import *
chips> add_contour('contour.fits','wcs=params')
chips> apply_contour_transform_inverse ()

Creates a contour with the params coordinate system applied. The inverse of the transform is applied.

Bugs

See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

See Also

contours
add_contour, apply_contour_transform, current_contour, delete_contour, display_contour, get_contour, get_contour_transform, hide_contour, set_contour, set_contour_transform, shuffle_contour

Last modified: December 2012
CXC logo

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2012. All rights reserved.