casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes | Private Member Functions
sdmbin::DataStructure Class Reference

A class which gathers the attributes required to define data structures. More...

#include <Integration.h>

Inheritance diagram for sdmbin::DataStructure:
sdmbin::DataDump sdmbin::DataDump sdmbin::Integration sdmbin::Integration sdmbin::Subintegration sdmbin::Subintegration sdmbin::Integration sdmbin::Integration sdmbin::Subintegration sdmbin::Subintegration

List of all members.

Public Member Functions

 DataStructure ()
 Empty constructor.
 DataStructure (uint32_t numPolProduct, uint32_t numBin, Enum< NetSideband > e_sideband, uint32_t numBaseband, uint32_t numAnt, CorrelationMode correlationMode)
 Constructor for a multi-dimensional structure to use e.g.
 DataStructure (uint32_t numPolProduct, uint32_t numSpectralPoint, uint32_t numBin, Enum< NetSideband > e_sideband, uint32_t numBaseband, uint32_t numAnt, CorrelationMode correlationMode)
 An other constructor for a multi-dimensional structure use-case.
 DataStructure (vector< vector< uint32_t > > vv_numCrossPolProduct, vector< vector< uint32_t > > vv_numAutoPolProduct, vector< vector< uint32_t > > vv_numSpectralPoint, vector< vector< uint32_t > > vv_numBin, vector< vector< Enum< NetSideband > > > vv_e_sideband, uint32_t numApc, vector< uint32_t > v_numSpectralWindow, uint32_t numBaseband, uint32_t numAnt, CorrelationMode correlationMode)
 Constructor in the general case, the data structure being eventualy a tree-hierarchy.
 DataStructure (vector< vector< uint32_t > > vv_numAutoPolProduct, vector< vector< uint32_t > > vv_numSpectralPoint, vector< vector< uint32_t > > vv_numBin, vector< vector< Enum< NetSideband > > > vv_e_sideband, uint32_t numApc, vector< uint32_t > v_numSpectralWindow, uint32_t numBaseband, uint32_t numAnt, CorrelationMode correlationMode)
 Constructor for the single-dish case, the data structure being eventually a tree-hierarchy.
 DataStructure (const DataStructure &)
 Copy constructor.
 ~DataStructure ()
 Destructor (use the default implementation)
vector< vector< uint32_t > > numCrossPolProducts ()
 Accessor to the number of polarization cross product for non-zero baselines in every spectral window for every baseband.
vector< vector< uint32_t > > numAutoPolProducts ()
 Accessor to the number of polarization cross product for zero-baselines in every spectral window for every baseband.
vector< vector< uint32_t > > numSpectralPoints ()
 Accessor to the number of spectral points in every spectral window for every baseband.
vector< vector< uint32_t > > numBins ()
 Accessor to the number of bins in every spectral window for every baseband.
vector< vector< Enum
< NetSideband > > > 
sidebands ()
 Accessor to the NetSideband qualifiers in every spectral window for every baseband.
uint32_t numApc ()
 Accessor to the size of the APC axis.
vector< uint32_t > numSpectralWindows ()
 Accessor to the number of spectral windows in the different basebands.
uint32_t numBaseband ()
 Accessor to the number of basebands.
uint32_t numAnt ()
 Accessor to the number of antennas.
CorrelationMode correlationMode ()
 Accessor to the correlationMode.
vector< uint32_t > leafAxisSizes ()
 Method to get the axis sizes of the leaves when represented as multi-dimensional structures.
vector< uint32_t > leafAxisSizes (uint32_t basebandIndex, uint32_t spectralWindowIndex)
 Axis sizes of the leave of a data structure which may not be necessarily multi-dimensional.
vector< uint32_t > leafAxisSizes (uint32_t dataDescriptionIndex)
 Axis sizes of the leave of a data structure which may not be necessarily multi-dimensional.
uint32_t isIndexible () const
 A method to know if the whole data structure can be considered as a multi-dimensional structure or not.
vector< uint32_t > eAxisSizes () const
 A method to retrieve the size of all the different axes in case of a multi-dimensional structure.
vector< uint32_t > axisSizes () const
 A method to retrieve the size of the axes for a multi-dimensional structure.
uint32_t dimension () const
 Accessor to the dimensionality of the structure.
vector< uint32_t > minAxSize () const
 Minimum size for every axis (level) in the structure.
vector< uint32_t > maxAxSize () const
 Maximum size for every axis (level) in the structure.
uint32_t numAutoData () const
 Number of data value (leaves) that can host the structure.
uint32_t numCrossData () const
 Number of data value (leaves) that can host the structure.
string axisSequence () const
 Axis sequense: For example 128 means a structure with 3 axes, pol,sp,na.
void summary () const
 Utility which sumarizes the properties of the data structure.
 DataStructure ()
 Empty constructor.
 DataStructure (uint32_t numPolProduct, uint32_t numBin, Enum< NetSideband > e_sideband, uint32_t numBaseband, uint32_t numAnt, CorrelationMode correlationMode)
 Constructor for a multi-dimensional structure to use e.g.
 DataStructure (uint32_t numPolProduct, uint32_t numSpectralPoint, uint32_t numBin, Enum< NetSideband > e_sideband, uint32_t numBaseband, uint32_t numAnt, CorrelationMode correlationMode)
 An other constructor for a multi-dimensional structure use-case.
 DataStructure (vector< vector< uint32_t > > vv_numCrossPolProduct, vector< vector< uint32_t > > vv_numAutoPolProduct, vector< vector< uint32_t > > vv_numSpectralPoint, vector< vector< uint32_t > > vv_numBin, vector< vector< Enum< NetSideband > > > vv_e_sideband, uint32_t numApc, vector< uint32_t > v_numSpectralWindow, uint32_t numBaseband, uint32_t numAnt, CorrelationMode correlationMode)
 Constructor in the general case, the data structure being eventualy a tree-hierarchy.
 DataStructure (vector< vector< uint32_t > > vv_numAutoPolProduct, vector< vector< uint32_t > > vv_numSpectralPoint, vector< vector< uint32_t > > vv_numBin, vector< vector< Enum< NetSideband > > > vv_e_sideband, uint32_t numApc, vector< uint32_t > v_numSpectralWindow, uint32_t numBaseband, uint32_t numAnt, CorrelationMode correlationMode)
 Constructor for the single-dish case, the data structure being eventually a tree-hierarchy.
 DataStructure (const DataStructure &)
 Copy constructor.
 ~DataStructure ()
 Destructor (use the default implementation)
vector< vector< uint32_t > > numCrossPolProducts ()
 Accessor to the number of polarization cross product for non-zero baselines in every spectral window for every baseband.
vector< vector< uint32_t > > numAutoPolProducts ()
 Accessor to the number of polarization cross product for zero-baselines in every spectral window for every baseband.
vector< vector< uint32_t > > numSpectralPoints ()
 Accessor to the number of spectral points in every spectral window for every baseband.
vector< vector< uint32_t > > numBins ()
 Accessor to the number of bins in every spectral window for every baseband.
vector< vector< Enum
< NetSideband > > > 
sidebands ()
 Accessor to the NetSideband qualifiers in every spectral window for every baseband.
uint32_t numApc ()
 Accessor to the size of the APC axis.
vector< uint32_t > numSpectralWindows ()
 Accessor to the number of spectral windows in the different basebands.
uint32_t numBaseband ()
 Accessor to the number of basebands.
uint32_t numAnt ()
 Accessor to the number of antennas.
CorrelationMode correlationMode ()
 Accessor to the correlationMode.
vector< uint32_t > leafAxisSizes ()
 Method to get the axis sizes of the leaves when represented as multi-dimensional structures.
vector< uint32_t > leafAxisSizes (uint32_t basebandIndex, uint32_t spectralWindowIndex)
 Axis sizes of the leave of a data structure which may not be necessarily multi-dimensional.
vector< uint32_t > leafAxisSizes (uint32_t dataDescriptionIndex)
 Axis sizes of the leave of a data structure which may not be necessarily multi-dimensional.
uint32_t isIndexible () const
 A method to know if the whole data structure can be considered as a multi-dimensional structure or not.
vector< uint32_t > eAxisSizes () const
 A method to retrieve the size of all the different axes in case of a multi-dimensional structure.
vector< uint32_t > axisSizes () const
 A method to retrieve the size of the axes for a multi-dimensional structure.
uint32_t dimension () const
 Accessor to the dimensionality of the structure.
vector< uint32_t > minAxSize () const
 Minimum size for every axis (level) in the structure.
vector< uint32_t > maxAxSize () const
 Maximum size for every axis (level) in the structure.
uint32_t numAutoData () const
 Number of data value (leaves) that can host the structure.
uint32_t numCrossData () const
 Number of data value (leaves) that can host the structure.
string axisSequence () const
 Axis sequense: For example 128 means a structure with 3 axes, pol,sp,na.
void summary () const
 Utility which sumarizes the properties of the data structure.

Protected Attributes

vector< vector< uint32_t > > vv_numCrossPolProduct_
vector< vector< uint32_t > > vv_numAutoPolProduct_
vector< vector< uint32_t > > vv_numSpectralPoint_
vector< vector< uint32_t > > vv_numBin_
vector< vector< Enum
< NetSideband > > > 
vv_e_sideband_
uint32_t numApc_
vector< uint32_t > v_numSpectralWindow_
uint32_t numBaseband_
uint32_t numAnt_
CorrelationMode correlationMode_
string axisSequence_
vector< uint32_t > v_minSize_
vector< uint32_t > v_maxSize_

Private Member Functions

string setStructureProperties ()
string setStructureProperties ()

Detailed Description

A class which gathers the attributes required to define data structures.

A structure is abstract; it may have the properties of a multi-dimensional structure or of a tree-hierarchy, the dimensionality being reflected by the number of axes in one case or levels in the other case.

A structure may have up to 7 levels:

The choice between the axis 7 and 8 depends on the correlation mode. Note that for meta-data 7 and 8 can be considered implicitly at the same level. For the actual data (visibilities or auto-correlations) 7 and 8 are each other exclusive.

Note:
The header of a SDM BLOB has all the informations required to define a data structure. Note also that there are two attributes based on enumerations, sideband and correlationMode. Strictly speacking these do not impact of the data structure. They merely qualify the data contents.

The attribute 'sideband' provides purely semantic information. When there are sidebands it is not mandatory to group substructures by pairs of sidebands because it is not required to store the image sideband.

The attribute 'correlationMode' provides semantic information for the context which constrains the nature of the data, each of these having their own data structure.

Definition at line 44 of file Integration.h.


Constructor & Destructor Documentation

Empty constructor.

sdmbin::DataStructure::DataStructure ( uint32_t  numPolProduct,
uint32_t  numBin,
Enum< NetSideband >  e_sideband,
uint32_t  numBaseband,
uint32_t  numAnt,
CorrelationMode  correlationMode 
)

Constructor for a multi-dimensional structure to use e.g.

for total power data produced by the baseband processor with correlationMode=1. Determine the property of the structure.

Note:
For simulated data which do not account for sideband effects the attribute e_sideband may have no NetSideband enumerator set. For true data, the hardware used being in principle always known, the appropriated enumerator should be set. The attribute 'sideband' being mandatory in the SDM-BDF, when there is no enumerator set, the value stored for that format will be NOSB. Correlation mode (CROSS_ONLY | AUTO_ONLY | CROSS_AND_AUTO )
Parameters:
numPolProductNumber of polarization products
numBinNumber of step in a switching cycle
e_sidebandSideband qualifier (not set or NOSB | LSB | USB | DSB )
numBasebandNumber of basebands
numAntNumber of antennas
sdmbin::DataStructure::DataStructure ( uint32_t  numPolProduct,
uint32_t  numSpectralPoint,
uint32_t  numBin,
Enum< NetSideband >  e_sideband,
uint32_t  numBaseband,
uint32_t  numAnt,
CorrelationMode  correlationMode 
)

An other constructor for a multi-dimensional structure use-case.

Determine the property of the structure.

Parameters:
numPolProductNumber of polarization cross-products
numSpectralPointNumber of spectral points in the spectral window
numBinNumber of bins in the switch cycle
numBasebandNumber of basebands
numAntNumber of antenna (used to determine the number of baselines if correlationMode=CROSS_ONLY or CROSS_AND_AUTO
e_sidebandSideband NOSB | LSB | USB | DSB
correlationMode
  • CROSS_ONLY only non-zero antenna baselines
  • AUTO_ONLY only zero baselines (single-dish)
  • CROSS_AND_AUTO both zero and non-zero.
Note:
For simulated data which do not account for sideband effects the attribute e_sideband may have no NetSideband enumerator set. For true data, the hardware used being in principle always known, the appropriated enumerator should be set. The attribute 'sideband' being mandatory in the SDM-BDF, when there is no enumerator set, the value stored for that format will be NOSB.
sdmbin::DataStructure::DataStructure ( vector< vector< uint32_t > >  vv_numCrossPolProduct,
vector< vector< uint32_t > >  vv_numAutoPolProduct,
vector< vector< uint32_t > >  vv_numSpectralPoint,
vector< vector< uint32_t > >  vv_numBin,
vector< vector< Enum< NetSideband > > >  vv_e_sideband,
uint32_t  numApc,
vector< uint32_t >  v_numSpectralWindow,
uint32_t  numBaseband,
uint32_t  numAnt,
CorrelationMode  correlationMode 
)

Constructor in the general case, the data structure being eventualy a tree-hierarchy.

Determine the property of the structure.

Parameters:
vv_numPolProductNumber of polarization product in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_numSpectralPointNumber of spectral points in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_numBinNumber of bins (steps in a switch cycle) in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_e_sidebandSideband qualifying every spectral window of every baseband.
numApcSize o the atmospheric correction axis
v_numSpectralWindowNumber of spectral window in for every baseband. This vector has a size equal to numBaseband.
numBasebandNumber of baseband
numAntNumber of antenna (used to determine the number of baselines if correlationMode=0 or 2
correlationModeAn enumerator:
  • CROSS_ONLY only non-zero antenna baselines
  • AUTO_ONLY only zero baselines (single-dish)
  • CROSS_AND_AUTO both zero and non-zero.
sdmbin::DataStructure::DataStructure ( vector< vector< uint32_t > >  vv_numAutoPolProduct,
vector< vector< uint32_t > >  vv_numSpectralPoint,
vector< vector< uint32_t > >  vv_numBin,
vector< vector< Enum< NetSideband > > >  vv_e_sideband,
uint32_t  numApc,
vector< uint32_t >  v_numSpectralWindow,
uint32_t  numBaseband,
uint32_t  numAnt,
CorrelationMode  correlationMode 
)

Constructor for the single-dish case, the data structure being eventually a tree-hierarchy.

Determine the property of the structure.

Parameters:
vv_numPolProductNumber of polarization product in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_numSpectralPointNumber of spectral points in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_numBinNumber of bins (steps in a switch cycle) in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_e_sidebandSideband qualifying every spectral window of every baseband.
numApcSize o the atmospheric correction axis
v_numSpectralWindowNumber of spectral window in for every baseband. This vector has a size equal to numBaseband.
numBasebandNumber of baseband
numAntNumber of antenna (used to determine the number of baselines if correlationMode=0 or 2
correlationModeAn enumerator:
  • CROSS_ONLY only non-zero antenna baselines
  • AUTO_ONLY only zero baselines (single-dish)
  • CROSS_AND_AUTO both zero and non-zero.

Copy constructor.

Destructor (use the default implementation)

Empty constructor.

sdmbin::DataStructure::DataStructure ( uint32_t  numPolProduct,
uint32_t  numBin,
Enum< NetSideband >  e_sideband,
uint32_t  numBaseband,
uint32_t  numAnt,
CorrelationMode  correlationMode 
)

Constructor for a multi-dimensional structure to use e.g.

for total power data produced by the baseband processor with correlationMode=1. Determine the property of the structure.

Note:
For simulated data which do not account for sideband effects the attribute e_sideband may have no NetSideband enumerator set. For true data, the hardware used being in principle always known, the appropriated enumerator should be set. The attribute 'sideband' being mandatory in the SDM-BDF, when there is no enumerator set, the value stored for that format will be NOSB. Correlation mode (CROSS_ONLY | AUTO_ONLY | CROSS_AND_AUTO )
Parameters:
numPolProductNumber of polarization products
numBinNumber of step in a switching cycle
e_sidebandSideband qualifier (not set or NOSB | LSB | USB | DSB )
numBasebandNumber of basebands
numAntNumber of antennas
sdmbin::DataStructure::DataStructure ( uint32_t  numPolProduct,
uint32_t  numSpectralPoint,
uint32_t  numBin,
Enum< NetSideband >  e_sideband,
uint32_t  numBaseband,
uint32_t  numAnt,
CorrelationMode  correlationMode 
)

An other constructor for a multi-dimensional structure use-case.

Determine the property of the structure.

Parameters:
numPolProductNumber of polarization cross-products
numSpectralPointNumber of spectral points in the spectral window
numBinNumber of bins in the switch cycle
numBasebandNumber of basebands
numAntNumber of antenna (used to determine the number of baselines if correlationMode=CROSS_ONLY or CROSS_AND_AUTO
e_sidebandSideband NOSB | LSB | USB | DSB
correlationMode
  • CROSS_ONLY only non-zero antenna baselines
  • AUTO_ONLY only zero baselines (single-dish)
  • CROSS_AND_AUTO both zero and non-zero.
Note:
For simulated data which do not account for sideband effects the attribute e_sideband may have no NetSideband enumerator set. For true data, the hardware used being in principle always known, the appropriated enumerator should be set. The attribute 'sideband' being mandatory in the SDM-BDF, when there is no enumerator set, the value stored for that format will be NOSB.
sdmbin::DataStructure::DataStructure ( vector< vector< uint32_t > >  vv_numCrossPolProduct,
vector< vector< uint32_t > >  vv_numAutoPolProduct,
vector< vector< uint32_t > >  vv_numSpectralPoint,
vector< vector< uint32_t > >  vv_numBin,
vector< vector< Enum< NetSideband > > >  vv_e_sideband,
uint32_t  numApc,
vector< uint32_t >  v_numSpectralWindow,
uint32_t  numBaseband,
uint32_t  numAnt,
CorrelationMode  correlationMode 
)

Constructor in the general case, the data structure being eventualy a tree-hierarchy.

Determine the property of the structure.

Parameters:
vv_numPolProductNumber of polarization product in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_numSpectralPointNumber of spectral points in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_numBinNumber of bins (steps in a switch cycle) in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_e_sidebandSideband qualifying every spectral window of every baseband.
numApcSize o the atmospheric correction axis
v_numSpectralWindowNumber of spectral window in for every baseband. This vector has a size equal to numBaseband.
numBasebandNumber of baseband
numAntNumber of antenna (used to determine the number of baselines if correlationMode=0 or 2
correlationModeAn enumerator:
  • CROSS_ONLY only non-zero antenna baselines
  • AUTO_ONLY only zero baselines (single-dish)
  • CROSS_AND_AUTO both zero and non-zero.
sdmbin::DataStructure::DataStructure ( vector< vector< uint32_t > >  vv_numAutoPolProduct,
vector< vector< uint32_t > >  vv_numSpectralPoint,
vector< vector< uint32_t > >  vv_numBin,
vector< vector< Enum< NetSideband > > >  vv_e_sideband,
uint32_t  numApc,
vector< uint32_t >  v_numSpectralWindow,
uint32_t  numBaseband,
uint32_t  numAnt,
CorrelationMode  correlationMode 
)

Constructor for the single-dish case, the data structure being eventually a tree-hierarchy.

Determine the property of the structure.

Parameters:
vv_numPolProductNumber of polarization product in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_numSpectralPointNumber of spectral points in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_numBinNumber of bins (steps in a switch cycle) in every spectral window for every baseband. This vector has a size equal to numBaseband.
vv_e_sidebandSideband qualifying every spectral window of every baseband.
numApcSize o the atmospheric correction axis
v_numSpectralWindowNumber of spectral window in for every baseband. This vector has a size equal to numBaseband.
numBasebandNumber of baseband
numAntNumber of antenna (used to determine the number of baselines if correlationMode=0 or 2
correlationModeAn enumerator:
  • CROSS_ONLY only non-zero antenna baselines
  • AUTO_ONLY only zero baselines (single-dish)
  • CROSS_AND_AUTO both zero and non-zero.

Copy constructor.

Destructor (use the default implementation)


Member Function Documentation

Axis sequense: For example 128 means a structure with 3 axes, pol,sp,na.

Axis sequense: For example 128 means a structure with 3 axes, pol,sp,na.

vector<uint32_t> sdmbin::DataStructure::axisSizes ( ) const

A method to retrieve the size of the axes for a multi-dimensional structure.

This is the compact form where all the axes of size 1 do not participate to set the dimension of the structure. This vector has a size of 0 in case of a tree structure.

vector<uint32_t> sdmbin::DataStructure::axisSizes ( ) const

A method to retrieve the size of the axes for a multi-dimensional structure.

This is the compact form where all the axes of size 1 do not participate to set the dimension of the structure. This vector has a size of 0 in case of a tree structure.

Accessor to the correlationMode.

  • 0 implies only interferometric
  • 1 implies only single-dish
  • 2 implies both interferometric and single-dish

Accessor to the correlationMode.

  • 0 implies only interferometric
  • 1 implies only single-dish
  • 2 implies both interferometric and single-dish

Accessor to the dimensionality of the structure.

If this is a tree-structure this is the number of levels in the hierarchy.

Accessor to the dimensionality of the structure.

If this is a tree-structure this is the number of levels in the hierarchy.

vector<uint32_t> sdmbin::DataStructure::eAxisSizes ( ) const

A method to retrieve the size of all the different axes in case of a multi-dimensional structure.

Returns:
vector<uint32_t> a vector of axis sizes This vector has a size of 0 in case of a tree structure else it is the number of axes (including those with a size of 1)
vector<uint32_t> sdmbin::DataStructure::eAxisSizes ( ) const

A method to retrieve the size of all the different axes in case of a multi-dimensional structure.

Returns:
vector<uint32_t> a vector of axis sizes This vector has a size of 0 in case of a tree structure else it is the number of axes (including those with a size of 1)

A method to know if the whole data structure can be considered as a multi-dimensional structure or not.

Returns:
the dimensionality (return 0 in case of a tree structure).
Postcondition:
when the structure is multi-dimensional the access to the data may be retrieved in the form of an array with this dimensionality.

A method to know if the whole data structure can be considered as a multi-dimensional structure or not.

Returns:
the dimensionality (return 0 in case of a tree structure).
Postcondition:
when the structure is multi-dimensional the access to the data may be retrieved in the form of an array with this dimensionality.

Method to get the axis sizes of the leaves when represented as multi-dimensional structures.

A multi-dimensional leaf is a an array with at most 4 axes:

  • pol (polarization product axis)
  • sp (spectral point axis)
  • apc (atmospheric phase correction axis)
  • bin (bin axis)
    Returns:
    the axis sizes of the leaf, the size of the vector corresponding to the dimensionality of the leaf.

Method to get the axis sizes of the leaves when represented as multi-dimensional structures.

A multi-dimensional leaf is a an array with at most 4 axes:

  • pol (polarization product axis)
  • sp (spectral point axis)
  • apc (atmospheric phase correction axis)
  • bin (bin axis)
    Returns:
    the axis sizes of the leaf, the size of the vector corresponding to the dimensionality of the leaf.
vector<uint32_t> sdmbin::DataStructure::leafAxisSizes ( uint32_t  basebandIndex,
uint32_t  spectralWindowIndex 
)

Axis sizes of the leave of a data structure which may not be necessarily multi-dimensional.

A multi-dimensional leaf is an array with at most 4 axes:

  • pol (polarization product axis)
  • sp (spectral point axis)
  • apc (atmospheric phase correction axis)
  • bin (bin axis)
    Parameters:
    basebandIndexthe baseband index (zero-based)
    spectralWindowIndexthe spectral index (zero-based) in the selected baseband
    Returns:
    the axis sizes of the leaf, the size of the vector corresponding to the dimensionality of the leaf.
vector<uint32_t> sdmbin::DataStructure::leafAxisSizes ( uint32_t  basebandIndex,
uint32_t  spectralWindowIndex 
)

Axis sizes of the leave of a data structure which may not be necessarily multi-dimensional.

A multi-dimensional leaf is an array with at most 4 axes:

  • pol (polarization product axis)
  • sp (spectral point axis)
  • apc (atmospheric phase correction axis)
  • bin (bin axis)
    Parameters:
    basebandIndexthe baseband index (zero-based)
    spectralWindowIndexthe spectral index (zero-based) in the selected baseband
    Returns:
    the axis sizes of the leaf, the size of the vector corresponding to the dimensionality of the leaf.
vector<uint32_t> sdmbin::DataStructure::leafAxisSizes ( uint32_t  dataDescriptionIndex)

Axis sizes of the leave of a data structure which may not be necessarily multi-dimensional.

A multi-dimensional leaf is an array with at most 4 axes:

  • pol (polarization product axis)
  • sp (spectral point axis)
  • apc (atmospheric phase correction axis)
  • bin (bin axis)
    Precondition:
    The spectral windows are grouped per baseband (this must be always the case)
    Parameters:
    dataDescriptionIndex(zero-based)
    spectralWindowIndexthe spectral index (zero-based) in the selected baseband
    Returns:
    the axis sizes of the leaf, the size of the vector corresponding to the dimensionality of the leaf.
vector<uint32_t> sdmbin::DataStructure::leafAxisSizes ( uint32_t  dataDescriptionIndex)

Axis sizes of the leave of a data structure which may not be necessarily multi-dimensional.

A multi-dimensional leaf is an array with at most 4 axes:

  • pol (polarization product axis)
  • sp (spectral point axis)
  • apc (atmospheric phase correction axis)
  • bin (bin axis)
    Precondition:
    The spectral windows are grouped per baseband (this must be always the case)
    Parameters:
    dataDescriptionIndex(zero-based)
    spectralWindowIndexthe spectral index (zero-based) in the selected baseband
    Returns:
    the axis sizes of the leaf, the size of the vector corresponding to the dimensionality of the leaf.
vector<uint32_t> sdmbin::DataStructure::maxAxSize ( ) const

Maximum size for every axis (level) in the structure.

The return size of the vector is equal to the dimension of the structure

vector<uint32_t> sdmbin::DataStructure::maxAxSize ( ) const

Maximum size for every axis (level) in the structure.

The return size of the vector is equal to the dimension of the structure

vector<uint32_t> sdmbin::DataStructure::minAxSize ( ) const

Minimum size for every axis (level) in the structure.

The return size of the vector is equal to the dimension of the structure

vector<uint32_t> sdmbin::DataStructure::minAxSize ( ) const

Minimum size for every axis (level) in the structure.

The return size of the vector is equal to the dimension of the structure

Accessor to the number of antennas.

Accessor to the number of antennas.

Accessor to the size of the APC axis.

Accessor to the size of the APC axis.

Number of data value (leaves) that can host the structure.

Number of data value (leaves) that can host the structure.

vector<vector<uint32_t> > sdmbin::DataStructure::numAutoPolProducts ( )

Accessor to the number of polarization cross product for zero-baselines in every spectral window for every baseband.

vector<vector<uint32_t> > sdmbin::DataStructure::numAutoPolProducts ( )

Accessor to the number of polarization cross product for zero-baselines in every spectral window for every baseband.

Accessor to the number of basebands.

Accessor to the number of basebands.

vector<vector<uint32_t> > sdmbin::DataStructure::numBins ( )

Accessor to the number of bins in every spectral window for every baseband.

vector<vector<uint32_t> > sdmbin::DataStructure::numBins ( )

Accessor to the number of bins in every spectral window for every baseband.

Number of data value (leaves) that can host the structure.

Number of data value (leaves) that can host the structure.

vector<vector<uint32_t> > sdmbin::DataStructure::numCrossPolProducts ( )

Accessor to the number of polarization cross product for non-zero baselines in every spectral window for every baseband.

vector<vector<uint32_t> > sdmbin::DataStructure::numCrossPolProducts ( )

Accessor to the number of polarization cross product for non-zero baselines in every spectral window for every baseband.

vector<vector<uint32_t> > sdmbin::DataStructure::numSpectralPoints ( )

Accessor to the number of spectral points in every spectral window for every baseband.

vector<vector<uint32_t> > sdmbin::DataStructure::numSpectralPoints ( )

Accessor to the number of spectral points in every spectral window for every baseband.

Accessor to the number of spectral windows in the different basebands.

Accessor to the number of spectral windows in the different basebands.

vector<vector<Enum<NetSideband> > > sdmbin::DataStructure::sidebands ( )

Accessor to the NetSideband qualifiers in every spectral window for every baseband.

vector<vector<Enum<NetSideband> > > sdmbin::DataStructure::sidebands ( )

Accessor to the NetSideband qualifiers in every spectral window for every baseband.

Utility which sumarizes the properties of the data structure.

Utility which sumarizes the properties of the data structure.


Member Data Documentation

Definition at line 336 of file Integration.h.

CorrelationMode sdmbin::DataStructure::correlationMode_ [protected]

Definition at line 335 of file Integration.h.

uint32_t sdmbin::DataStructure::numAnt_ [protected]

Definition at line 334 of file Integration.h.

uint32_t sdmbin::DataStructure::numApc_ [protected]

Definition at line 331 of file Integration.h.

Definition at line 333 of file Integration.h.

vector< uint32_t > sdmbin::DataStructure::v_maxSize_ [protected]

Definition at line 338 of file Integration.h.

vector< uint32_t > sdmbin::DataStructure::v_minSize_ [protected]

Definition at line 337 of file Integration.h.

vector< uint32_t > sdmbin::DataStructure::v_numSpectralWindow_ [protected]

Definition at line 332 of file Integration.h.

vector< vector< Enum< NetSideband > > > sdmbin::DataStructure::vv_e_sideband_ [protected]

Definition at line 330 of file Integration.h.

vector< vector< uint32_t > > sdmbin::DataStructure::vv_numAutoPolProduct_ [protected]

Definition at line 327 of file Integration.h.

vector< vector< uint32_t > > sdmbin::DataStructure::vv_numBin_ [protected]

Definition at line 329 of file Integration.h.

vector< vector< uint32_t > > sdmbin::DataStructure::vv_numCrossPolProduct_ [protected]

Definition at line 326 of file Integration.h.

vector< vector< uint32_t > > sdmbin::DataStructure::vv_numSpectralPoint_ [protected]

Definition at line 328 of file Integration.h.


The documentation for this class was generated from the following files: