29 #ifndef BIMA_MIRDATABUFFER_H
30 #define BIMA_MIRDATABUFFER_H
38 class MirDataBufferIter;
137 float *tmpnar =
narrow[0];
138 float *tmpwid =
wide[0];
Boolean isVarUpdated()
return the variable update state.
a buffer for data read in from a Miriad datatset
casacore::Int size()
return the number of records held in this buffer
casacore::Block< float * > narrow
casacore::Block< float * > wide
float * operator[](casacore::Int i)
return a pointer to the i-th record in this buffer
double * getBaselineVec(casacore::Int i)
return the baseline vector as a 3-element array holding u, v, & w
void varUpdated(Boolean val)
set the variable update state.
void reset()
update the number of records held by the buffer
casacore::Int getBaselineNum(casacore::Int i)
return the baseline number for the i-th record
MirDataBuffer(MirDataBuffer &)
double * getPreamble(casacore::Int i)
return the preamble for the i-th record
casacore::Block< double * > preamble
double getTime()
return the current Miriad timestamp
casacore::Block< int > pol
casacore::Int getPol(casacore::Int i)
return the Miriad polarization code for the i-th record
Boolean hasMore()
return true if there is still data to be read from the dataset