Changeset 2555


Ignore:
Timestamp:
06/06/12 16:15:44 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4223

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: new unit test will be added soon

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

CHAN_WIDTH is negative when frequency increment is negative.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSWriter.cpp

    r2337 r2555  
    10631063      netsb = 1 ;
    10641064    Vector<Double> res( nchan, abs(ic) ) ;
     1065    Vector<Double> cw( nchan, ic ) ;
    10651066    Vector<Double> chanf( nchan ) ;
    10661067    indgen( chanf, reffreq, ic ) ;
     
    10741075    putField( "NET_SIDEBAND", r, netsb ) ;
    10751076    defineField( "RESOLUTION", r, res ) ;
    1076     defineField( "CHAN_WIDTH", r, res ) ;
     1077//     defineField( "CHAN_WIDTH", r, res ) ;
     1078    defineField( "CHAN_WIDTH", r, cw ) ;
    10771079    defineField( "EFFECTIVE_BW", r, res ) ;
    10781080    defineField( "CHAN_FREQ", r, chanf ) ;
Note: See TracChangeset for help on using the changeset viewer.