TWiki> Public Web>ExportingDataProducts (revision 3)EditAttach

Exporting data products from HIPE

This page lists examples and recipes for exporting HIPE data (images, spectra, cubes and source lists) to external applications.

Under construction.

IDL

  • Images

IDL> im = mrdfits('/path/image.fits',1)
% Compiled module: FXMOVE.
% Compiled module: MRD_HREAD.
% Compiled module: FXPAR.
% Compiled module: GETTOK.
% Compiled module: VALID_NUM.
% Compiled module: MRD_SKIP.
MRDFITS: Image array (2012,2009)  Type=Real*8
% Compiled module: SWAP_ENDIAN_INPLACE.
IDL> tv,im

  • Spectra

IDL> spec = mrdfits('/path/1342187893_spectrum_point_HR_unapod.fits',2)
% Compiled module: MATCH.
% Compiled module: MRD_STRUCT.
MRDFITS: Binary table.  4 columns by  2061 rows.
IDL> help,spec,/struc
** Structure <15e03af4>, 4 tags, length=28, data length=28, refs=1:
   WAVE            DOUBLE           31.200000
   FLUX            DOUBLE           8.2931329
   ERROR           DOUBLE           3.4131544
   MASK            LONG                 0
IDL> plot,spec.wave,spec.flux

  • Cubes

IDL> cube = mrdfits('/path/1342192180_MR_SLW_unapod_cube.fits',2)
MRDFITS: Image array (16,18,374)  Type=Real*8
IDL> help,cube
CUBE            DOUBLE    = Array[16, 18, 374]
IDL> plot,cube[8,8,*]

CLASS

  • The FITS files produced with the hiClass task in HIPE can be read in CLASS with the following commands


IRAF

DS9

Edit | Attach | Watch | Print version | History: r12 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2011-05-09 - BrunoMerin
 
This site is powered by the TWiki collaboration platform Powered by Perl