From 2b476a996271ddca2c2a2e53cdb312bd89df2aa2 Mon Sep 17 00:00:00 2001 From: sunwen Date: Tue, 27 Jun 2023 11:13:04 +0800 Subject: [PATCH] Fix bug, use 0 replace aAscans in preprocessAscanBlockForReflection.(krad) --- .../preprocessData/preprocessAScanBlockForReflection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflectionReconstruction/preprocessData/preprocessAScanBlockForReflection.cpp b/src/reflectionReconstruction/preprocessData/preprocessAScanBlockForReflection.cpp index bbde6bb..b211741 100644 --- a/src/reflectionReconstruction/preprocessData/preprocessAScanBlockForReflection.cpp +++ b/src/reflectionReconstruction/preprocessData/preprocessAScanBlockForReflection.cpp @@ -187,7 +187,7 @@ namespace Recon { Aurora::Matrix fh; if (!preComputes.measuredCEUsed) { - fh = preComputes.matchedFilter.block(1, 0, nAScans-1); + fh = preComputes.matchedFilter.block(1, 0, 0); } else{ fh = preComputes.matchedFilter(Aurora::$,blockedChannels[i]-1).toMatrix();