Change betaValues

This commit is contained in:
kradchen
2023-05-30 10:12:28 +08:00
parent 6a80e33ff4
commit e3000a5989
2 changed files with 3 additions and 3 deletions

View File

@@ -148,7 +148,7 @@ namespace Recon
static std::string name = "TVAL3";
static int maxIter = 50;
static Aurora::Matrix muValues = Aurora::Matrix::fromRawData(new double[1]{100}, 1);
static int betaValues = 1;
static Aurora::Matrix betaValues = Aurora::Matrix::fromRawData(new double[1]{1}, 1);
static bool runTransmissionReco = true;
}
}

View File

@@ -40,7 +40,7 @@ protected:
TEST_F(Detection_Test, detectTofAndAttMex) {
MatlabReader m("/home/krad/TestData/getBlockOfTransmissionData.mat");
MatlabReader m("/home/sun/testData/transmissionDetection.mat");
auto AscanBlock = m.read("AscanBlock");
auto AscanRefBlock = m.read("AscanRefBlock");
@@ -48,7 +48,7 @@ TEST_F(Detection_Test, detectTofAndAttMex) {
auto distBlockRef = m.read("distRefBlock");
auto sosWaterBlock = Recon::temperatureToSoundSpeed(m.read("waterTempBlock"),"marczak");
auto sosWaterRefBlock = Recon::temperatureToSoundSpeed(m.read("waterTempRefBlock"),"marczak");
double expectedSOSWater = 1.511948131508464e+03;
double expectedSOSWater = 1.512677498767504e+03;
auto result = Recon::detectTofAndAttMex(
AscanBlock, AscanRefBlock, distBlock, distBlockRef, sosWaterBlock,