View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

question about the Client Display Library (CDL)

giseliramos wrote on Nov 01, 2007

Hi here,

I'm a new user of CDL and would like to know if is possible to use CDL to show three-dimensional FITS images? I see that in the manual reference, for IRAF image format, it is possible, but don't found any reference to the possibility to show 3D images for the FITS format.

Many thanks in advance,
--
Giseli Ramos
Departamento de Astronomia
IAG/USP

http://www.astro.iag.usp.br/~giseli
Post generated using Mail2Forum (http://www.mail2forum.com)

Mike Fitzpatrick wrote on Nov 01, 2007

Using the high-level routines you can only display simple 2-D FITS images easily, however for 3-D images you would use something like CFITSIO to read each band of the image and then use e.g. the cdl_displayPix() procedure to display it. This way, it is possible to loop through the bands of a 3-D image. In IRAF, the IMSLICE task can split a 3-D cube into a series of 2-D images.

Cheers,
-Mike

Last post on Nov 01, 2007