Changeset 2244 for trunk/src/Scantable.cpp
- Timestamp:
- 07/22/11 16:03:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r2193 r2244 672 672 // take the first SCANNO,POLNO,BEAMNO,CYCLENO as nbeam shouldn't 673 673 // vary with these 674 Table t = table_(table_.col("IFNO") == ifno );674 Table t = table_(table_.col("IFNO") == ifno, 1); 675 675 if ( t.nrow() == 0 ) return 0; 676 676 ROArrayColumn<Float> v(t, "SPECTRA"); … … 1018 1018 oss << setw(15) << "Rest Freqs:"; 1019 1019 for (int i=0; i<nid; i++) { 1020 Table t = table_(table_.col("MOLECULE_ID") == i);1020 Table t = table_(table_.col("MOLECULE_ID") == i, 1); 1021 1021 if (t.nrow() > 0) { 1022 1022 Vector<Double> vec(moleculeTable_.getRestFrequency(i));
Note: See TracChangeset
for help on using the changeset viewer.