Changeset 213


Ignore:
Timestamp:
01/19/05 13:27:04 (20 years ago)
Author:
kil064
Message:

use new functions SDMemTable::get{Direction,Time}Reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDFITSImageWriter.cc

    r209 r213  
    7878
    7979   SDHeader header = sdTable.getSDHeader();
    80    MEpoch::Ref timeRef(MEpoch::UTC);              // Should be in header   
    81    MDirection::Types dirRef(MDirection::J2000);   // Should be in header   
     80   MEpoch::Ref timeRef(sdTable.getTimeReference());
     81   MDirection::Types dirRef = sdTable.getDirectionReference();
    8282
    8383// Prepare initial ObsInfo
     
    248248   Stokes::StokesTypes stokes = Stokes::RR;
    249249   if (val==0) {
    250       stokes = Stokes::RR;
     250      stokes = Stokes::XX;
    251251   } else if (val==1) {
    252       stokes = Stokes::LL;
     252      stokes = Stokes::YY;
    253253   } else if (val==2) {
    254       stokes = Stokes::RL;
     254      stokes = Stokes::XY;
    255255   } else if (val==3) {
    256       stokes = Stokes::LR;
     256      stokes = Stokes::YX;
    257257   } else {
    258258      stokes = Stokes::Undefined;
Note: See TracChangeset for help on using the changeset viewer.