Changeset 902 for trunk/src/STSelector.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/STSelector.h

    r850 r902  
    1717#include <map>
    1818
     19#include <casa/Containers/Block.h>
     20#include <casa/BasicSL/String.h>
    1921#include <tables/Tables/Table.h>
    2022
     
    4042  void setIFs(const std::vector<int>& ifs);
    4143  void setPolarizations(const std::vector<int>& pols);
     44  void setPolFromStrings(const std::vector<std::string>& pols);
    4245  void setCycles(const std::vector<int>& cycs);
    4346  void setName(const std::string&);
    4447  virtual void setTaQL(const std::string& taql);
     48
     49  void setSortOrder(const std::vector<std::string>& order);
    4550
    4651  std::vector<int> getScans();
     
    4954  std::vector<int> getPols();
    5055  std::vector<int> getCycles();
     56  std::vector<std::string> getPolTypes();
    5157
    5258  casa::Table apply(const casa::Table& tab);
     
    6773
    6874private:
     75
     76  casa::Table sort(const casa::Table& tab);
     77
    6978  typedef std::map<std::string, std::vector<int> > intidmap;
    7079  typedef std::map<std::string, std::vector<std::string> > stringidmap;
     
    7281  mutable intidmap intselections_;
    7382  mutable stringidmap stringselections_;
     83  std::vector<std::string> poltypes_;
     84  casa::Block<casa::String> order_;
    7485  std::string taql_;
    7586};
Note: See TracChangeset for help on using the changeset viewer.