#ifndef RECON_CONFIG_H #define RECON_CONFIG_H #include #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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128};//1~128 static double senderElementList[18]{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};//1~18 static double receiverTasList[128]{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128};//1~128 static double receiverElementList[18]{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128};//1~128 static double senderElementList[18]{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};//1~18 static double receiverTasList[128]{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128};//1~128 static double receiverElementList[18]{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,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