Changeset 942 for trunk/src


Ignore:
Timestamp:
03/30/06 15:36:30 (19 years ago)
Author:
mar637
Message:

fixed _S stripping in sourcename; reverted auto-detection of npol==1 == stokes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STFiller.cpp

    r922 r942  
    108108  header_->nbeam = nBeam_;
    109109
    110   if ( nPol_  == 1 ) header_->poltype = "stokes";
    111   else header_->poltype = "linear";
    112 
     110  // not the right thing to do?!
     111  //if ( nPol_  == 1 ) header_->poltype = "stokes";
     112  //else header_->poltype = "linear";
     113  header_->poltype = "linear";
    113114  Int status = reader_->getHeader(header_->observer, header_->project,
    114115                                  header_->antennaname, header_->antennaposition,
     
    238239    // try to auto-identify if it is on or off.
    239240    Regex rx(".*[e|w|_R]$");
    240     Regex rx2("[e|w|_R|_S]$");
     241    Regex rx2("_S$");
    241242    Int match = srcName.matches(rx);
    242243    if (match) {
Note: See TracChangeset for help on using the changeset viewer.