Changeset 1111 for trunk/src/Scantable.h
- Timestamp:
- 08/04/06 12:06:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.h
r1104 r1111 250 250 std::string getPolType() const; 251 251 252 253 /** 254 * Get the number of integartion cycles 255 * @param scanno the scan number to get the number of rows for. 256 * If scanno<0 the number is retrieved from the header. 257 * @return the number of rows (for the specified scanno) 258 */ 259 int nrow(int scanno=-1) const; 260 261 int getBeam(int whichrow) const; 262 std::vector<uint> getBeamNos() { return getNumbers(beamCol_); } 263 264 int getIF(int whichrow) const; 265 std::vector<uint> getIFNos() { return getNumbers(ifCol_); } 266 267 int getPol(int whichrow) const; 268 std::vector<uint> getPolNos() { return getNumbers(polCol_); } 269 270 std::vector<uint> getScanNos() { return getNumbers(scanCol_); } 271 int getScan(int whichrow) const { return scanCol_(whichrow); } 272 252 273 /** 253 274 * Get the number of channels in the data or a specific IF. This currently … … 258 279 */ 259 280 int nchan(int ifno=-1) const; 260 261 /** 262 * Get the number of integartion cycles 263 * @param scanno the scan number to get the number of rows for. 264 * If scanno<0 the number is retrieved from the header. 265 * @return the number of rows (for the specified scanno) 266 */ 267 int nrow(int scanno=-1) const; 281 int getChannels(int whichrow) const; 268 282 269 283 int ncycle(int scanno=-1) const; 270 271 int getBeam(int whichrow) const;272 int getIF(int whichrow) const;273 int getPol(int whichrow) const;274 284 int getCycle(int whichrow) const { return cycleCol_(whichrow); } 275 int getScan(int whichrow) const { return scanCol_(whichrow); }276 int getChannels(int whichrow) const;277 285 278 286 double getInterval(int whichrow) const … … 402 410 */ 403 411 int rowToScanIndex(int therow); 412 413 std::vector<uint> getNumbers(casa::ScalarColumn<casa::uInt>& col); 404 414 405 415 static const casa::uInt version_ = 2;
Note: See TracChangeset
for help on using the changeset viewer.