casa
5.7.0-16
|
a container for a data record read in from a Miriad datatset More...
#include <MirVisReader.h>
Public Member Functions | |
MirDataRecord (casacore::Int nnarrow=0, casacore::Int nwide=0, casacore::Int npreamble=5) | |
~MirDataRecord () | |
casacore::uInt | getPreambleCount () |
return the number of preamble elements More... | |
casacore::uInt | getNarrowCount () |
return the number of narrow band channels More... | |
casacore::uInt | getWideCount () |
return the number of wide band channels More... | |
casacore::Double * | preamble () |
return the address of the preamble buffer More... | |
casacore::Float * | narrow () |
return the address of the narrow channel data buffer More... | |
casacore::Float * | wide () |
return the address of the wide channel data buffer More... | |
casacore::Int * | flags () |
return the address of the flags channel data buffer More... | |
casacore::Int * | wflags () |
return the address of the wflags channel data buffer More... | |
casacore::Int | pol () |
return the polarization code More... | |
void | setPol (casacore::Int val) |
set the polarization code More... | |
casacore::Bool | isMarked () |
return true if this record is marked More... | |
void | setMarked (casacore::Bool val) |
set the mark More... | |
void | copyFrom (const MirDataRecord &other) |
Additional Inherited Members | |
Private Member Functions inherited from MirTypeAssert | |
MirTypeAssert () | |
Static Private Attributes inherited from MirTypeAssert | |
static casacore::Bool | ok |
a container for a data record read in from a Miriad datatset
Internal
this class holds the record-dependent data from a Miriad dataset
MSes filled from Miriad data feature multiple windows of differing shapes. Performance during casacore::MS reads can be aided by collecting together casacore::MS table records of the same shape (e.g. of the same window). MirFiller accoplishes this by reading all baselines from a single timestamp at once, so that they written out in order of spectral window. This class provides a container for holding the data from different baselines.
Access Performance is aided when the data from a Miriad dataset is filled in a particular order. This class provides a container so that the data can be buffered for "sorting" prior to filling into the output MS.
At the moment, this is intended for use only by the MirFiller class.
Definition at line 95 of file MirVisReader.h.
MirDataRecord::MirDataRecord | ( | casacore::Int | nnarrow = 0 , |
casacore::Int | nwide = 0 , |
||
casacore::Int | npreamble = 5 |
||
) |
MirDataRecord::~MirDataRecord | ( | ) |
void MirDataRecord::copyFrom | ( | const MirDataRecord & | other | ) |
|
inline |
return the address of the flags channel data buffer
Definition at line 127 of file MirVisReader.h.
References flags_p.
|
inline |
return the number of narrow band channels
Definition at line 112 of file MirVisReader.h.
References nn_p.
|
inline |
return the number of preamble elements
Definition at line 109 of file MirVisReader.h.
References np_p.
|
inline |
return the number of wide band channels
Definition at line 115 of file MirVisReader.h.
References nw_p.
|
inline |
return true if this record is marked
Definition at line 139 of file MirVisReader.h.
References marked_p.
|
inline |
return the address of the narrow channel data buffer
Definition at line 121 of file MirVisReader.h.
References narrow_p.
|
inline |
|
inline |
return the address of the preamble buffer
Definition at line 118 of file MirVisReader.h.
References preamble_p.
|
inline |
|
inline |
|
inline |
return the address of the wflags channel data buffer
Definition at line 130 of file MirVisReader.h.
References wflags_p.
|
inline |
return the address of the wide channel data buffer
Definition at line 124 of file MirVisReader.h.
References wide_p.
|
private |
Definition at line 101 of file MirVisReader.h.
Referenced by flags().
|
private |
Definition at line 97 of file MirVisReader.h.
Referenced by isMarked(), and setMarked().
|
private |
Definition at line 99 of file MirVisReader.h.
Referenced by narrow().
|
private |
Definition at line 96 of file MirVisReader.h.
Referenced by getNarrowCount().
|
private |
Definition at line 96 of file MirVisReader.h.
Referenced by getPreambleCount().
|
private |
Definition at line 96 of file MirVisReader.h.
Referenced by getWideCount().
|
private |
Definition at line 96 of file MirVisReader.h.
|
private |
Definition at line 98 of file MirVisReader.h.
Referenced by preamble().
|
private |
Definition at line 102 of file MirVisReader.h.
Referenced by wflags().
|
private |
Definition at line 100 of file MirVisReader.h.
Referenced by wide().