Changeset 2224


Ignore:
Timestamp:
07/14/11 14:56:14 (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...

Just added commented out code that are is used to store raw
frequency frame value instead to convert frequency to LSRK value.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.cpp

    r2223 r2224  
    585585            Quantum<Double> qreffreq = (*tmpQuantCol)( spwId ) ;
    586586            delete tmpQuantCol ;
     587//             sdh.reffreq = qreffreq.getValue("Hz") ;
    587588            if ( freqRef == MFrequency::LSRK ) {
    588589              sdh.reffreq = qreffreq.getValue("Hz") ;
     
    606607          if ( nchan > 1 && chanFreqs[0].getValue("Hz") > chanFreqs[1].getValue("Hz") )
    607608            increment *= -1.0 ;
     609//           if ( even ) {
     610//             IPosition refip0( 1, refchan-1 ) ;
     611//             Double refval0 = chanFreqs(refip0).getValue("Hz") ;
     612//             Double refval1 = chanFreqs(refip).getValue("Hz") ;
     613//             refval = 0.5 * ( refval0 + refval1 ) ;
     614//           }
     615//           else {
     616//             refval = chanFreqs(refip).getValue("Hz") ;
     617//           }
    608618          if ( freqRef == MFrequency::LSRK ) {
    609619            if ( even ) {
Note: See TracChangeset for help on using the changeset viewer.