casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
NROReader Class Reference

NROReader. More...

#include <NROReader.h>

Inheritance diagram for NROReader:
ASTEReader NRO45Reader ASTEFXReader NRO45FITSReader

List of all members.

Public Member Functions

 NROReader (string name)
 Constructor.
virtual ~NROReader ()
 Destructor.
virtual Int read ()=0
 Read data header.
virtual int getHeaderInfo (Int &nchan, Int &npol, Int &nif, Int &nbeam, String &observer, String &project, String &obstype, String &antname, Vector< Double > &antpos, Float &equinox, String &freqref, Double &reffreq, Double &bw, Double &utc, String &fluxunit, String &epoch, String &poltype)
 Get header information.
virtual int getScanInfo (int irow, uInt &scanno, uInt &cycleno, uInt &beamno, uInt &polno, vector< double > &freqs, Vector< Double > &restfreq, uInt &refbeamno, Double &scantime, Double &interval, String &srcname, String &fieldname, Array< Float > &spectra, Array< uChar > &flagtra, Array< Float > &tsys, Array< Double > &direction, Float &azimuth, Float &elevation, Float &parangle, Float &opacity, uInt &tcalid, Int &fitid, uInt &focusid, Float &temperature, Float &pressure, Float &humidity, Float &windvel, Float &winddir, Double &srcvel, Array< Double > &propermotion, Vector< Double > &srcdir, Array< Double > &scanrate)
 Get scan information.
virtual string getScanType (int i)
 Get scan type.
virtual NRODatasetgetDataset ()
 Get dataset.
virtual Int getRowNum ()
 Get number of rows.
virtual vector< Bool > getIFs ()
 Get IF settings.
virtual vector< Bool > getBeams ()
 Get Beam settings.

Protected Member Functions

virtual double getMJD (char *time)
 convert time in character representation to MJD representation
virtual double getMJD (string strStartTime)
virtual vector< vector< double > > getSpectrum ()
 Get spectrum.
virtual Int getPolarizationNum ()
 Get number of polarization.
virtual double getStartTime ()
 Get MJD time.
virtual double getEndTime ()
virtual vector< double > getStartIntTime ()
virtual vector< double > getAntennaPosition ()=0
 virtual double getStartIntTime( int i ) ;
virtual Vector< Double > getSourceDirection ()
 Get SRCDIRECTION in RADEC(J2000)
virtual Vector< Double > getDirection (int i)
 Get DIRECTION in RADEC(J2000)

Protected Attributes

string filename_
 filename
NRODatasetdataset_
 dataset

Detailed Description

NROReader.

Definition at line 96 of file NROReader.h.


Constructor & Destructor Documentation

NROReader::NROReader ( string  name)

Constructor.

virtual NROReader::~NROReader ( ) [virtual]

Destructor.


Member Function Documentation

virtual vector<double> NROReader::getAntennaPosition ( ) [protected, pure virtual]

virtual double getStartIntTime( int i ) ;

Get Antenna Position in ITRF coordinate

Implemented in NRO45Reader, and ASTEReader.

virtual vector<Bool> NROReader::getBeams ( ) [virtual]

Get Beam settings.

virtual NRODataset* NROReader::getDataset ( ) [inline, virtual]

Get dataset.

Definition at line 165 of file NROReader.h.

virtual Vector<Double> NROReader::getDirection ( int  i) [protected, virtual]

Get DIRECTION in RADEC(J2000)

virtual double NROReader::getEndTime ( ) [protected, virtual]
virtual int NROReader::getHeaderInfo ( Int &  nchan,
Int &  npol,
Int &  nif,
Int &  nbeam,
String observer,
String project,
String obstype,
String antname,
Vector< Double > &  antpos,
Float &  equinox,
String freqref,
Double &  reffreq,
Double &  bw,
Double &  utc,
String fluxunit,
String epoch,
String poltype 
) [virtual]

Get header information.

virtual vector<Bool> NROReader::getIFs ( ) [virtual]

Get IF settings.

virtual double NROReader::getMJD ( char *  time) [protected, virtual]

convert time in character representation to MJD representation

virtual double NROReader::getMJD ( string  strStartTime) [protected, virtual]
virtual Int NROReader::getPolarizationNum ( ) [protected, virtual]

Get number of polarization.

virtual Int NROReader::getRowNum ( ) [virtual]

Get number of rows.

virtual int NROReader::getScanInfo ( int  irow,
uInt &  scanno,
uInt &  cycleno,
uInt &  beamno,
uInt &  polno,
vector< double > &  freqs,
Vector< Double > &  restfreq,
uInt &  refbeamno,
Double &  scantime,
Double &  interval,
String srcname,
String fieldname,
Array< Float > &  spectra,
Array< uChar > &  flagtra,
Array< Float > &  tsys,
Array< Double > &  direction,
Float &  azimuth,
Float &  elevation,
Float &  parangle,
Float &  opacity,
uInt &  tcalid,
Int &  fitid,
uInt &  focusid,
Float &  temperature,
Float &  pressure,
Float &  humidity,
Float &  windvel,
Float &  winddir,
Double &  srcvel,
Array< Double > &  propermotion,
Vector< Double > &  srcdir,
Array< Double > &  scanrate 
) [virtual]

Get scan information.

virtual string NROReader::getScanType ( int  i) [virtual]

Get scan type.

virtual Vector<Double> NROReader::getSourceDirection ( ) [protected, virtual]

Get SRCDIRECTION in RADEC(J2000)

virtual vector< vector<double> > NROReader::getSpectrum ( ) [protected, virtual]

Get spectrum.

virtual vector<double> NROReader::getStartIntTime ( ) [protected, virtual]
virtual double NROReader::getStartTime ( ) [protected, virtual]

Get MJD time.

virtual Int NROReader::read ( ) [pure virtual]

Read data header.

Implemented in NRO45FITSReader, NRO45Reader, ASTEFXReader, and ASTEReader.


Member Data Documentation

dataset

Definition at line 206 of file NROReader.h.

string NROReader::filename_ [protected]

filename

Definition at line 203 of file NROReader.h.


The documentation for this class was generated from the following file: