Ignore:
Timestamp:
03/15/12 13:32:20 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-3345

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: import T100H/V data

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

POLNO is properly handled for T100H/V data while IFNO keeps array number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/atnf/PKSIO/NRODataset.cc

    r2289 r2434  
    827827  return vlsr ;
    828828}
     829
     830uInt 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
     838uInt 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.