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/FITSreader.h

    r1399 r1452  
    2727//#                        AUSTRALIA
    2828//#
    29 //# $Id: FITSreader.h,v 19.6 2007/11/12 03:37:56 cal103 Exp $
     29//# $Id: FITSreader.h,v 19.9 2008-11-17 06:28:04 cal103 Exp $
    3030//#---------------------------------------------------------------------------
    3131//# The FITSreader class is an abstract base class for the Parkes Multibeam
     
    3838#define ATNF_FITSREADER_H
    3939
    40 #include <atnf/PKSIO/PKSMBrecord.h>
     40#include <atnf/PKSIO/MBrecord.h>
     41#include <atnf/PKSIO/PKSmsg.h>
     42
     43using namespace std;
    4144
    4245// <summary>
     
    4447// </summary>
    4548
    46 class FITSreader
     49class FITSreader : public PKSmsg
    4750{
    4851  public:
     
    9194    // Set data selection criteria.  Channel numbering is 1-relative, zero or
    9295    // negative channel numbers are taken to be offsets from the last channel.
     96    // Coordinate systems are
     97    //   0: equatorial (RA,Dec),
     98    //   1: vertical (Az,El),
     99    //   2: feed-plane.
    93100    int select(
    94101        const int startChan[],
     
    96103        const int refChan[],
    97104        const int getSpectra = 1,
    98         const int getXPol = 0,
    99         const int getFeedPos = 0);
     105        const int getXPol  = 0,
     106        const int coordSys = 0);
    100107
    101108    // Find the range in time and position of the data selected.
     
    109116    // Read the next data record.
    110117    virtual int read(
    111         PKSMBrecord &record) = 0;
     118        MBrecord &record) = 0;
    112119
    113120    // Close the RPFITS file.
     
    115122
    116123  protected:
    117     int    *cBeams, *cEndChan, cGetFeedPos, cGetSpectra, cGetXPol, cHaveBase,
    118            cHaveSpectra, *cHaveXPol, *cIFs, cNBeam, *cNChan, cNIF, *cNPol,
    119            *cRefChan, *cStartChan;
     124    int  *cBeams, *cEndChan, cCoordSys, cGetSpectra, cGetXPol, cHaveBase,
     125         cHaveSpectra, *cHaveXPol, *cIFs, cNBeam, *cNChan, cNIF, *cNPol,
     126         *cRefChan, *cStartChan;
     127
     128    // For use in constructing messages.
     129    char cMsg[256];
    120130};
    121131
Note: See TracChangeset for help on using the changeset viewer.