From ab26453f97f61db60e7142e34b0b91f68aaa305a Mon Sep 17 00:00:00 2001 From: neurolabusc Date: Tue, 31 Mar 2020 11:59:55 -0400 Subject: [PATCH] New release, EstimatedTotalReadoutTime/EstimatedEffectiveEchoSpacing (https://github.com/rordenlab/dcm2niix/issues/377) --- console/nii_dicom.h | 2 +- console/nii_dicom_batch.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/console/nii_dicom.h b/console/nii_dicom.h index 565980a0..37d57167 100644 --- a/console/nii_dicom.h +++ b/console/nii_dicom.h @@ -43,7 +43,7 @@ extern "C" { #define kCCsuf " CompilerNA" //unknown compiler! #endif -#define kDCMdate "v1.0.20200315" +#define kDCMdate "v1.0.20200331" #define kDCMvers kDCMdate " " kJP2suf kLSsuf kCCsuf static const int kMaxEPI3D = 1024; //maximum number of EPI images in Siemens Mosaic diff --git a/console/nii_dicom_batch.cpp b/console/nii_dicom_batch.cpp index 71d92968..0dee754e 100644 --- a/console/nii_dicom_batch.cpp +++ b/console/nii_dicom_batch.cpp @@ -1435,8 +1435,8 @@ tse3d: T2*/ float actualEchoSpacing = d.waterFatShift / (d.imagingFrequency * 3.4 * (d.echoTrainLength + 1)); float totalReadoutTime = actualEchoSpacing * d.echoTrainLength; float effectiveEchoSpacingPhil = totalReadoutTime / (reconMatrixPE - 1); - json_Float(fp, "\t\"EffectiveEchoSpacing\": %g,\n", effectiveEchoSpacingPhil); - fprintf(fp, "\t\"TotalReadoutTime\": %g,\n", totalReadoutTime); + json_Float(fp, "\t\"EstimatedEffectiveEchoSpacing\": %g,\n", effectiveEchoSpacingPhil); + fprintf(fp, "\t\"EstimatedTotalReadoutTime\": %g,\n", totalReadoutTime); } json_Float(fp, "\t\"EffectiveEchoSpacing\": %g,\n", effectiveEchoSpacing); // Calculate true echo spacing (should match what Siemens reports on the console)