Ignore:
Timestamp:
11/19/08 20:41:16 (16 years ago)
Author:
Malte Marquarding
Message:

update from livedata CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external/atnf/PKSIO/SDFITSreader.h

    r1399 r1452  
    22//# SDFITSreader.h: ATNF CFITSIO interface class for SDFITS input.
    33//#---------------------------------------------------------------------------
    4 //# Copyright (C) 2000-2007
     4//# Copyright (C) 2000-2008
    55//# Associated Universities, Inc. Washington DC, USA.
    66//#
     
    2626//#                        Charlottesville, VA 22903-2475 USA
    2727//#
    28 //# $Id: SDFITSreader.h,v 19.13 2007/11/12 03:37:56 cal103 Exp $
     28//# $Id: SDFITSreader.h,v 19.16 2008-11-17 06:47:05 cal103 Exp $
    2929//#---------------------------------------------------------------------------
    3030//# The SDFITSreader class reads single dish FITS files such as those written
     
    3838
    3939#include <atnf/PKSIO/FITSreader.h>
    40 #include <atnf/PKSIO/PKSMBrecord.h>
     40#include <atnf/PKSIO/MBrecord.h>
    4141
    4242#include <fitsio.h>
     43
     44using namespace std;
    4345
    4446// <summary>
     
    100102
    101103    // Read the next data record.
    102     virtual int read(PKSMBrecord &record);
    103 
    104     // Print out CFITSIO error messages.
    105     void reportError(void);
     104    virtual int read(MBrecord &record);
    106105
    107106    // Close the SDFITS file.
     
    125124          HUMIDITY, WINDSPEE, WINDDIRE, NDATA};
    126125
     126    // Message handling.
     127    virtual void logMsg(const char *msg = 0x0);
     128
    127129    void findData(int iData, char *name, int type);
    128130    int   readDim(int iData, long iRow, int *naxis, long naxes[]);
     
    132134    void  findCol(char *name, int *colnum);
    133135
    134     // These are for ALFA data, "BDFITS" or "CIMAFITS".
     136    // These are for ALFA data: "BDFITS" or "CIMAFITS".
    135137    int   cALFA, cALFA_BD, cALFA_CIMA, cALFAscan, cScanNo;
    136138    float cALFAcal[8][2], cALFAcalOn[8][2], cALFAcalOff[8][2];
    137     int   alfaCal(short iBeam, short iIF);
     139    int   alfaCal(short iBeam, short iIF, short iPol);
    138140
    139141    // These are for GBT data.
Note: See TracChangeset for help on using the changeset viewer.