casa
$Rev:20696$
|
Definition of the first level in the tree hierarchy: set of spectro-polarization descriptions, basebands. More...
#include <DataDescriptionsSet.h>
Public Member Functions | |
DataDescriptionsSet () | |
DataDescriptionsSet (ASDM *const datasetPtr, vector< Tag > v_switchCycleId, vector< Tag > v_dataDescriptionId, CorrelationMode corrMode, vector< AtmPhaseCorrection > atmPhaseCodes) | |
Define the first level in the tree hierarchy. | |
DataDescriptionsSet (vector< int > v_switchCycleId, vector< int > v_dataDescriptionId, CorrelationMode corrMode, vector< AtmPhaseCorrection > atmPhaseCodes) | |
Define the first level in the tree hierarchy. | |
DataDescriptionsSet (const DataDescriptionsSet &) | |
Copy constructor. | |
virtual | ~DataDescriptionsSet () |
Destructor. | |
BasebandName | getBasebandName (unsigned int ndd) |
Get the baseband name of a given dataDescription. | |
unsigned int | getBasebandIndex (unsigned int ndd) |
Get the baseband number of a given dataDescription. | |
unsigned int | numBaseband () |
Accessor to the number of basebands. | |
unsigned int | numBin (unsigned int ndd) |
Accessor to the number of steps for the baseband of a given dataDescription. | |
unsigned int | numPol (unsigned int ndd) |
Accessor to the number of polarization products of a given dataDescription. | |
unsigned int | numSdPol (unsigned int ndd) |
Accessor to the number of polarization cross-products of a given dataDescription. | |
unsigned int | numChan (unsigned int ndd) |
Accessor to the number of frequency channels of a given dataDescription. | |
Tag | getSpwId (unsigned int ndd) |
Accessor to get the spwtral window identifier of a given dataDescription. | |
Frequency | totBandwidth (unsigned int ndd) |
Accessor to the total frequency bandwidth of a given dataDescription. | |
unsigned int | numApc () |
Size of the apc axis (can be only 1 or 2) | |
Enum< AtmPhaseCorrection > | atmPhaseCorrection (unsigned int atmPhaseCorrectionIndex) |
Accessor to the atmospherePhaseCorrection. | |
unsigned int | atmPhaseCorrectionIndex (AtmPhaseCorrection apc) |
Get the index position along the apc axis. | |
int | numAutoData (unsigned int ndd) |
Provide the number of auto-correlations for a given dataDescription. | |
unsigned int | numCrossData (unsigned int ndd) |
Provide the number of cross-correlations for a given dataDescription. | |
unsigned int | sumMetaDataIndex () |
Provide the number of switchCycle phases cumulated over all the basebands in the configuration. | |
unsigned int | metaDataIndex (unsigned int ndd) |
Provide the index for a given dataDescription in the meta-data tree. | |
CorrelationMode | getCorrelationMode () |
Get the bitSize (actually the number of bytes, 2 or 4) used for the visibilities. | |
unsigned int | getNumDataDescription () |
Get the number of dataDescription. | |
unsigned int | getNumChan (unsigned int ndd) |
Get the number of frequency channels for a given dataDescription. | |
unsigned int | getNumPol (unsigned int bbIndex) |
Get the number of Polarization Products given a baseband. | |
unsigned int | getNumPol (BasebandName bbName) |
Get the number of Polarization Products given a baseband. | |
unsigned int | getNumSdPol (unsigned int bbIndex) |
Get the number of Polarization Products in the case of zero-baselines given a baseband. | |
unsigned int | getNumSdPol (BasebandName bbName) |
Get the number of Polarization Products in the case of zero-baselines given a baseband. | |
unsigned int | getNdd (unsigned int bbIndex, unsigned int j) |
Get the index of a dataDescription given its index in its parent baseband. | |
unsigned int | getNdd (BasebandName bbName, unsigned int j) |
Get the index of a dataDescription given its index in its parent baseband. | |
unsigned int | getNumSpw (unsigned int bbIndex) |
Get the number of Spectral Windows in a given baseband identified by its index. | |
unsigned int | getNumSpw (BasebandName bbName) |
Get the number of Spectral Windows in a given baseband identified by its name. | |
unsigned int | getDataDescriptionIndex (Tag dataDescriptionId) |
Get the dataDescription index given a dataDescriptionId identifier. | |
unsigned long | getAutoSize () |
Get the size of the block of data for the auto-correlations originating from one antenna. | |
unsigned long | getCrossSize () |
Get the size of the block of cross-correlation data for the ensemble of spectral windows and a single non-zero baseline. | |
unsigned long | getNumAutoData () |
Number of auto-correlations produce for one antenna. | |
unsigned long | getNumCrossData () |
Number of cross-correlations produced by one non-zero baseline for the set of dataDescriptions. | |
unsigned long | getNumAutoData (Tag autoDataDescriptionId) |
Number of auto-correlations produced by one antenna for one dataDescription. | |
unsigned long | getNumCrossData (Tag crossDataDescriptionId) |
Number of cross-correlations produced by one non-zero baseline for a given dataDescription. | |
Tag | getAutoDataDescriptionId (Tag crossDataDescriptionId) |
Get the array of dataDescriptionId identifiers for the auto-correlations. | |
vector< Tag > | getAutoDataDescriptionId () |
Get the array of dataDescriptionId identifiers for the cross-correlations. | |
vector< Tag > | getCrossDataDescriptionId () |
Get the array of dataDescriptionId identifiers for the cross-correlations. | |
DataDescriptionsSet () | |
DataDescriptionsSet (ASDM *const datasetPtr, vector< Tag > v_switchCycleId, vector< Tag > v_dataDescriptionId, CorrelationMode corrMode, vector< AtmPhaseCorrection > atmPhaseCodes) | |
Define the first level in the tree hierarchy. | |
DataDescriptionsSet (vector< int > v_switchCycleId, vector< int > v_dataDescriptionId, CorrelationMode corrMode, vector< AtmPhaseCorrection > atmPhaseCodes) | |
Define the first level in the tree hierarchy. | |
DataDescriptionsSet (const DataDescriptionsSet &) | |
Copy constructor. | |
virtual | ~DataDescriptionsSet () |
Destructor. | |
BasebandName | getBasebandName (unsigned int ndd) |
Get the baseband name of a given dataDescription. | |
unsigned int | getBasebandIndex (unsigned int ndd) |
Get the baseband number of a given dataDescription. | |
unsigned int | numBaseband () |
Accessor to the number of basebands. | |
unsigned int | numBin (unsigned int ndd) |
Accessor to the number of steps for the baseband of a given dataDescription. | |
unsigned int | numPol (unsigned int ndd) |
Accessor to the number of polarization products of a given dataDescription. | |
unsigned int | numSdPol (unsigned int ndd) |
Accessor to the number of polarization cross-products of a given dataDescription. | |
unsigned int | numChan (unsigned int ndd) |
Accessor to the number of frequency channels of a given dataDescription. | |
Tag | getSpwId (unsigned int ndd) |
Accessor to get the spwtral window identifier of a given dataDescription. | |
Frequency | totBandwidth (unsigned int ndd) |
Accessor to the total frequency bandwidth of a given dataDescription. | |
unsigned int | numApc () |
Size of the apc axis (can be only 1 or 2) | |
Enum< AtmPhaseCorrection > | atmPhaseCorrection (unsigned int atmPhaseCorrectionIndex) |
Accessor to the atmospherePhaseCorrection. | |
unsigned int | atmPhaseCorrectionIndex (AtmPhaseCorrection apc) |
Get the index position along the apc axis. | |
int | numAutoData (unsigned int ndd) |
Provide the number of auto-correlations for a given dataDescription. | |
unsigned int | numCrossData (unsigned int ndd) |
Provide the number of cross-correlations for a given dataDescription. | |
unsigned int | sumMetaDataIndex () |
Provide the number of switchCycle phases cumulated over all the basebands in the configuration. | |
unsigned int | metaDataIndex (unsigned int ndd) |
Provide the index for a given dataDescription in the meta-data tree. | |
CorrelationMode | getCorrelationMode () |
Get the bitSize (actually the number of bytes, 2 or 4) used for the visibilities. | |
unsigned int | getNumDataDescription () |
Get the number of dataDescription. | |
unsigned int | getNumChan (unsigned int ndd) |
Get the number of frequency channels for a given dataDescription. | |
unsigned int | getNumPol (unsigned int bbIndex) |
Get the number of Polarization Products given a baseband. | |
unsigned int | getNumPol (BasebandName bbName) |
Get the number of Polarization Products given a baseband. | |
unsigned int | getNumSdPol (unsigned int bbIndex) |
Get the number of Polarization Products in the case of zero-baselines given a baseband. | |
unsigned int | getNumSdPol (BasebandName bbName) |
Get the number of Polarization Products in the case of zero-baselines given a baseband. | |
unsigned int | getNdd (unsigned int bbIndex, unsigned int j) |
Get the index of a dataDescription given its index in its parent baseband. | |
unsigned int | getNdd (BasebandName bbName, unsigned int j) |
Get the index of a dataDescription given its index in its parent baseband. | |
unsigned int | getNumSpw (unsigned int bbIndex) |
Get the number of Spectral Windows in a given baseband identified by its index. | |
unsigned int | getNumSpw (BasebandName bbName) |
Get the number of Spectral Windows in a given baseband identified by its name. | |
unsigned int | getDataDescriptionIndex (Tag dataDescriptionId) |
Get the dataDescription index given a dataDescriptionId identifier. | |
unsigned long | getAutoSize () |
Get the size of the block of data for the auto-correlations originating from one antenna. | |
unsigned long | getCrossSize () |
Get the size of the block of cross-correlation data for the ensemble of spectral windows and a single non-zero baseline. | |
unsigned long | getNumAutoData () |
Number of auto-correlations produce for one antenna. | |
unsigned long | getNumCrossData () |
Number of cross-correlations produced by one non-zero baseline for the set of dataDescriptions. | |
unsigned long | getNumAutoData (Tag autoDataDescriptionId) |
Number of auto-correlations produced by one antenna for one dataDescription. | |
unsigned long | getNumCrossData (Tag crossDataDescriptionId) |
Number of cross-correlations produced by one non-zero baseline for a given dataDescription. | |
Tag | getAutoDataDescriptionId (Tag crossDataDescriptionId) |
Get the array of dataDescriptionId identifiers for the auto-correlations. | |
vector< Tag > | getAutoDataDescriptionId () |
Get the array of dataDescriptionId identifiers for the cross-correlations. | |
vector< Tag > | getCrossDataDescriptionId () |
Get the array of dataDescriptionId identifiers for the cross-correlations. | |
Protected Attributes | |
vector< Tag > | v_dataDescriptionIdArray_ |
the input array of dataDescription identifiers | |
Enum< CorrelationMode > | e_cm_ |
Type-safe correlation mode. | |
CorrelationMode | correlationMode_ |
Correlation mode. | |
EnumSet< AtmPhaseCorrection > | es_apc_ |
Atmospheric Phase Correction set. | |
vector< AtmPhaseCorrection > | v_atmPhaseCorrection_ |
sequence of the Atmospheric Phase Correction values along the apc axis | |
vector< unsigned int > | v_numPol_ |
number of cross-products (size numDataDesc_) | |
vector< Tag > | v_spwId_ |
sequence of spectral window identifiers (size numDataDesc_) | |
vector< unsigned int > | v_numChan_ |
sequence of nb of chan. i.e. spectral points (size numDataDesc_) | |
vector< BasebandName > | v_basebandName_ |
(size numDataDesc_), baseband name for every spectral window. | |
vector< vector< int > > | vv_nsp_ |
Nb of chan. per dataDescription (size numBaseband) vectors. | |
map< BasebandName, vector < DataDescParams > > | m_bn_v_ddp_ |
The sequence of dataDescParams in the different basebands. | |
map< Tag, BasebandName > | m_ddid_bbn_ |
Association between the dataDescriptionId and the baseband name. | |
unsigned int | numApc_ |
APC axis size (can take the value 1 or 2 only) | |
unsigned int | numDataDescription_ |
Explicit number of dataDescriptionId. | |
unsigned int | sumMetaDataIndex_ |
Sum of the elements of the vector v_metaDataIndex_. | |
unsigned long | sumAutoSize_ |
Sum of the elements of the vector v_autoSize_. | |
unsigned long | sumCrossSize_ |
Sum of the elements of the vector v_crossSize_. | |
vector< unsigned int > | v_metaDataIndex_ |
Indices for positions for every dataDesc (size numDataDesc_) | |
vector< unsigned long > | v_cumulAutoSize_ |
Number of bytes to skip for every dataDesc (size numDataDesc_) | |
vector< unsigned long > | v_cumulCrossSize_ |
Number of bytes to skip for every dataDesc (size numDataDesc_) | |
vector< unsigned long > | v_numAutoData_ |
Number of auto-correlations per antenna (size numDataDesc_) | |
vector< unsigned long > | v_numCrossData_ |
Number of cross-correlations per antenna pair (size numDataDesc_) | |
vector< unsigned long > | v_autoSize_ |
Size, in nb PDT values, for every dataDesc (size numDataDesc_) | |
vector< unsigned long > | v_crossSize_ |
Size, in nb PDT values, for every dataDesc (size numDataDesc_) | |
vector< Tag > | v_crossDataDescriptionId_ |
Vector of dataDecsritionId for the cross-correlations (size numDataDesc_) | |
vector< Tag > | v_autoDataDescriptionId_ |
Vector of dataDecsritionId for the auto-correlations (size <= numDataDesc_) | |
vector< bool > | v_pairDataDescriptionId_ |
true if crossDataDecsritionId assoc to autoDataDecsritionId (size numDataDesc_) | |
vector< BasebandName > | v_basebandSet_ |
Sequence of baseband names. | |
EnumSet< BasebandName > | e_basebandSet_ |
Set of baseband names. | |
vector< unsigned int > | v_numSpwPerBb_ |
Number of spectral windows in every baseband. | |
Private Member Functions | |
void | size () |
void | metaDataIndex () |
void | mapScToBaseband () |
SwitchCyclesList defines the abstract base type of a hierarchy. | |
void | size () |
void | metaDataIndex () |
void | mapScToBaseband () |
SwitchCyclesList defines the abstract base type of a hierarchy. |
Definition of the first level in the tree hierarchy: set of spectro-polarization descriptions, basebands.
Definition at line 34 of file DataDescriptionsSet.h.
sdmbin::DataDescriptionsSet::DataDescriptionsSet | ( | ASDM *const | datasetPtr, |
vector< Tag > | v_switchCycleId, | ||
vector< Tag > | v_dataDescriptionId, | ||
CorrelationMode | corrMode, | ||
vector< AtmPhaseCorrection > | atmPhaseCodes | ||
) |
Define the first level in the tree hierarchy.
v_switchCycleId | a sequence of switchCycle identifiers, one per data description. It is not a set |
v_dataDescriptionId | the sequence of DataDescription identifiers. it is an ordered set |
corrMode | the correlation mode used:
|
atmPhaseCodes | the vector of atmospheric phase correction enumerators used:
|
sdmbin::DataDescriptionsSet::DataDescriptionsSet | ( | vector< int > | v_switchCycleId, |
vector< int > | v_dataDescriptionId, | ||
CorrelationMode | corrMode, | ||
vector< AtmPhaseCorrection > | atmPhaseCodes | ||
) |
Define the first level in the tree hierarchy.
datasetPtr | the SDM dataset |
switchCyclesList | a switchCycle object |
v_dataDescriptionIdArray | the set of DataDescription identifiers |
corrMode | the correlation mode used:
|
atmPhaseCodes | the vector of atmospheric phase correction enumerators used:
|
bitSize | (MAY BECOME OBSOLETE in the future since bitSize is now imposed to be the same for all spectral windows) |
Copy constructor.
virtual sdmbin::DataDescriptionsSet::~DataDescriptionsSet | ( | ) | [virtual] |
Destructor.
sdmbin::DataDescriptionsSet::DataDescriptionsSet | ( | ASDM *const | datasetPtr, |
vector< Tag > | v_switchCycleId, | ||
vector< Tag > | v_dataDescriptionId, | ||
CorrelationMode | corrMode, | ||
vector< AtmPhaseCorrection > | atmPhaseCodes | ||
) |
Define the first level in the tree hierarchy.
v_switchCycleId | a sequence of switchCycle identifiers, one per data description. It is not a set |
v_dataDescriptionId | the sequence of DataDescription identifiers. it is an ordered set |
corrMode | the correlation mode used:
|
atmPhaseCodes | the vector of atmospheric phase correction enumerators used:
|
sdmbin::DataDescriptionsSet::DataDescriptionsSet | ( | vector< int > | v_switchCycleId, |
vector< int > | v_dataDescriptionId, | ||
CorrelationMode | corrMode, | ||
vector< AtmPhaseCorrection > | atmPhaseCodes | ||
) |
Define the first level in the tree hierarchy.
datasetPtr | the SDM dataset |
switchCyclesList | a switchCycle object |
v_dataDescriptionIdArray | the set of DataDescription identifiers |
corrMode | the correlation mode used:
|
atmPhaseCodes | the vector of atmospheric phase correction enumerators used:
|
bitSize | (MAY BECOME OBSOLETE in the future since bitSize is now imposed to be the same for all spectral windows) |
Copy constructor.
virtual sdmbin::DataDescriptionsSet::~DataDescriptionsSet | ( | ) | [virtual] |
Destructor.
Enum<AtmPhaseCorrection> sdmbin::DataDescriptionsSet::atmPhaseCorrection | ( | unsigned int | atmPhaseCorrectionIndex | ) |
Accessor to the atmospherePhaseCorrection.
atmPhaseCorrectionIndex | index (0-based) along the apc axis |
Enum<AtmPhaseCorrection> sdmbin::DataDescriptionsSet::atmPhaseCorrection | ( | unsigned int | atmPhaseCorrectionIndex | ) |
Accessor to the atmospherePhaseCorrection.
atmPhaseCorrectionIndex | index (0-based) along the apc axis |
unsigned int sdmbin::DataDescriptionsSet::atmPhaseCorrectionIndex | ( | AtmPhaseCorrection | apc | ) |
Get the index position along the apc axis.
apc | an AtmPhaseCorrection enumerator |
-1 | returned if the input apc value is not present on the apc axis |
unsigned int sdmbin::DataDescriptionsSet::atmPhaseCorrectionIndex | ( | AtmPhaseCorrection | apc | ) |
Get the index position along the apc axis.
apc | an AtmPhaseCorrection enumerator |
-1 | returned if the input apc value is not present on the apc axis |
Tag sdmbin::DataDescriptionsSet::getAutoDataDescriptionId | ( | Tag | crossDataDescriptionId | ) |
Get the array of dataDescriptionId identifiers for the auto-correlations.
crossDataDescriptionId | one of the dataDescription identifiers in the set used for the configuration setup |
crossDataDescriptionId | does not exist in the set of dataDescription identifiers in the setup |
Tag sdmbin::DataDescriptionsSet::getAutoDataDescriptionId | ( | Tag | crossDataDescriptionId | ) |
Get the array of dataDescriptionId identifiers for the auto-correlations.
crossDataDescriptionId | one of the dataDescription identifiers in the set used for the configuration setup |
crossDataDescriptionId | does not exist in the set of dataDescription identifiers in the setup |
Get the array of dataDescriptionId identifiers for the cross-correlations.
Would | correlationMode=0 the returned vector would have a size of 0 |
Get the array of dataDescriptionId identifiers for the cross-correlations.
Would | correlationMode=0 the returned vector would have a size of 0 |
unsigned long sdmbin::DataDescriptionsSet::getAutoSize | ( | ) |
Get the size of the block of data for the auto-correlations originating from one antenna.
This size is determined according to the formula
where, for pure single-dish, (i.e. correlationMode=1),
and for correlationMode=2
unsigned long sdmbin::DataDescriptionsSet::getAutoSize | ( | ) |
Get the size of the block of data for the auto-correlations originating from one antenna.
This size is determined according to the formula
where, for pure single-dish, (i.e. correlationMode=1),
and for correlationMode=2
unsigned int sdmbin::DataDescriptionsSet::getBasebandIndex | ( | unsigned int | ndd | ) |
Get the baseband number of a given dataDescription.
ndd | The index of the dataDescription identifier |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
unsigned int sdmbin::DataDescriptionsSet::getBasebandIndex | ( | unsigned int | ndd | ) |
Get the baseband number of a given dataDescription.
ndd | The index of the dataDescription identifier |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
BasebandName sdmbin::DataDescriptionsSet::getBasebandName | ( | unsigned int | ndd | ) |
Get the baseband name of a given dataDescription.
ndd | The index (zero-based) of the dataDescription identifier |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
BasebandName sdmbin::DataDescriptionsSet::getBasebandName | ( | unsigned int | ndd | ) |
Get the baseband name of a given dataDescription.
ndd | The index (zero-based) of the dataDescription identifier |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
CorrelationMode sdmbin::DataDescriptionsSet::getCorrelationMode | ( | ) |
Get the bitSize (actually the number of bytes, 2 or 4) used for the visibilities.
CorrelationMode sdmbin::DataDescriptionsSet::getCorrelationMode | ( | ) |
Get the bitSize (actually the number of bytes, 2 or 4) used for the visibilities.
Get the array of dataDescriptionId identifiers for the cross-correlations.
would | correlationMode=1 the returned vector would have a size of 0 |
Get the array of dataDescriptionId identifiers for the cross-correlations.
would | correlationMode=1 the returned vector would have a size of 0 |
unsigned long sdmbin::DataDescriptionsSet::getCrossSize | ( | ) |
Get the size of the block of cross-correlation data for the ensemble of spectral windows and a single non-zero baseline.
This size is determined according to the formula
where there is a factor 2 because a visibility is a complex.
=2 or 4 bytes (ref. note of Steeve).
unsigned long sdmbin::DataDescriptionsSet::getCrossSize | ( | ) |
Get the size of the block of cross-correlation data for the ensemble of spectral windows and a single non-zero baseline.
This size is determined according to the formula
where there is a factor 2 because a visibility is a complex.
=2 or 4 bytes (ref. note of Steeve).
unsigned int sdmbin::DataDescriptionsSet::getDataDescriptionIndex | ( | Tag | dataDescriptionId | ) |
Get the dataDescription index given a dataDescriptionId identifier.
dataDescriptionId | The dataDescriptionId identifier |
dataDescriptionId | does not exist in the set of dataDescription identifiers in the configuration |
unsigned int sdmbin::DataDescriptionsSet::getDataDescriptionIndex | ( | Tag | dataDescriptionId | ) |
Get the dataDescription index given a dataDescriptionId identifier.
dataDescriptionId | The dataDescriptionId identifier |
dataDescriptionId | does not exist in the set of dataDescription identifiers in the configuration |
unsigned int sdmbin::DataDescriptionsSet::getNdd | ( | unsigned int | bbIndex, |
unsigned int | j | ||
) |
Get the index of a dataDescription given its index in its parent baseband.
bbIndex | The baseband index |
bbIndex | eqaul or exceeding the number of basebands used in the configuration |
j | The dataDescription index (zero-based) within that baseband |
j | too large for the number of dataDescriptions in the given baseband |
unsigned int sdmbin::DataDescriptionsSet::getNdd | ( | unsigned int | bbIndex, |
unsigned int | j | ||
) |
Get the index of a dataDescription given its index in its parent baseband.
bbIndex | The baseband index |
bbIndex | eqaul or exceeding the number of basebands used in the configuration |
j | The dataDescription index (zero-based) within that baseband |
j | too large for the number of dataDescriptions in the given baseband |
unsigned int sdmbin::DataDescriptionsSet::getNdd | ( | BasebandName | bbName, |
unsigned int | j | ||
) |
Get the index of a dataDescription given its index in its parent baseband.
bbName | The baseband name |
j | The dataDescription index (zero-based) within that baseband |
no | such babseband name in the configuration or j too large for the number of dataDescriptions given that baseband |
unsigned int sdmbin::DataDescriptionsSet::getNdd | ( | BasebandName | bbName, |
unsigned int | j | ||
) |
Get the index of a dataDescription given its index in its parent baseband.
bbName | The baseband name |
j | The dataDescription index (zero-based) within that baseband |
no | such babseband name in the configuration or j too large for the number of dataDescriptions given that baseband |
unsigned long sdmbin::DataDescriptionsSet::getNumAutoData | ( | ) |
Number of auto-correlations produce for one antenna.
unsigned long sdmbin::DataDescriptionsSet::getNumAutoData | ( | ) |
Number of auto-correlations produce for one antenna.
unsigned long sdmbin::DataDescriptionsSet::getNumAutoData | ( | Tag | autoDataDescriptionId | ) |
Number of auto-correlations produced by one antenna for one dataDescription.
autoDataDescriptionId | dataDescription identifier of the subset of auto-correlations |
autoDataDescriptionId | (eventualy as infered from crossDataDescriptionId) does not exist for the configuration setup |
unsigned long sdmbin::DataDescriptionsSet::getNumAutoData | ( | Tag | autoDataDescriptionId | ) |
Number of auto-correlations produced by one antenna for one dataDescription.
autoDataDescriptionId | dataDescription identifier of the subset of auto-correlations |
autoDataDescriptionId | (eventualy as infered from crossDataDescriptionId) does not exist for the configuration setup |
unsigned int sdmbin::DataDescriptionsSet::getNumChan | ( | unsigned int | ndd | ) |
Get the number of frequency channels for a given dataDescription.
ndd | The dataDescription number |
ndd | equal or exeeding the number of dataDescription in the configuration setup |
unsigned int sdmbin::DataDescriptionsSet::getNumChan | ( | unsigned int | ndd | ) |
Get the number of frequency channels for a given dataDescription.
ndd | The dataDescription number |
ndd | equal or exeeding the number of dataDescription in the configuration setup |
unsigned long sdmbin::DataDescriptionsSet::getNumCrossData | ( | ) |
Number of cross-correlations produced by one non-zero baseline for the set of dataDescriptions.
unsigned long sdmbin::DataDescriptionsSet::getNumCrossData | ( | ) |
Number of cross-correlations produced by one non-zero baseline for the set of dataDescriptions.
unsigned long sdmbin::DataDescriptionsSet::getNumCrossData | ( | Tag | crossDataDescriptionId | ) |
Number of cross-correlations produced by one non-zero baseline for a given dataDescription.
crossDataDescriptionId | one of the dataDescription identifiers in the set used for the configuration setup |
crossDataDescriptionId | does not exist in the set of dataDescription identifiers in the setup configDescription setup |
unsigned long sdmbin::DataDescriptionsSet::getNumCrossData | ( | Tag | crossDataDescriptionId | ) |
Number of cross-correlations produced by one non-zero baseline for a given dataDescription.
crossDataDescriptionId | one of the dataDescription identifiers in the set used for the configuration setup |
crossDataDescriptionId | does not exist in the set of dataDescription identifiers in the setup configDescription setup |
unsigned int sdmbin::DataDescriptionsSet::getNumDataDescription | ( | ) |
Get the number of dataDescription.
unsigned int sdmbin::DataDescriptionsSet::getNumDataDescription | ( | ) |
Get the number of dataDescription.
unsigned int sdmbin::DataDescriptionsSet::getNumPol | ( | unsigned int | bbIndex | ) |
Get the number of Polarization Products given a baseband.
nbb | The baseband index |
bbIndex | is equal or exceeds number of basebands in the configuration or not baseband independent |
unsigned int sdmbin::DataDescriptionsSet::getNumPol | ( | unsigned int | bbIndex | ) |
Get the number of Polarization Products given a baseband.
nbb | The baseband index |
bbIndex | is equal or exceeds number of basebands in the configuration or not baseband independent |
unsigned int sdmbin::DataDescriptionsSet::getNumPol | ( | BasebandName | bbName | ) |
Get the number of Polarization Products given a baseband.
bbName | The baseband index (0-based) |
unsigned int sdmbin::DataDescriptionsSet::getNumPol | ( | BasebandName | bbName | ) |
Get the number of Polarization Products given a baseband.
bbName | The baseband index (0-based) |
unsigned int sdmbin::DataDescriptionsSet::getNumSdPol | ( | unsigned int | bbIndex | ) |
Get the number of Polarization Products in the case of zero-baselines given a baseband.
bbIndex | The baseband index |
not | baseband independent |
unsigned int sdmbin::DataDescriptionsSet::getNumSdPol | ( | unsigned int | bbIndex | ) |
Get the number of Polarization Products in the case of zero-baselines given a baseband.
bbIndex | The baseband index |
not | baseband independent |
unsigned int sdmbin::DataDescriptionsSet::getNumSdPol | ( | BasebandName | bbName | ) |
Get the number of Polarization Products in the case of zero-baselines given a baseband.
bbName | The baseband index (0-based) |
unsigned int sdmbin::DataDescriptionsSet::getNumSdPol | ( | BasebandName | bbName | ) |
Get the number of Polarization Products in the case of zero-baselines given a baseband.
bbName | The baseband index (0-based) |
unsigned int sdmbin::DataDescriptionsSet::getNumSpw | ( | unsigned int | bbIndex | ) |
Get the number of Spectral Windows in a given baseband identified by its index.
bbNum | The baseband index (zero-based) |
bbNum | illegal or exceeding the number of basebands used in the configuration |
unsigned int sdmbin::DataDescriptionsSet::getNumSpw | ( | unsigned int | bbIndex | ) |
Get the number of Spectral Windows in a given baseband identified by its index.
bbNum | The baseband index (zero-based) |
bbNum | illegal or exceeding the number of basebands used in the configuration |
unsigned int sdmbin::DataDescriptionsSet::getNumSpw | ( | BasebandName | bbName | ) |
Get the number of Spectral Windows in a given baseband identified by its name.
bbName | The baseband name |
unsigned int sdmbin::DataDescriptionsSet::getNumSpw | ( | BasebandName | bbName | ) |
Get the number of Spectral Windows in a given baseband identified by its name.
bbName | The baseband name |
Tag sdmbin::DataDescriptionsSet::getSpwId | ( | unsigned int | ndd | ) |
Accessor to get the spwtral window identifier of a given dataDescription.
ndd | The index of the dataDescription identifier in dataDescriptionIdArray |
ndd | is too large for the number of dataDescriptions in the ConfigDescription |
Tag sdmbin::DataDescriptionsSet::getSpwId | ( | unsigned int | ndd | ) |
Accessor to get the spwtral window identifier of a given dataDescription.
ndd | The index of the dataDescription identifier in dataDescriptionIdArray |
ndd | is too large for the number of dataDescriptions in the ConfigDescription |
void sdmbin::DataDescriptionsSet::mapScToBaseband | ( | ) | [private, virtual] |
SwitchCyclesList defines the abstract base type of a hierarchy.
Implements sdmbin::SwitchCyclesList.
void sdmbin::DataDescriptionsSet::mapScToBaseband | ( | ) | [private, virtual] |
SwitchCyclesList defines the abstract base type of a hierarchy.
Implements sdmbin::SwitchCyclesList.
unsigned int sdmbin::DataDescriptionsSet::metaDataIndex | ( | unsigned int | ndd | ) |
Provide the index for a given dataDescription in the meta-data tree.
ndd | The index (zero-based) of the dataDescription identifier in dataDescriptionIdArray, the second parameter in the signature of the constructors. |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
unsigned int sdmbin::DataDescriptionsSet::metaDataIndex | ( | unsigned int | ndd | ) |
Provide the index for a given dataDescription in the meta-data tree.
ndd | The index (zero-based) of the dataDescription identifier in dataDescriptionIdArray, the second parameter in the signature of the constructors. |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
void sdmbin::DataDescriptionsSet::metaDataIndex | ( | ) | [private] |
void sdmbin::DataDescriptionsSet::metaDataIndex | ( | ) | [private] |
unsigned int sdmbin::DataDescriptionsSet::numApc | ( | ) |
Size of the apc axis (can be only 1 or 2)
unsigned int sdmbin::DataDescriptionsSet::numApc | ( | ) |
Size of the apc axis (can be only 1 or 2)
int sdmbin::DataDescriptionsSet::numAutoData | ( | unsigned int | ndd | ) |
Provide the number of auto-correlations for a given dataDescription.
ndd | The index (zero-based) of the dataDescription identifier in dataDescriptionIdArray (2nd param. in the constructors). |
ndd | has a value which is illegal or too large for the number of dataDescription used in the configuration |
0 | returned (lax mode) if correlationMode=0. |
int sdmbin::DataDescriptionsSet::numAutoData | ( | unsigned int | ndd | ) |
Provide the number of auto-correlations for a given dataDescription.
ndd | The index (zero-based) of the dataDescription identifier in dataDescriptionIdArray (2nd param. in the constructors). |
ndd | has a value which is illegal or too large for the number of dataDescription used in the configuration |
0 | returned (lax mode) if correlationMode=0. |
unsigned int sdmbin::DataDescriptionsSet::numBaseband | ( | ) |
Accessor to the number of basebands.
unsigned int sdmbin::DataDescriptionsSet::numBaseband | ( | ) |
Accessor to the number of basebands.
unsigned int sdmbin::DataDescriptionsSet::numBin | ( | unsigned int | ndd | ) |
Accessor to the number of steps for the baseband of a given dataDescription.
ndd | The index of the dataDescrition identifier in dataDescriptionIdArray (2nd param. in the constructors). |
ndd | is too large for the number of dataDescriptions in the ConfigDescription |
unsigned int sdmbin::DataDescriptionsSet::numBin | ( | unsigned int | ndd | ) | [inline] |
Accessor to the number of steps for the baseband of a given dataDescription.
ndd | The index of the dataDescrition identifier in dataDescriptionIdArray (2nd param. in the constructors). |
ndd | is too large for the number of dataDescriptions in the ConfigDescription |
if(ndd>=v_basebandName_.size()) Error(SERIOUS,"The dataDescription index must be smaller than %d", v_basebandName_.size());
if(ndd>=v_basebandName_.size()) Error(SERIOUS,"The dataDescription index must be smaller than %d", v_basebandName_.size());
Definition at line 293 of file BaselinesSet.h.
References sdmbin::SwitchCyclesList::v_numBin_.
Referenced by sdmbin::BaselinesSet::transferId().
unsigned int sdmbin::DataDescriptionsSet::numChan | ( | unsigned int | ndd | ) |
Accessor to the number of frequency channels of a given dataDescription.
ndd | The index of the dataDescription identifier in dataDescriptionIdArray (2nd param. in the constructors). |
ndd | is too large for the number of dataDescriptions in the ConfigDescription |
unsigned int sdmbin::DataDescriptionsSet::numChan | ( | unsigned int | ndd | ) |
Accessor to the number of frequency channels of a given dataDescription.
ndd | The index of the dataDescription identifier in dataDescriptionIdArray (2nd param. in the constructors). |
ndd | is too large for the number of dataDescriptions in the ConfigDescription |
unsigned int sdmbin::DataDescriptionsSet::numCrossData | ( | unsigned int | ndd | ) |
Provide the number of cross-correlations for a given dataDescription.
ndd | The index (zero-based) of the dataDescription identifier in dataDescriptionIdArray |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
returns | 0 if correlationMode=1. |
unsigned int sdmbin::DataDescriptionsSet::numCrossData | ( | unsigned int | ndd | ) |
Provide the number of cross-correlations for a given dataDescription.
ndd | The index (zero-based) of the dataDescription identifier in dataDescriptionIdArray |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
returns | 0 if correlationMode=1. |
unsigned int sdmbin::DataDescriptionsSet::numPol | ( | unsigned int | ndd | ) |
Accessor to the number of polarization products of a given dataDescription.
ndd | The index of the dataDescrition identifier in dataDescriptionIdArray (2nd param. in the constructors). |
ndd | is too large for the number of dataDescriptions in the ConfigDescription |
unsigned int sdmbin::DataDescriptionsSet::numPol | ( | unsigned int | ndd | ) |
Accessor to the number of polarization products of a given dataDescription.
ndd | The index of the dataDescrition identifier in dataDescriptionIdArray (2nd param. in the constructors). |
ndd | is too large for the number of dataDescriptions in the ConfigDescription |
unsigned int sdmbin::DataDescriptionsSet::numSdPol | ( | unsigned int | ndd | ) |
Accessor to the number of polarization cross-products of a given dataDescription.
ndd | The index (zero-based) of the dataDescription identifier in dataDescriptionIdArray (2nd param. in the constructors). |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
unsigned int sdmbin::DataDescriptionsSet::numSdPol | ( | unsigned int | ndd | ) |
Accessor to the number of polarization cross-products of a given dataDescription.
ndd | The index (zero-based) of the dataDescription identifier in dataDescriptionIdArray (2nd param. in the constructors). |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
void sdmbin::DataDescriptionsSet::size | ( | ) | [private] |
void sdmbin::DataDescriptionsSet::size | ( | ) | [private] |
unsigned int sdmbin::DataDescriptionsSet::sumMetaDataIndex | ( | ) |
Provide the number of switchCycle phases cumulated over all the basebands in the configuration.
unsigned int sdmbin::DataDescriptionsSet::sumMetaDataIndex | ( | ) |
Provide the number of switchCycle phases cumulated over all the basebands in the configuration.
Frequency sdmbin::DataDescriptionsSet::totBandwidth | ( | unsigned int | ndd | ) |
Accessor to the total frequency bandwidth of a given dataDescription.
ndd | The index (zero-based) of the dataDescription identifier dataDescriptionIdArray (2nd param. in the constructors). |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
Frequency sdmbin::DataDescriptionsSet::totBandwidth | ( | unsigned int | ndd | ) |
Accessor to the total frequency bandwidth of a given dataDescription.
ndd | The index (zero-based) of the dataDescription identifier dataDescriptionIdArray (2nd param. in the constructors). |
ndd | has an illegal value or is too large for the number of dataDescriptions in the ConfigDescription |
CorrelationMode sdmbin::DataDescriptionsSet::correlationMode_ [protected] |
Correlation mode.
Definition at line 472 of file DataDescriptionsSet.h.
EnumSet< BasebandName > sdmbin::DataDescriptionsSet::e_basebandSet_ [protected] |
Set of baseband names.
Definition at line 506 of file DataDescriptionsSet.h.
Enum< CorrelationMode > sdmbin::DataDescriptionsSet::e_cm_ [protected] |
Type-safe correlation mode.
Definition at line 471 of file DataDescriptionsSet.h.
EnumSet< AtmPhaseCorrection > sdmbin::DataDescriptionsSet::es_apc_ [protected] |
Atmospheric Phase Correction set.
Definition at line 474 of file DataDescriptionsSet.h.
map< BasebandName, vector< DataDescParams > > sdmbin::DataDescriptionsSet::m_bn_v_ddp_ [protected] |
The sequence of dataDescParams in the different basebands.
Definition at line 482 of file DataDescriptionsSet.h.
map< Tag, BasebandName > sdmbin::DataDescriptionsSet::m_ddid_bbn_ [protected] |
Association between the dataDescriptionId and the baseband name.
Definition at line 483 of file DataDescriptionsSet.h.
unsigned int sdmbin::DataDescriptionsSet::numApc_ [protected] |
APC axis size (can take the value 1 or 2 only)
Definition at line 484 of file DataDescriptionsSet.h.
Referenced by sdmbin::BaselinesSet::transferId().
unsigned int sdmbin::DataDescriptionsSet::numDataDescription_ [protected] |
Explicit number of dataDescriptionId.
Definition at line 485 of file DataDescriptionsSet.h.
unsigned long sdmbin::DataDescriptionsSet::sumAutoSize_ [protected] |
Sum of the elements of the vector v_autoSize_.
Definition at line 488 of file DataDescriptionsSet.h.
unsigned long sdmbin::DataDescriptionsSet::sumCrossSize_ [protected] |
Sum of the elements of the vector v_crossSize_.
Definition at line 489 of file DataDescriptionsSet.h.
Referenced by sdmbin::BaselinesSet::transferId().
unsigned int sdmbin::DataDescriptionsSet::sumMetaDataIndex_ [protected] |
Sum of the elements of the vector v_metaDataIndex_.
Definition at line 487 of file DataDescriptionsSet.h.
vector< AtmPhaseCorrection > sdmbin::DataDescriptionsSet::v_atmPhaseCorrection_ [protected] |
sequence of the Atmospheric Phase Correction values along the apc axis
Definition at line 475 of file DataDescriptionsSet.h.
vector< Tag > sdmbin::DataDescriptionsSet::v_autoDataDescriptionId_ [protected] |
Vector of dataDecsritionId for the auto-correlations (size <= numDataDesc_)
Definition at line 501 of file DataDescriptionsSet.h.
vector< unsigned long > sdmbin::DataDescriptionsSet::v_autoSize_ [protected] |
Size, in nb PDT values, for every dataDesc (size numDataDesc_)
Definition at line 496 of file DataDescriptionsSet.h.
vector< BasebandName > sdmbin::DataDescriptionsSet::v_basebandName_ [protected] |
(size numDataDesc_), baseband name for every spectral window.
Definition at line 480 of file DataDescriptionsSet.h.
vector< BasebandName > sdmbin::DataDescriptionsSet::v_basebandSet_ [protected] |
Sequence of baseband names.
Definition at line 505 of file DataDescriptionsSet.h.
vector< Tag > sdmbin::DataDescriptionsSet::v_crossDataDescriptionId_ [protected] |
Vector of dataDecsritionId for the cross-correlations (size numDataDesc_)
Definition at line 500 of file DataDescriptionsSet.h.
vector< unsigned long > sdmbin::DataDescriptionsSet::v_crossSize_ [protected] |
Size, in nb PDT values, for every dataDesc (size numDataDesc_)
Definition at line 497 of file DataDescriptionsSet.h.
Referenced by sdmbin::BaselinesSet::transferId().
vector< unsigned long > sdmbin::DataDescriptionsSet::v_cumulAutoSize_ [protected] |
Number of bytes to skip for every dataDesc (size numDataDesc_)
Definition at line 492 of file DataDescriptionsSet.h.
vector< unsigned long > sdmbin::DataDescriptionsSet::v_cumulCrossSize_ [protected] |
Number of bytes to skip for every dataDesc (size numDataDesc_)
Definition at line 493 of file DataDescriptionsSet.h.
Referenced by sdmbin::BaselinesSet::transferId().
vector< Tag > sdmbin::DataDescriptionsSet::v_dataDescriptionIdArray_ [protected] |
the input array of dataDescription identifiers
Definition at line 469 of file DataDescriptionsSet.h.
vector< unsigned int > sdmbin::DataDescriptionsSet::v_metaDataIndex_ [protected] |
Indices for positions for every dataDesc (size numDataDesc_)
Definition at line 491 of file DataDescriptionsSet.h.
vector< unsigned long > sdmbin::DataDescriptionsSet::v_numAutoData_ [protected] |
Number of auto-correlations per antenna (size numDataDesc_)
Definition at line 494 of file DataDescriptionsSet.h.
vector< unsigned int > sdmbin::DataDescriptionsSet::v_numChan_ [protected] |
sequence of nb of chan. i.e. spectral points (size numDataDesc_)
Definition at line 479 of file DataDescriptionsSet.h.
vector< unsigned long > sdmbin::DataDescriptionsSet::v_numCrossData_ [protected] |
Number of cross-correlations per antenna pair (size numDataDesc_)
Definition at line 495 of file DataDescriptionsSet.h.
vector< unsigned int > sdmbin::DataDescriptionsSet::v_numPol_ [protected] |
number of cross-products (size numDataDesc_)
Definition at line 477 of file DataDescriptionsSet.h.
vector< unsigned int > sdmbin::DataDescriptionsSet::v_numSpwPerBb_ [protected] |
Number of spectral windows in every baseband.
Definition at line 508 of file DataDescriptionsSet.h.
vector< bool > sdmbin::DataDescriptionsSet::v_pairDataDescriptionId_ [protected] |
true if crossDataDecsritionId assoc to autoDataDecsritionId (size numDataDesc_)
Definition at line 502 of file DataDescriptionsSet.h.
vector< Tag > sdmbin::DataDescriptionsSet::v_spwId_ [protected] |
sequence of spectral window identifiers (size numDataDesc_)
Definition at line 478 of file DataDescriptionsSet.h.
vector< vector< int > > sdmbin::DataDescriptionsSet::vv_nsp_ [protected] |
Nb of chan. per dataDescription (size numBaseband) vectors.
Definition at line 481 of file DataDescriptionsSet.h.