Changeset 865 for trunk/src/Scantable.h


Ignore:
Timestamp:
03/06/06 10:39:18 (18 years ago)
Author:
mar637
Message:

added getAbcissa and several inline get functions. Full support of Table::Plain now (Ger modifications incasa::Table)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.h

    r860 r865  
    227227  int getIF(int whichrow) const;
    228228  int getPol(int whichrow) const;
     229  int getCycle(int whichrow) const { return cycleCol_(whichrow); }
     230  int getScan(int whichrow) const { return scanCol_(whichrow); }
    229231
    230232  double getInterval(int whichrow) const
    231233    { return integrCol_(whichrow); }
    232234
    233   float getTsys(int whichrow) const;
     235  float getTsys(int whichrow) const
     236    { return casa::Vector<casa::Float>(tsysCol_(whichrow))(0); }
    234237  float getElevation(int whichrow) const
    235238    { return elCol_(whichrow); }
    236239  float getAzimuth(int whichrow) const
    237240    { return azCol_(whichrow); }
    238   float getParangle(int whichrow) const
     241  float getParAngle(int whichrow) const
    239242    { return paraCol_(whichrow); }
     243
     244  std::string getSourceName(int whichrow) const
     245    { return srcnCol_(whichrow); }
    240246
    241247  std::vector<bool> getMask(int whichrow) const;
     
    277283  void setCoordInfo(std::vector<string> theinfo)
    278284    { return freqTable_.setInfo(theinfo); };
     285
     286
     287  std::vector<double> getAbcissa(int whichrow) const;
    279288
    280289  std::string getAbcissaLabel(int whichrow) const;
     
    329338
    330339  void attachSubtables();
     340  void copySubtables(const Scantable& other);
     341
    331342  /**
    332343   * Convert an "old" asap1 style row index into a new index
     
    365376  casa::ScalarColumn<casa::uInt> scanCol_, beamCol_, ifCol_, polCol_, cycleCol_;
    366377  casa::ScalarColumn<casa::Int> rbeamCol_;
    367   casa::ArrayColumn<casa::Float> specCol_, tsCol_;
     378  casa::ArrayColumn<casa::Float> specCol_, tsysCol_;
    368379  casa::ArrayColumn<casa::uChar> flagsCol_;
    369380
Note: See TracChangeset for help on using the changeset viewer.