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

URL: http://cxc.harvard.edu/ciao/ahelp/get_transform_type.html
Jump to: Description · Example · Bugs · See Also


AHELP for CIAO 4.9

get_transform_type

Context: transform

Synopsis

Return the flavor of the input Transform object.

Syntax

get_transform_type(transform)

Description

The function arguments.

Argument Description
transform A transform object.

The get_transform_type command returns a string indicating the flavor of the input Transform object. Transform types are 'Transform' (generic), 'WCSTransform', 'WCSTANTransform' (deprecated), 'LINEARTransform', and 'LINEAR2DTransform'.

Example

>>> import pycrates as pyc
>>> import pytransform as pyt
>>> cr = pyc.read_file("img.fits")
>>> trans = cr.get_transform("EQPOS")
>>> print(pyt.get_transform_type(trans))
WCSTransform

Bugs

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

Refer to the CIAO bug pages for an up-to-date listing of known issues.

See Also

transform
apply_transform, copy_transform

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

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