Changeset 2201
- Timestamp:
- 06/24/11 11:40:08 (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/atnf/PKSIO/NRODataset.cc
r2198 r2201 728 728 // } 729 729 // } 730 if ( arryt[0] == ' A' || arryt[0] == 'W' || arryt[0] == 'U' || arryt[0] == 'H' )730 if ( arryt[0] == 'W' || arryt[0] == 'U' || arryt[0] == 'H' ) 731 731 isAOS = true ; 732 732 -
trunk/external-alma/atnf/PKSIO/NROReader.cc
r2200 r2201 521 521 uInt &scanno, 522 522 uInt &cycleno, 523 uInt &ifno, 523 524 uInt &beamno, 524 525 uInt &polno, … … 564 565 //cout << "cycleno = " << cycleno << endl ; 565 566 566 // beamno 567 // beamno and ifno 567 568 string rxname = dataset_->getRX()[0] ; 568 569 if ( rxname.find("MULT2") != string::npos ) { 569 570 string arryt = string( record->ARRYT ) ; 570 string sbeamno = arryt.substr( 1, arryt.size()-1 ) ; 571 uInt ibeamno = atoi( sbeamno.c_str() ) ; 572 beamno = ibeamno - 1 ; 571 beamno = dataset_->getArrayId( arryt ) ; 572 ifno = 0 ; 573 573 } 574 574 else { 575 575 beamno = 0 ; 576 string arryt = string( record->ARRYT ) ; 577 ifno = dataset_->getArrayId( arryt ) ; 576 578 } 577 579 //cout << "beamno = " << beamno << endl ; -
trunk/external-alma/atnf/PKSIO/NROReader.h
r2154 r2201 129 129 uInt &scanno, 130 130 uInt &cycleno, 131 uInt &ifno, 131 132 uInt &beamno, 132 133 uInt &polno, -
trunk/src/NROFiller.cpp
r2199 r2201 90 90 uInt scanno ; 91 91 uInt cycleno ; 92 uInt ifno ; 92 93 uInt beamno ; 93 94 uInt polno ; … … 153 154 scanno, 154 155 cycleno, 156 ifno, 155 157 beamno, 156 158 polno, … … 212 214 213 215 // SCANNO, CYCLENO, IFNO, POLNO, and BEAMNO 214 uInt ifno = table_->frequencies().addEntry( (Double)fqs[0], (Double)fqs[1], (Double)fqs[2] ) ;216 //uInt ifno = table_->frequencies().addEntry( (Double)fqs[0], (Double)fqs[1], (Double)fqs[2] ) ; 215 217 setIndex( scanno, cycleno, ifno, polno, beamno ) ; 216 218 -
trunk/src/STFiller.cpp
r2163 r2201 635 635 uInt scanno ; 636 636 uInt cycleno ; 637 uInt iftmp ; 637 638 uInt beamno ; 638 639 uInt polno ; … … 692 693 scanno, 693 694 cycleno, 695 iftmp, 694 696 beamno, 695 697 polno,
Note:
See TracChangeset
for help on using the changeset viewer.