Ignore:
Timestamp:
07/29/10 19:13:46 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: No (test merging alma branch)

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s):

Description:


Location:
branches/mergetest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/mergetest

  • branches/mergetest/external/atnf/PKSIO/PKSreader.h

    r1720 r1779  
    3737#define ATNF_PKSREADER_H
    3838
    39 #include <atnf/PKSIO/PKSmsg.h>
    4039#include <atnf/PKSIO/PKSrecord.h>
     40#include <atnf/PKSIO/SrcType.h>
    4141
    4242#include <casa/aips.h>
    4343#include <casa/Arrays/Matrix.h>
    4444#include <casa/Arrays/Vector.h>
     45#include <casa/BasicSL/Complex.h>
    4546#include <casa/BasicSL/String.h>
    4647
     
    7071class PKSreader* getPKSreader(
    7172        const String name,
     73        const String antenna,
    7274        const Int retry,
    7375        const Int interpolate,
     
    8486class PKSreader* getPKSreader(
    8587        const String name,
     88        const String antenna,
    8689        const Vector<String> directories,
    8790        const Int retry,
     
    97100        Bool   &haveSpectra);
    98101
    99 class PKSreader : public PKSmsg
     102
     103class PKSreader
    100104{
    101105  public:
     
    106110    virtual Int open(
    107111        const String inName,
     112        const String antenna,
    108113        Vector<Bool> &beams,
    109114        Vector<Bool> &IFs,
     
    148153        const Bool getSpectra = True,
    149154        const Bool getXPol    = False,
     155        const Bool getFeedPos = False,
     156        const Bool getPointing = False,
    150157        const Int  coordSys   = 0) = 0;
     158
    151159
    152160    // Find the range of the data selected in time and position.
     
    157165        Matrix<Double> &positions) = 0;
    158166
    159     // Read the next data record.
     167    // Read the next data record.
     168/**
     169    virtual Int read(
     170        Int             &scanNo,
     171        Int             &cycleNo,
     172        Double          &mjd,
     173        Double          &interval,
     174        String          &fieldName,
     175        String          &srcName,
     176        Vector<Double>  &srcDir,
     177        Vector<Double>  &srcPM,
     178        Double          &srcVel,
     179        String          &obsType,
     180        Int             &IFno,
     181        Double          &refFreq,
     182        Double          &bandwidth,
     183        Double          &freqInc,
     184        Vector<Double>  &restFreq,
     185        Vector<Float>   &tcal,
     186        String          &tcalTime,
     187        Float           &azimuth,
     188        Float           &elevation,
     189        Float           &parAngle,
     190        Float           &focusAxi,
     191        Float           &focusTan,
     192        Float           &focusRot,
     193        Float           &temperature,
     194        Float           &pressure,
     195        Float           &humidity,
     196        Float           &windSpeed,
     197        Float           &windAz,
     198        Int             &refBeam,
     199        Int             &beamNo,
     200        Vector<Double>  &direction,
     201        Vector<Double>  &scanRate,
     202        Vector<Float>   &tsys,
     203        Vector<Float>   &sigma,
     204        Vector<Float>   &calFctr,
     205        Matrix<Float>   &baseLin,
     206        Matrix<Float>   &baseSub,
     207        Matrix<Float>   &spectra,
     208        Matrix<uChar>   &flagged,
     209        Complex         &xCalFctr,
     210        Vector<Complex> &xPol) = 0;
     211**/
     212/**
     213    // Read the next data record, just the basics.
     214    virtual Int read(
     215        Int           &IFno,
     216        Vector<Float> &tsys,
     217        Vector<Float> &calFctr,
     218        Matrix<Float> &baseLin,
     219        Matrix<Float> &baseSub,
     220        Matrix<Float> &spectra,
     221        Matrix<uChar> &flagged) = 0;
     222**/
    160223    virtual Int read(PKSrecord &pksrec) = 0;
    161224
     
    164227
    165228  protected:
    166     Bool  cGetSpectra, cGetXPol;
     229    Bool   cGetFeedPos, cGetSpectra, cGetXPol, cGetPointing;
    167230    Int   cCoordSys;
    168231
Note: See TracChangeset for help on using the changeset viewer.