casa
5.7.0-16
|
#include <VLABaselineRecord.h>
Public Types | |
enum | Type { CONTINUUM, SPECTRALLINE, UNKNOWN_TYPE, NUMBER_TYPES } |
The shapes of all the components. More... | |
Public Member Functions | |
virtual | ~VLABaselineRecord () |
A virtual destructor is needed to ensure that the destructor of derived classes is actually used. More... | |
virtual casacore::Vector < casacore::Complex > | data () const |
returns the correlations for this baseline. More... | |
virtual void | data (casacore::Array< casacore::Complex > &values) const =0 |
Returns the correlations for this baseline in the supplied Array. More... | |
virtual casacore::Vector < casacore::Bool > | flags () const =0 |
returns the flags for the correlations for this baseline. More... | |
virtual casacore::uInt | scale () const =0 |
returns the scaling factor used to convert the internal data to the actual values. More... | |
virtual casacore::uInt | ant1 () const =0 |
returns the antenna 1 index for this baseline. More... | |
virtual casacore::uInt | ant2 () const =0 |
returns the antenna 2 index for this baseline. More... | |
virtual VLABaselineRecord::Type | type () const =0 |
return the type of this class More... | |
Static Public Member Functions | |
static casacore::String | name (VLABaselineRecord::Type typeEnum) |
Convert a Type enum into a String. More... | |
static VLABaselineRecord::Type | type (const casacore::String &typeName) |
Convert a given casacore::String to a Type enumerator. More... | |
Protected Member Functions | |
VLABaselineRecord () | |
function to turn an object constructed this way into a usable object. More... | |
VLABaselineRecord (casacore::ByteSource &record, casacore::uInt offset) | |
void | attach (casacore::ByteSource &record, casacore::uInt offset) |
casacore::uInt | scale (casacore::uInt headerOffset) const |
casacore::uInt | ant1 (casacore::uInt headerOffset) const |
casacore::uInt | ant2 (casacore::uInt headerOffset) const |
Protected Attributes | |
casacore::ByteSource | itsRecord |
casacore::uInt | itsOffset |
Private Member Functions | |
VLABaselineRecord (const VLABaselineRecord &other) | |
VLABaselineRecord & | operator= (const VLABaselineRecord &other) |
Public interface
Definition at line 92 of file VLABaselineRecord.h.
The shapes of all the components.
Enumerator | |
---|---|
CONTINUUM |
A simple point component. |
SPECTRALLINE |
A elliptical Gaussian component. |
UNKNOWN_TYPE |
An unknown Component. |
NUMBER_TYPES |
The number of types in this enumerator. |
Definition at line 96 of file VLABaselineRecord.h.
|
virtual |
A virtual destructor is needed to ensure that the destructor of derived classes is actually used.
|
protected |
function to turn an object constructed this way into a usable object.
|
protected |
|
private |
|
pure virtual |
returns the antenna 1 index for this baseline.
Implemented in VLAContinuumRecord, and VLASpectralLineRecord.
|
protected |
|
pure virtual |
returns the antenna 2 index for this baseline.
Implemented in VLAContinuumRecord, and VLASpectralLineRecord.
|
protected |
|
protected |
|
virtual |
returns the correlations for this baseline.
The returned casacore::Vector contains all the data for this baseline and has been scaled.
Reimplemented in VLASpectralLineRecord, and VLAContinuumRecord.
|
pure virtual |
Returns the correlations for this baseline in the supplied Array.
The supplied casacore::Array may have any number of dimensions, but all except one must have a length on 1. The axis that is not of length one must be the right length to hold all the data contained in the record. Alternatively the casacore::Array may contain no elements in which case it will be resized to a Vector of the correct length. The returned values have been scaled.
Implemented in VLASpectralLineRecord, and VLAContinuumRecord.
|
pure virtual |
returns the flags for the correlations for this baseline.
Implemented in VLASpectralLineRecord, and VLAContinuumRecord.
|
static |
Convert a Type enum into a String.
|
private |
|
pure virtual |
returns the scaling factor used to convert the internal data to the actual values.
Implemented in VLAContinuumRecord, and VLASpectralLineRecord.
|
protected |
|
pure virtual |
return the type of this class
Implemented in VLAContinuumRecord, and VLASpectralLineRecord.
|
static |
Convert a given casacore::String to a Type enumerator.
|
protected |
Definition at line 173 of file VLABaselineRecord.h.
|
mutableprotected |
Definition at line 170 of file VLABaselineRecord.h.