23.04.2015 Views

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 18<br />

Export of CIA data structures<br />

Many CIA users probably also use non-IDL based analysis packages, such as IRAF 1 .Themost<br />

convenient way to share data with such external packages is by using the FITS format. Due to<br />

the inability of many external packages to handle extended FITS files we need to use both nonextended<br />

and extended FITS. It is impossible to export all data from a CIA structure without<br />

using FITS extensions, so for archiving purposes FITS extensions are unavoidable. With these<br />

problems in mind two kinds of export have been developed: (i) export for external analysis using<br />

non-extended FITS and (ii) export for archiving using FITS extensions. A small exception to<br />

this rule has been made with the routine conv cvf2isap.<br />

18.1 Export to the spectral analysis package ISAP<br />

conv cvf2isap allows export of <strong><strong>ISO</strong>CAM</strong> CVF data to the spectral analysis package ISAP:<br />

CIA> conv_cvf2isap, cvf_pds, ’cvf_isap.fits’<br />

As you may guess bf conv cvf2isap accepts a CVF PDS as input. As output it writes a<br />

FITS file with extensions that can be understood by ISAP. The keyword option /pix accepts<br />

a two element integer array specifying an <strong><strong>ISO</strong>CAM</strong> pixel and a spectrum is extracted a this<br />

pixel position. bf conv cvf2isap also works with <strong><strong>ISO</strong>CAM</strong> CVF AAR products – in this case it<br />

accepts the name of a CMAP file as input.<br />

18.2 Export to external packages<br />

This section describes CIA routines for export of data, to non-extended FITS files, for analysis<br />

by external packages.<br />

raster2fits writes the raster PDS fields .RASTER, .RMSRASTER and .NPIXRASTER to a<br />

FITS primary array.<br />

CIA> raster2fits, raster_pds, name=’raster.fits’<br />

The keyword option /iraf will make the FITS file compatible with the IRAF preferred CD<br />

matrix format of CDx y, instead of CD00x00y, and only .RASTER will be written to the<br />

1 It appears that MIDAS has a problem reading CIA generated FITS files – see Section 2.4.<br />

205

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!