Changeset 104 for trunk


Ignore:
Timestamp:
12/01/04 10:56:53 (20 years ago)
Author:
mar637
Message:

added azimuth,elevation,parangle,refbeam,fieldname,tcal,tcaltime

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDContainer.cc

    r83 r104  
    2929//# $Id:
    3030//#---------------------------------------------------------------------------
     31#include <casa/Exceptions.h>
    3132#include <tables/Tables/Table.h>
    3233#include <casa/Arrays/IPosition.h>
     
    7071  uChar x = 0;
    7172  flags_ = ~x;
     73  tcal.resize(2);
    7274}
    7375
     
    8587  uChar x = 0;
    8688  flags_ = ~x;
     89  tcal.resize(2);
    8790}
    8891
     
    126129  IPosition shp1 = spec.shape();
    127130  if ( (shp0(2) != shp1(1)) || (shp0(3) != shp1(0)) ) {
    128     cerr << "Arrays not conformant" << endl;     
     131    throw(AipsError("Arrays not conformant"));
    129132    return False;
    130133  }
  • trunk/src/SDContainer.h

    r83 r104  
    134134 
    135135  Double timestamp;
     136  //Double bandwidth;
    136137  String sourcename;
    137138  String fieldname;
    138139  Double interval;
    139140  Int scanid;
     141  Vector<Float> tcal;
    140142  String tcaltime;
    141  
     143  Float azimuth;
     144  Float elevation;
     145  Float parangle;
     146  Int refbeam;
     147
    142148private:
    143149  uInt nBeam_,nIF_,nPol_,nChan_;
Note: See TracChangeset for help on using the changeset viewer.