Changeset 1446 for branches/alma/src/Scantable.h
- Timestamp:
- 11/12/08 17:04:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/Scantable.h
r1400 r1446 22 22 #include <casa/Utilities/CountedPtr.h> 23 23 24 #include <casa/Exceptions/Error.h> 25 24 26 #include <coordinates/Coordinates/SpectralCoordinate.h> 25 27 … … 29 31 30 32 #include <measures/TableMeasures/ScalarMeasColumn.h> 33 34 #include <casa/Arrays/Vector.h> 35 #include <casa/Quanta/Quantum.h> 31 36 32 37 #include "Logger.h" … … 167 172 168 173 /** 169 * get the direction type as a string, e.g. "J2000"174 * get the direction as a string 170 175 * @param[in] whichrow the row number 171 176 * return the direction string … … 277 282 std::vector<uint> getScanNos() { return getNumbers(scanCol_); } 278 283 int getScan(int whichrow) const { return scanCol_(whichrow); } 284 285 //TT addition 286 std::vector<uint> getMolNos() {return getNumbers(mmolidCol_); } 279 287 280 288 /** … … 352 360 std::vector<double> getRestFrequencies() const 353 361 { return moleculeTable_.getRestFrequencies(); } 354 362 std::vector<double> getRestFrequency(int id) const 363 { return moleculeTable_.getRestFrequency(id); } 364 365 /** 355 366 void setRestFrequencies(double rf, const std::string& name = "", 356 367 const std::string& = "Hz"); 357 void setRestFrequencies(const std::string& name); 368 **/ 369 // Modified by Takeshi Nakazato 05/09/2008 370 /*** 371 void setRestFrequencies(vector<double> rf, const vector<std::string>& name = "", 372 const std::string& = "Hz"); 373 ***/ 374 void setRestFrequencies(vector<double> rf, 375 const vector<std::string>& name = vector<std::string>(1,""), 376 const std::string& = "Hz"); 377 378 //void setRestFrequencies(const std::string& name); 379 void setRestFrequencies(const vector<std::string>& name); 358 380 359 381 void shift(int npix); … … 393 415 * against the information found in GBT_GO table for 394 416 * scan number orders to get correct pairs. 395 * @param[in] scan list 396 * @return status 417 * @param[in] scan list 418 * @return status 397 419 */ 398 420 int checkScanInfo(const std::vector<int>& scanlist) const; 399 421 400 422 /** 401 * Get the direction as a vector, for a specific row 423 * Get the direction as a vector, for a specific row 402 424 * @param[in] whichrow the row numbyyer 403 * @return the direction in a vector 425 * @return the direction in a vector 404 426 */ 405 427 std::vector<double> getDirectionVector(int whichrow) const; 406 428 429 /** 430 * Reshape spectrum 431 * @param[in] nmin, nmax minimum and maximum channel 432 * @param[in] irow row number 433 * 434 * 30/07/2008 Takeshi Nakazato 435 **/ 436 void reshapeSpectrum( int nmin, int nmax ) throw( casa::AipsError ); 437 void reshapeSpectrum( int nmin, int nmax, int irow ) ; 438 439 /** 440 * Change channel number under fixed bandwidth 441 * @param[in] nchan, dnu new channel number and spectral resolution 442 * @param[in] irow row number 443 * 444 * 27/08/2008 Takeshi Nakazato 445 **/ 446 void regridChannel( int nchan, double dnu ) ; 447 void regridChannel( int nchan, double dnu, int irow ) ; 448 407 449 private: 408 450
Note: See TracChangeset
for help on using the changeset viewer.