Changeset 2434 for trunk/external-alma/atnf/PKSIO/NRODataset.cc
- Timestamp:
- 03/15/12 13:32:20 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/atnf/PKSIO/NRODataset.cc
r2289 r2434 827 827 return vlsr ; 828 828 } 829 830 uInt NRODataset::getPolNo( int i ) 831 { 832 int idx = getIndex( i ) ; 833 // cout << "HORN[" << idx << "]=" << HORN[idx] 834 // << ", RX[" << idx << "]=" << RX[idx] << endl ; 835 return polNoFromRX( RX[idx].c_str() ) ; 836 } 837 838 uInt NRODataset::polNoFromRX( const char *rx ) 839 { 840 uInt polno = 0 ; 841 // 2012/03/15 TN 842 // T100H/V is multi-polarization receiver which is installed 843 // on NRO 45m telescope. Here, POLNO is assigned as follows: 844 // 845 // POLNO=0: T100H 846 // 1: T100V 847 // 848 // For other receivers, POLNO is always 0. 849 if ( strncmp( rx, "T100V", 5 ) == 0 ) 850 polno = 1 ; 851 return polno ; 852 }
Note: See TracChangeset
for help on using the changeset viewer.