Changeset 2223 for trunk


Ignore:
Timestamp:
07/14/11 11:04:15 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Excludes WVR spectral window to evaluate bandwidth and reference frequency
in MAIN table keyword.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.cpp

    r2222 r2223  
    576576          Double totbw = (*tmpQuantCol)( spwId ).getValue( "Hz" ) ;
    577577          delete tmpQuantCol ;
    578           sdh.bandwidth = max( sdh.bandwidth, totbw ) ;
     578          if ( nchan != 4 )
     579            sdh.bandwidth = max( sdh.bandwidth, totbw ) ;
    579580          if ( sdh.freqref == "" && nchan != 4)
    580581            //sdh.freqref = MFrequency::showType( freqRef ) ;
    581582            sdh.freqref = "LSRK" ;
    582           if ( sdh.reffreq == -1.0 ) {
     583          if ( sdh.reffreq == -1.0 && nchan != 4 ) {
    583584            tmpQuantCol = new ROScalarQuantColumn<Double>( spwtab, "REF_FREQUENCY" ) ;
    584585            Quantum<Double> qreffreq = (*tmpQuantCol)( spwId ) ;
Note: See TracChangeset for help on using the changeset viewer.