Changeset 902 for trunk/src/Scantable.h


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

More work on polarisation. STPol and labelling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.h

    r901 r902  
    6363class Scantable : private Logger
    6464{
     65
     66friend class STMath;
     67
    6568public:
    6669  /**
     
    177180  /**
    178181   * Return a list of row numbers with respect to the original table.
    179    * @return a lsi of rownumbers with respect to the original table
     182   * @return a list of unsigned ints
    180183   */
    181184  std::vector<unsigned int> rownumbers() const;
     
    252255  void setSpectrum(const std::vector<float>& spec, int whichrow);
    253256
    254   std::string getPolarizationLabel(bool linear, bool stokes,
    255                                    bool linpol,
    256                                    int polidx=-1) const;
     257  std::string getPolarizationLabel(int index, const std::string& ptype) const
     258    { return STPol::getPolLabel(index, ptype ); }
    257259
    258260  /**
     
    303305  STHistory& history() { return historyTable_; }
    304306
    305   static const std::map<std::string, STPol::STPolFactory *>& getFactories()
    306     { return factories_; }
     307  std::vector<std::string> columnNames() const;
    307308
    308309private:
Note: See TracChangeset for help on using the changeset viewer.