From d635970cff10720cbb53f792a2b6c97dc2251eb7 Mon Sep 17 00:00:00 2001 From: neurolabusc Date: Fri, 15 Mar 2024 08:25:22 -0400 Subject: [PATCH] Another suggestion from @jan-petr --- console/nii_dicom_batch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/console/nii_dicom_batch.cpp b/console/nii_dicom_batch.cpp index 6335ca61..5f080c66 100644 --- a/console/nii_dicom_batch.cpp +++ b/console/nii_dicom_batch.cpp @@ -1810,6 +1810,7 @@ tse3d: T2*/ if (strstr(pulseSequenceDetails, "tgse_pcasl")) { isPCASL = true; repetitionTimePreparation = d.TR; + json_FloatNotNan(fp, "\t\"LabelingDuration\": %g,\n", csaAscii.adFree[2] * (1.0 / 1000000.0)); //usec -> sec json_FloatNotNan(fp, "\t\"RFGap\": %g,\n", csaAscii.adFree[4] * (1.0 / 1000000.0)); //usec -> sec json_FloatNotNan(fp, "\t\"MeanGzx10\": %g,\n", csaAscii.adFree[10]); // mT/m json_FloatNotNan(fp, "\t\"T1\": %g,\n", csaAscii.adFree[12] * (1.0 / 1000000.0)); //usec -> sec