Changeset 2190 for trunk/src


Ignore:
Timestamp:
06/10/11 09:56:50 (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...

Number of channel is taken by calling nchan(ifno) in addSpectralWindow()
to support the case when REFPIX is not a center of the band.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSWriter.cpp

    r2187 r2190  
    12631263
    12641264  // NUM_CHAN
    1265   Int nchan = (Int)(refpix * 2) + 1 ;
    1266   if ( nchan == 0 )
    1267     nchan = 1 ;
     1265  //Int nchan = (Int)(refpix * 2) + 1 ;
     1266  //if ( nchan == 0 )
     1267  //nchan = 1 ;
     1268  Int nchan = table_->nchan( spwid ) ;
    12681269  msSpwCols.numChan().put( spwid, nchan ) ;
    12691270
Note: See TracChangeset for help on using the changeset viewer.