1 #ifndef CARMA_UTIL_LIB_CORRUTILS_H
2 #define CARMA_UTIL_LIB_CORRUTILS_H
7 #include "carma/util/CorrelatorType.h"
16 static const unsigned NUM_SLC_BANDS = 8;
17 static const unsigned NUM_WBC_BANDS = 16;
18 static const unsigned NUM_C3G_BANDS = 8;
86 const ::std::string & abConf,
116 carma::util::CorrelatorType getCorrTypeForSaNo(
const int saNo );
117 carma::util::CorrelatorType getCorrTypeForAstroBandNo(
const int abNo );
118 ::std::string getStringForCorrType(
const carma::util::CorrelatorType corr);
127 #endif //CARMA_UTIL_LIB_CORRUTILS_H
carma::util::CorrelatorBandWidthType getBandWidthTypeForBandWidth(const float bw)
float correlatorEfficiency(const CorrelatorBitType bitType)
unsigned numExpectedCorrBands(const ::std::string &abConf, const CorrelatorType corrType=CORR_SPECTRAL)
CorrelatorFpgaModeType
FPGA configuration modes.
const ::std::string getStringForHardwareType(const hardwareType hwType)
CorrelatorBitType
Correlator number of bits.
CARMA 3rd generation correlator hardware.
enum carma::util::hardwareTypeEnum hardwareType
The type of board hardware in a given band.
CorrelatorType
Enum to encapsulate a correlator type. These.
CorrelatorBandWidthType
Supported spectral correlator bandwidths.
float actualBandwidth(const ::std::string &bwstring)
This method returns the true bandwidth of a correlator band, given CARMA's "rounded" description of a...
hardwareType hwType(unsigned int astroBandNo)
unsigned numExpectedAstroChans(const CorrelatorType corrType, const CorrelatorBandWidthType bwType, const CorrelatorBitType bitType, const CorrelatorFpgaModeType corrFpgaMode)