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

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