| AHELP for CIAO 4.2 | get_axis_transform |
Context: sl.crates |
Synopsis
Return the axis transform from an IMAGECrate.
Syntax
get_axis_transform(crate, category);
Description
- crate - input IMAGECrate
- category - axis transform type
The get_axis_transform command extracts the 'default' axis transform of the given category from the input crate. Allowed category values are WORLD, PHYSICAL, and LOGICAL; the values are not case-sensitive.
Example
slsh> cr = read_file("image.fits");
slsh> print_axis_names(cr);
sky(x,y)
EQPOS(RA,DEC)
slsh> trans = get_axis_transform(cr, "WORLD");
slsh> get_transform_type(trans);
WCSTANTransformThe WORLD transform - in this case, "EQPOS" - is retrieved from the image. The get_transform_type command is used to confirm its type.
Bugs
See the bug pages on the CIAO website for an up-to-date listing of known bugs.
See Also
- sl.crates
- get_col, get_col_names, get_colvals, get_crate_item_type, get_crate_type, get_key, get_key_names, get_keyval, get_number_cols, get_number_rows, get_piximg, get_piximg_shape, get_piximgvals, get_transform, get_transform_matrix
- sl.transform
- apply_transform, copy_transform, get_transform_type
![[CIAO Logo]](../imgs/ciao_logo_navbar.gif)