add getMeasurementMetaData
This commit is contained in:
152
src/config/config.h
Normal file
152
src/config/config.h
Normal file
@@ -0,0 +1,152 @@
|
||||
#ifndef RECON_CONFIG_H
|
||||
#define RECON_CONFIG_H
|
||||
|
||||
#include <string>
|
||||
#include "Matrix.h"
|
||||
|
||||
namespace Recon
|
||||
{
|
||||
namespace reconParams
|
||||
{
|
||||
//reconParams.measurementInfo.ce
|
||||
static bool useCEMeasured = true;
|
||||
static int removeOutliersFromCEMeasured = 1;
|
||||
static double offsetFilterEnabled = 6.9e-6;
|
||||
static double offsetFilterDisabled = 1.2e-6;
|
||||
//reconParams.measurementInfo.temp
|
||||
static bool useTASTempComp = true;
|
||||
static bool correctTASTemp = 1;
|
||||
static //reconParams.hardwareSelection
|
||||
int gpuSelectionList[8] = {0,1,2,3,4,5,6,7};
|
||||
static //reconParams.dataInfo
|
||||
int expectedAScanDataLength = 4000;
|
||||
}
|
||||
|
||||
namespace reflectParams
|
||||
{
|
||||
//reflectParams.dataSelection
|
||||
static double senderTasList[128];//1~128
|
||||
static double senderElementList[18];//1~18
|
||||
static double receiverTasList[128];//1~128
|
||||
static double receiverElementList[18];//1~18
|
||||
static Aurora::Matrix motorPos = Aurora::Matrix::fromRawData(new double[2]{1,2}, 2);
|
||||
static int constricReflectionAngles = 1;
|
||||
static int angleLowerLimit = 45;
|
||||
static int angleUpperLimit = 360;
|
||||
static int findDefects = 1;
|
||||
static int epsilon = 10;
|
||||
//reflectParams.dataBlocking
|
||||
static int mpSize = 1;
|
||||
static int senderTASSize = 2;
|
||||
static int senderElementSize = 18;
|
||||
//reflectParams.qualityCheck
|
||||
static int qualityCheck = 1;
|
||||
static double warningThreshold = 0.5;
|
||||
static double errorThreshold = 0.1;
|
||||
//reflectParams.dataPreparation
|
||||
static int version = 2;
|
||||
static int aScanReconstructionFrequency = 10000000;
|
||||
static double offsetElectronic = 5.2e-7;
|
||||
static bool removeDCOffset = true;
|
||||
static int expectedAScanDataLength = 4000;
|
||||
//reflectParams.imageInfos
|
||||
static int pixelResolutionX = 400;
|
||||
static int pixelResolutionY = 400;
|
||||
static double imageStartpoint[3] = {-0.18,-0.18,-0.22};
|
||||
static double imageEndpoint[3] = {0.18,0.18,0.02};
|
||||
//reflectParams.signalProcessing
|
||||
static int useOptPulse = 1;
|
||||
static int optPulseFactor = 48;
|
||||
static int expectedPulseLength = 90;
|
||||
static int limitNumPulsesTo = 100;
|
||||
static int normalizePeaks = 1;
|
||||
static int removeTransmissionSignal = 1;
|
||||
static int suppressSameHead = 1;
|
||||
static int suppressSameHeadLength = 1500;
|
||||
static int useCorrelation = 1;
|
||||
static int matchedFilterCeAScan = 1;
|
||||
static int windowLength = 10;
|
||||
static int numThreads = 30;
|
||||
static int expectedUSSpeedRange[2] = {1420,1600};
|
||||
//reflectParams.transmissionCorrection
|
||||
static int soundSpeedCorrection = 1;
|
||||
static int attenuationCorrection = 1;
|
||||
static int saveTransmInReflCoords = 1;
|
||||
static double resolutionTransmMap = 0.005;
|
||||
//reflectParams.saft
|
||||
static int debugMode = 0;
|
||||
static int blockSizeReco = 60000;
|
||||
static int medianWindowSize = 1;
|
||||
static int saftVariant[6] = {1,1,1,1,0,0};
|
||||
static int useAscanIndex = 1;
|
||||
static int attenuationCorrectionLimit = 20;
|
||||
static int blockDimXYZ[3] = {16,16,1};
|
||||
//reflectParams
|
||||
static int VERSION_MATLAB_MAJOR = 9;
|
||||
static int OS_UNIX = 0;
|
||||
static bool runReflectionReco = true;
|
||||
}
|
||||
|
||||
namespace transParams
|
||||
{
|
||||
//transParams.dataSelection
|
||||
static int verbose = 1;
|
||||
static int saveRecon = 1;
|
||||
static int saveDebugInfomation = 1;
|
||||
//transParams.dataSelection
|
||||
static double senderTasList[128];//1~128
|
||||
static double senderElementList[18];//1~18
|
||||
static double receiverTasList[128];//1~128
|
||||
static double receiverElementList[18];//1~18
|
||||
static Aurora::Matrix motorPos = Aurora::Matrix::fromRawData(new double[2]{1,2}, 2);
|
||||
static int filterSensitivity = 1;
|
||||
static double sensFilter = 0.3;
|
||||
static int angleLowerLimit = 120;
|
||||
static int angleUpperLimit = 180;
|
||||
static int applyCalib = 1;
|
||||
static int snrThreshold = 10;
|
||||
static int calibReferenceTas = 1;
|
||||
static int calibReferenceMotorPosition = 1;
|
||||
//transParams.qualityCheck
|
||||
static int qualityCheck = 1;
|
||||
static double warningThreshold = 0.5;
|
||||
static double errorThreshold = 0.1;
|
||||
//transParams.dataBlocking
|
||||
static int mpSize = 1;
|
||||
static int senderTASSize = 2;
|
||||
static int senderElementSize = 18;
|
||||
//transParams.dataPreparation
|
||||
static int numPixelXY = 128;
|
||||
static double offsetElectronic = 5.2e-7;
|
||||
static int aScanReconstructionFrequency = 10000000;
|
||||
static int minTemperature = 15;
|
||||
static int maxTemperature = 40;
|
||||
//transParams.detection
|
||||
static int forceRedetect = 0;
|
||||
static int saveDetection = 0;
|
||||
static int version = 1;
|
||||
static int useTimeWindowing = 1;
|
||||
static int gaussWindow = 0;
|
||||
static int outlierOnTasDetection = 0;
|
||||
static int resampleFactor = 1;
|
||||
static int nThreads = 8;
|
||||
static int minSpeedOfSound = 1450;
|
||||
static int maxSpeedOfSound = 1550;
|
||||
static int detectionWindowSOS = 1;
|
||||
static int detectionWindowATT = 50;
|
||||
//transParams.rayTracing
|
||||
static int bentReconstruction = 0;
|
||||
static int bresenham = 1;
|
||||
static int bentMethod = 1;
|
||||
static int bentTol = 1;
|
||||
static int bentIter = 1;
|
||||
//transParams.solver
|
||||
static std::string name = "TVAL3";
|
||||
static int maxIter = 50;
|
||||
static int muValues = 100;
|
||||
static int betaValues = 1;
|
||||
static bool runTransmissionReco = true;
|
||||
}
|
||||
}
|
||||
|
||||
#endif //RECON_CONFIG_H
|
||||
Reference in New Issue
Block a user