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

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


AHELP for CIAO 4.5

get_transform_type

Context: transform

Synopsis

Return the flavor of the input Transform object.

Syntax

get_transform_type(transform)

Description

  • transform - input Transform object

The get_transform_type command returns a string indicating the flavor of the input Transform object. Transform types are 'Transform' (generic), 'WCSTANTransform', 'LINEASRTransform', and 'LINEAR2DTransform'. If the transform type is unknown, 'None' is returned.

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))
WCSTANTransform

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 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.