Changeset 2202 for trunk/external-alma
- Timestamp:
- 06/24/11 12:04:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/atnf/PKSIO/NRODataset.cc
r2201 r2202 668 668 string arryt = string( record->ARRYT ) ; 669 669 uInt ib = getArrayId( arryt ) ; 670 671 if ( frec_.isDefined( arryt ) ) { 670 string rxname = getRX()[0] ; 671 string key = arryt ; 672 if ( rxname.find("MULT2") != string::npos ) 673 key = "BEARS" ; 674 675 if ( frec_.isDefined( key ) ) { 672 676 // frequency for the array is already calculated 673 Vector<Double> f = frec_.asArrayDouble( arryt) ;677 Vector<Double> f = frec_.asArrayDouble( key ) ; 674 678 Double *f_p = f.data() ; 675 679 for ( int i = 0 ; i < 3 ; i++ ) … … 818 822 // register frequency setting to Record 819 823 Vector<Double> f( v ) ; 820 frec_.define( arryt, f ) ;824 frec_.define( key, f ) ; 821 825 822 826 return v ;
Note:
See TracChangeset
for help on using the changeset viewer.