CARMA C++
carma::correlator::obsRecord2 Namespace Reference

Contains CORBA-related correlator functionality. More...

Classes

class  BandStatus
 Singleton class used to hold a map of connected Correlator DO bands. More...
 
class  CorbaCorrConsumer
 Implements CorrConsumer interface for CORBA. More...
 
struct  CorbaCorrConsumerStats
 Structure to hold corr consumer statistics for profiling. More...
 
class  CorbaCorrProducer
 Implements interface for serving correlator data using CORBA. More...
 
struct  CorData_s
 IDL structure holding all Correlator Data. More...
 
class  CorrDataConsumer
 Implements CorrConsumer interface for CORBA. More...
 
interface  Correlator_I
 CORBA interface for controlling the correlator. More...
 
class  DefaultCorrControl
 Class responsible for handling all CORBA type functionality related to the correlator. More...
 

Typedefs

typedef sequence< BandWidthTypeBandWidthSeq
 
typedef sequence< octet > DataSeq
 Correlator Data to be transported via CORBA. More...
 
typedef sequence< DelayTriplet > DelayTripletSeq
 
typedef sequence< FpgaModeTypeFpgaModeSeq
 

Enumerations

enum  BandWidthType {
  BAND_500MHZ, BAND_250MHZ, BAND_125MHZ, BAND_62MHZ,
  BAND_31MHZ, BAND_8MHZ, BAND_2MHZ, BAND_500MHZ_3BIT,
  BAND_250MHZ_3BIT, BAND_125MHZ_3BIT, BAND_62MHZ_3BIT, BAND_31MHZ_3BIT,
  BAND_8MHZ_3BIT, BAND_2MHZ_3BIT, BAND_500MHZ_4BIT, BAND_250MHZ_4BIT,
  BAND_125MHZ_4BIT, BAND_62MHZ_4BIT, BAND_31MHZ_4BIT, BAND_8MHZ_4BIT,
  BAND_2MHZ_4BIT
}
 Supported spectral correlator bandwidths. More...
 
enum  FpgaModeType { SINGLEPOL, DUALPOL, FULLPOL, CARMA23 }
 Astroband mode – The correlator FPGA configuration/polarization mode. More...
 
enum  ModeType { MODE_IDLE, MODE_NORMAL }
 Correlator operational modes. More...
 
enum  SidebandType { UPPER_SB, LOWER_SB }
 Downconverter sideband choice. More...
 

Functions

carma::correlator::obsRecord2::BandWidthType getBandWidthType (const carma::util::CorrelatorBandWidthType bandwidth, const carma::util::CorrelatorBitType bits)
 Enumeration mapping between util and correlator namespaces for setting full bandwidth mode (bandwidth and bit quantization level). More...
 
::std::string getIniString (const BandWidthType bw, const FpgaModeType astrobandMode)
 
::std::string getStringForBandWidthType (const BandWidthType bw)
 
::std::string getStringForFpgaModeType (const FpgaModeType astrobandMode)
 
void installAceLoggingBackend ()
 
carma::correlator::obsRecord2::FpgaModeType utilFpgaModeToObsrecordFpgaMode (const carma::util::CorrelatorFpgaModeType mode)
 Enumeration mapping between util and correlator namespaces for setting full FPGA mode aka Astroband mode. More...
 

Detailed Description

Contains CORBA-related correlator functionality.

Correlator classes pertaining to CORBA implementations.

Typedef Documentation

typedef sequence<octet> carma::correlator::obsRecord2::DataSeq

Correlator Data to be transported via CORBA.

Definition at line 17 of file CorDataBase.idl.

Enumeration Type Documentation

Supported spectral correlator bandwidths.

Due to the heterogeneous hardware, not all correlator bands support every mode listed. 3- and 4-bit mode supported only by CARMA style hardware. COBRA supports only 2-bit mode.

Enumerator
BAND_500MHZ 

500 MHz bandwidth, 2Bit mode

BAND_250MHZ 

250 MHz bandwidth, 2Bit mode

BAND_125MHZ 

125 MHz bandwidth, 2Bit mode

BAND_62MHZ 

62.5 MHz bandwidth, 2Bit mode

BAND_31MHZ 

31.25 MHz bandwidth, 2Bit mode

BAND_8MHZ 

7.8125 MHz bandwidth, 2Bit mode

BAND_2MHZ 

1.953125 MHz bandwidth, 2Bit mode

BAND_500MHZ_3BIT 

500 MHz bandwidth, 3Bit mode

BAND_250MHZ_3BIT 

250 MHz bandwidth, 3Bit mode

BAND_125MHZ_3BIT 

125 MHz bandwidth, 3Bit mode

BAND_62MHZ_3BIT 

62.5 MHz bandwidth, 3Bit mode

BAND_31MHZ_3BIT 

31.25 MHz bandwidth, 3Bit mode

BAND_8MHZ_3BIT 

7.8125 MHz bandwidth, 3Bit mode

BAND_2MHZ_3BIT 

1.953125 MHz bandwidth, 3Bit mode

BAND_500MHZ_4BIT 

500 MHz bandwidth, 4Bit mode

BAND_250MHZ_4BIT 

250 MHz bandwidth, 4Bit mode

BAND_125MHZ_4BIT 

125 MHz bandwidth, 4Bit mode

BAND_62MHZ_4BIT 

62.5 MHz bandwidth, 4Bit mode

BAND_31MHZ_4BIT 

31.25 MHz bandwidth, 4Bit mode

BAND_8MHZ_4BIT 

7.8125 MHz bandwidth, 4Bit mode

BAND_2MHZ_4BIT 

1.953125 MHz bandwidth, 4Bit mode

Definition at line 25 of file CorDataBase.idl.

Astroband mode – The correlator FPGA configuration/polarization mode.

Enumerator
SINGLEPOL 

default, single polarization mode, e.g. LL or RR

DUALPOL 

dual-polarization, LL and RR

FULLPOL 

Full-stokes mode.

CARMA23 

23-station mode

Definition at line 68 of file CorDataBase.idl.

Correlator operational modes.

Enumerator
MODE_IDLE 

Meaning??

MODE_NORMAL 

Normal operation.

Definition at line 54 of file CorDataBase.idl.

Downconverter sideband choice.

Enumerator
UPPER_SB 

Upper side band.

LOWER_SB 

Lower side band.

Definition at line 62 of file CorDataBase.idl.

Function Documentation

carma::correlator::obsRecord2::BandWidthType carma::correlator::obsRecord2::getBandWidthType ( const carma::util::CorrelatorBandWidthType  bandwidth,
const carma::util::CorrelatorBitType  bits 
)

Enumeration mapping between util and correlator namespaces for setting full bandwidth mode (bandwidth and bit quantization level).

Parameters
bandWidthNew spectral bandwidth, one of:
  • CORR_BW_500MHZ
  • CORR_BW_250MHZ
  • CORR_BW_125MHZ
  • CORR_BW_62MHZ
  • CORR_BW_31MHZ
  • CORR_BW_8MHZ
  • CORR_BW_2MHZ
bitsThe number of quantization bits for the correlator. This determines the correlator efficiency and number of channels. One of CORR_2BIT, CORR_3BIT, CORR_4BIT This parameter is ignored for COBRA bands which support only 2-bit operation.
::std::string carma::correlator::obsRecord2::getIniString ( const BandWidthType  bw,
const FpgaModeType  astrobandMode 
)
Returns
the matching string from the COBRA INI file for the input bandwidth and fpga modes
Parameters
bwBandWidthType enumeration value, e.g. BAND_8MHZ_3BIT.
astrobandModeFpgaModeType enum, one of SINGLEPOL, DUALPOL, FULLPOL, CARMA23
::std::string carma::correlator::obsRecord2::getStringForBandWidthType ( const BandWidthType  bw)
Returns
a string representation of the bandwidth enumeration.
Parameters
bwBandWidthType enumeration value, e.g. BAND_8MHZ_3BIT.
See Also
CorDataBase.h
::std::string carma::correlator::obsRecord2::getStringForFpgaModeType ( const FpgaModeType  astrobandMode)
Returns
a string representation of the FPGA mode aka Astroband mode enumeration.
Parameters
astrobandModeFpgaModeType enum, one of SINGLEPOL, DUALPOL, FULLPOL, CARMA23
See Also
CorDataBase.h
carma::correlator::obsRecord2::FpgaModeType carma::correlator::obsRecord2::utilFpgaModeToObsrecordFpgaMode ( const carma::util::CorrelatorFpgaModeType  mode)

Enumeration mapping between util and correlator namespaces for setting full FPGA mode aka Astroband mode.

Parameters
modeNew spectral bandwidth, one of:
  • SINGLEPOL
  • DUALPOL
  • FULLPOL
  • CARMA23