Public Member Functions |
| | VLACDA () |
| | The default constructor creates a unusable object.
|
| | VLACDA (ByteSource &record, uInt offset, uInt baselineSize, uInt nant, uInt nChan) |
| | Initialise this CDA from the given BytesSource (which must contain a VLA logical record), and must be readable & seekable.
|
| | VLACDA (const VLACDA &other) |
| | The copy constructor uses copy semantics.
|
| | ~VLACDA () |
| | The destructor is trivial.
|
| VLACDA & | operator= (const VLACDA &other) |
| | The assignment constructor uses copy semantics.
|
| void | attach (ByteSource &record, uInt offset, uInt baselineSize, uInt nant, uInt nChan) |
| | Initialise this CDA from the given BytesSource (which must contain a VLA logical record), and must be readable & seekable.
|
| Bool | isValid () const |
| | Return True if the CDA contains valid data.
|
| const VLABaselineRecord & | autoCorr (uInt which) const |
| | return the specified baseline record corresponding to the specified auto-correlation.
|
| const VLABaselineRecord & | crossCorr (uInt which) const |
| | return the specified baseline record corresponding to the specified cross-correlation.
|
Private Member Functions |
| void | deleteACorr (uInt startIndex) |
| void | deleteXCorr (uInt startIndex) |
Private Attributes |
| ByteSource | itsRecord |
| uInt | itsOffset |
| | the offset to the start of this CDA in the record.
|
| uInt | itsBaselineSize |
| | A cached value of the size, in bytes, of a baseline record.
|
| uInt | itsNant |
| | A cached value of the number of antennas that this CDU has data for.
|
| uInt | itsNchan |
| | A cached value of the number of channels that this CDU has data for.
|
| PtrBlock< VLABaselineRecord * > | itsACorr |
| PtrBlock< VLABaselineRecord * > | itsXCorr |
| VLACDA::VLACDA |
( |
ByteSource & |
record, |
|
|
uInt |
offset, |
|
|
uInt |
baselineSize, |
|
|
uInt |
nant, |
|
|
uInt |
nChan | |
|
) |
| | |
Initialise this CDA from the given BytesSource (which must contain a VLA logical record), and must be readable & seekable.
The offset specifies where the CDA starts in the logical record. The number of antennas and channels in this CDA, as well as the size of a baseline record, must also be specified.
| void VLACDA::attach |
( |
ByteSource & |
record, |
|
|
uInt |
offset, |
|
|
uInt |
baselineSize, |
|
|
uInt |
nant, |
|
|
uInt |
nChan | |
|
) |
| | |
Initialise this CDA from the given BytesSource (which must contain a VLA logical record), and must be readable & seekable.
The offset specifies where the CDA starts in the logical record. The number of antennas and channels in this CDA, as well as the size of a baseline record, must also be specified.