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.
The copy constructor uses copy semantics
The destructor is trivial
The assignment constructor uses copy semantics
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.
Return True if the CDA contains valid data. This, and the copy functions, will not throw an exception if the CDA does not contain data.
return the specified baseline record corresponding to the specified auto-correlation. The index must be less than the number of antennas in this subarray otherwise an exception is thrown.
return the specified baseline record corresponding to the specified cross-correlation. The index must be less than NANT*(NANT-1)/2 otherwise an exception is thrown.