- Timestamp:
- 08/02/11 16:43:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MSFiller.cpp
r2258 r2260 1942 1942 refval = 0.0 ; 1943 1943 ROArrayQuantColumn<Double> sharedQDArrCol( spwtab, "CHAN_WIDTH" ) ; 1944 ROTableColumn netSidebandCol( spwtab, "NET_SIDEBAND" ) ; 1945 Int netSideband = netSidebandCol.asInt( spwId ) ; 1944 1946 increment = sharedQDArrCol( spwId )( refip ).getValue( "Hz" ) ; 1945 1947 // os_ << "nchan = " << nchan << " refchan = " << refchan << "(even=" << even << ") refpix = " << refpix << LogIO::POST ; 1946 1948 sharedQDArrCol.attach( spwtab, "CHAN_FREQ" ) ; 1947 1949 Vector< Quantum<Double> > chanFreqs = sharedQDArrCol( spwId ) ; 1948 if ( nchan > 1 && chanFreqs[0].getValue("Hz") > chanFreqs[1].getValue("Hz") ) 1950 if ( ( nchan > 1 && 1951 chanFreqs[0].getValue("Hz") > chanFreqs[1].getValue("Hz") ) 1952 || ( nchan == 1 && netSideband == 1 ) ) 1949 1953 increment *= -1.0 ; 1950 1954 if ( freqRef == MFrequency::LSRK ) {
Note:
See TracChangeset
for help on using the changeset viewer.