Changeset 847 for trunk/src/Scantable.h
- Timestamp:
- 02/24/06 10:03:21 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.h
r845 r847 217 217 int ncycle(int scanno=-1) const; 218 218 219 double getInterval(int scanno=0) const; 220 221 float getTsys(int scanno=0) const; 222 223 std::vector<bool> getMask(int whichrow=0) const; 224 std::vector<float> getSpectrum(int whichrow=0) const; 219 int getBeam(int whichrow) const; 220 int getIF(int whichrow) const; 221 int getPol(int whichrow) const; 222 223 double getInterval(int whichrow) const 224 { return integrCol_(whichrow); } 225 226 float getTsys(int whichrow) const; 227 float getElevation(int whichrow) const 228 { return elCol_(whichrow); } 229 float getAzimuth(int whichrow) const 230 { return azCol_(whichrow); } 231 float getParangle(int whichrow) const 232 { return paraCol_(whichrow); } 233 234 std::vector<bool> getMask(int whichrow) const; 235 std::vector<float> getSpectrum(int whichrow) const; 225 236 226 237 std::vector<float> getStokesSpectrum( int whichrow=0, … … 245 256 std::string getTime(int whichrow=-1, bool showdate=true) const; 246 257 258 // returns unit, conversion frame, doppler, base-frame 259 260 /** 261 * Get the frequency set up 262 * This is forwarded to the STFrequencies subtable 263 * @return unit, frame, doppler 264 */ 265 std::vector<std::string> getCoordInfo() const 266 { return freqTable_.getInfo(); }; 267 268 void setCoordInfo(std::vector<string> theinfo) 269 { return freqTable_.setInfo(theinfo); }; 270 271 std::string getAbcissaLabel(int whichrow) const; 272 std::vector<double> getRestFrequencies() const 273 { return moleculeTable_.getRestFrequencies(); } 274 275 void setRestFrequencies(double rf, const std::string& = "Hz"); 276 void setRestFrequencies(const std::string& name); 247 277 248 278 STFrequencies& frequencies() { return freqTable_; } … … 316 346 317 347 // Cached Columns to avoid reconstructing them for each row get/put 318 casa::ScalarColumn<casa::Double> timeCol_,integrCol_;348 casa::ScalarColumn<casa::Double> integrCol_; 319 349 casa::MDirection::ScalarColumn dirCol_; 350 casa::MEpoch::ScalarColumn timeCol_; 320 351 casa::ScalarColumn<casa::Double> azCol_; 321 352 casa::ScalarColumn<casa::Double> elCol_; 322 353 casa::ScalarColumn<casa::Float> paraCol_; 323 354 casa::ScalarColumn<casa::String> srcnCol_, fldnCol_; 324 casa::ScalarColumn<casa::uInt> scanCol_, beamCol_, cycleCol_;355 casa::ScalarColumn<casa::uInt> scanCol_, beamCol_, ifCol_, polCol_, cycleCol_; 325 356 casa::ScalarColumn<casa::Int> rbeamCol_; 326 357 casa::ArrayColumn<casa::Float> specCol_, tsCol_;
Note: See TracChangeset
for help on using the changeset viewer.