[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


data_fits Source code in cafe_data_fits.pro

data_fits

Name
           data_fits
Purpose
           Read in data set from fits file (binary/ascii table)
Category
           cafe
SUBCATEGORY:
           data
DATA FORMAT:
           Read the file as an fits file containing the
               data in tables. Images are still not supported.
PARAMETER:
           (optional) parameters are ordered as follows:
             xcol - The column number for the X axis. This may be
                    either the column name or its number.
                    Default is column 1.
             ycol - The column number or name for the Y axis.
                    Default is column 2.
           errcol - The column number or name for the ERROR axis.
                    Default is no error reading. No error is read if the
                    column is set explicitely at "" (i.e. no entry
                    between the comma).
        extension - The extension number. If not given the
                    extension number 1 is used (first extension).
               All parameters are separated with ",". If one
               parameter is not defined (empty string) the default
               column is used.
SETUP:
               All keywords/options may be set with the "set"
               command. The command prefix is "data_fits", the setup
               keyword is as used for parameters above.
Side Effects
           Loads file data into environment.
Example
               > data, rate.fits[time,rate]:3,
               -> loads in data from fits file rate.fits (marked via
               extension fits) to first subgroup in group 3; x column
               is the one named "time".
               > data,event.fits[barytime_1,pif_1,,2]
               -> read in event data (with time in x column) without
                  error and a pif-value in the y column.
Revision History
           $Id: cafe_data_fits.pro,v 1.15 2005/02/17 07:52:25 goehler Exp $

Last modified by pro2html on 2005 February 18 at 04:12 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically