Changeset 47
- Timestamp:
- 07/15/04 14:30:27 (21 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDContainer.cc
r34 r47 41 41 void SDHeader::print() const { 42 42 MVTime mvt(this->utc); 43 43 mvt.setFormat(MVTime::YMD); 44 44 cout << "Observer: " << this->observer << endl 45 45 << "Project: " << this->project << endl … … 52 52 << "Bandwidth: " << this->bandwidth << endl 53 53 << "Time (utc): " 54 << mvt .string()54 << mvt 55 55 << endl; 56 56 //setprecision(10) << this->utc << endl; … … 85 85 86 86 SDContainer::~SDContainer() { 87 } 88 89 Bool SDContainer::resize(IPosition shp) { 90 nBeam_ = shp(0); 91 nIF_ = shp(1); 92 nPol_ = shp(2); 93 nChan_ = shp(3); 94 spectrum_.resize(shp); 95 flags_.resize(shp); 96 tsys_.resize(shp); 97 freqidx_.resize(shp(1)); 87 98 } 88 99 -
trunk/src/SDContainer.h
r34 r47 101 101 virtual ~SDContainer(); 102 102 103 Bool resize(IPosition shp); 104 103 105 Bool setSpectrum(const Matrix<Float>& spec, 104 106 uInt whichBeam, uInt whichIF);
Note:
See TracChangeset
for help on using the changeset viewer.