Changeset 2554


Ignore:
Timestamp:
05/30/12 11:50:00 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CSV-1829

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...

Modified the code to be able to handle INCREMENT for spectral axis correctly
regardless of sign of MS/SPECTRA_WINDOW/CHAN_WIDTH frequency.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.cpp

    r2303 r2554  
    812812    Vector< Quantum<Double> > qa ;
    813813    getArrayQuant( "CHAN_WIDTH", spwId, spwtab, qa ) ;
    814     Double increment = qa[refchan].getValue( "Hz" ) ;
     814//     Double increment = qa[refchan].getValue( "Hz" ) ;
     815    Double increment = abs(qa[refchan].getValue( "Hz" )) ;
    815816    getArrayQuant( "CHAN_FREQ", spwId, spwtab, qa ) ;
    816817    if ( nchan == 1 ) {
Note: See TracChangeset for help on using the changeset viewer.