Changeset 896 for trunk/src/Scantable.h
- Timestamp:
- 03/10/06 12:09:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.h
r894 r896 39 39 #include "STSelector.h" 40 40 #include "STHistory.h" 41 42 41 #include "STPol.h" 43 42 44 43 namespace asap { … … 205 204 int npol(int scanno=-1) const; 206 205 206 std::string getPolType() const; 207 207 208 /** 208 209 * Get the number of channels in the data or a specific IF. This currently … … 246 247 247 248 std::vector<bool> getMask(int whichrow) const; 248 std::vector<float> getSpectrum(int whichrow) const; 249 std::vector<float> getSpectrum(int whichrow, 250 const std::string& poltype ="linear") const; 249 251 250 252 void setSpectrum(const std::vector<float>& spec, int whichrow); 251 253 252 std::vector<float> getStokesSpectrum( int whichrow=0,253 bool dopol=false) const;254 254 std::string getPolarizationLabel(bool linear, bool stokes, 255 255 bool linpol, … … 303 303 STHistory& history() { return historyTable_; } 304 304 305 static const std::map<std::string, STPol::STPolFactory *>& getFactories() 306 { return factories_; } 307 305 308 private: 309 310 casa::Matrix<casa::Float> getPolMatrix( casa::uInt whichrow ) const; 311 306 312 /** 307 313 * Turns a time vale into a formatted string … … 395 401 casa::ScalarColumn<casa::uInt> mmolidCol_; 396 402 403 static std::map<std::string, STPol::STPolFactory *> factories_; 404 void initFactories(); 405 397 406 }; 398 407
Note: See TracChangeset
for help on using the changeset viewer.