Ignore:
Timestamp:
06/30/04 16:34:24 (20 years ago)
Author:
mmarquar
Message:

Moved SDHeader from SDReader to SDConatiner. Added header to SDMemTable. Added access funtions to nif,nbema,npol,nchan

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDContainer.cc

    r16 r18  
    3333#include <aips/Arrays/ArrayAccessor.h>
    3434#include <aips/Arrays/Matrix.h>
     35#include <aips/Quanta/MVTime.h>
    3536
    3637#include "SDContainer.h"
    3738
    3839using namespace atnf_sd;
     40
     41void SDHeader::print() const {
     42  MVTime mvt(this->utc);
     43
     44  cout << "Observer: " << this->observer << endl
     45       << "Project: " << this->project << endl
     46       << "Obstype: " << this->obstype << endl
     47       << "Antenna: " << this->antennaname << endl
     48       << "Ant. Position: " << this->antennaposition << endl
     49       << "Equinox: " << this->equinox << endl
     50       << "Freq. ref.: " << this->freqref << endl
     51       << "Ref. frequency: " << this->reffreq << endl
     52       << "Bandwidth: "  << this->bandwidth << endl
     53       << "Time (utc): "
     54       << mvt.string()
     55       << endl;
     56  //setprecision(10) << this->utc << endl;
     57}
     58
    3959
    4060SDContainer::SDContainer(uInt nBeam, uInt nIF, uInt nPol, uInt nChan)
Note: See TracChangeset for help on using the changeset viewer.