Ignore:
Timestamp:
11/12/08 17:04:01 (16 years ago)
Author:
TakTsutsumi
Message:

Merged recent updates (since 2007) from nrao-asap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/src/STFiller.cpp

    r1387 r1446  
    205205    }
    206206  }
     207  String freqFrame = header_->freqref;
     208  //translate frequency reference frame back to
     209  //MS style (as PKSMS2reader converts the original frame
     210  //in FITS standard style)
     211  if (freqFrame == "TOPOCENT") {
     212    freqFrame = "TOPO";
     213  } else if (freqFrame == "GEOCENER") {
     214    freqFrame = "GEO";
     215  } else if (freqFrame == "BARYCENT") {
     216    freqFrame = "BARY";
     217  } else if (freqFrame == "GALACTOC") {
     218    freqFrame = "GALACTO";
     219  } else if (freqFrame == "LOCALGRP") {
     220    freqFrame = "LGROUP";
     221  } else if (freqFrame == "CMBDIPOL") {
     222    freqFrame = "CMB";
     223  } else if (freqFrame == "SOURCE") {
     224    freqFrame = "REST";
     225  }
     226  table_->frequencies().setFrame(freqFrame);
    207227     
    208228}
     
    222242  Float  azimuth, elevation, focusAxi, focusRot, focusTan,
    223243    humidity, parAngle, pressure, temperature, windAz, windSpeed;
    224   Double bandwidth, freqInc, interval, mjd, refFreq, restFreq, srcVel;
     244  Double bandwidth, freqInc, interval, mjd, refFreq, srcVel;
    225245  String          fieldName, srcName, tcalTime, obsType;
    226246  Vector<Float>   calFctr, sigma, tcal, tsys;
    227247  Matrix<Float>   baseLin, baseSub;
    228   Vector<Double>  direction(2), scanRate(2), srcDir(2), srcPM(2);
     248  Vector<Double>  direction(2), scanRate(2), srcDir(2), srcPM(2), restFreq;
    229249  Matrix<Float>   spectra;
    230250  Matrix<uChar>   flagtra;
Note: See TracChangeset for help on using the changeset viewer.