questions > RE: Time entry in the NIFTI "Description" field
Apr 5, 2017  09:04 PM | Michael Harms
RE: Time entry in the NIFTI "Description" field
Hi Chris,
Thanks for the quick response.

In that case, additional clarity in section 10 ("Anonymization") of "dcm2nii:MainPage" documentation
would be helpful.  I assumed that the whole page is basically describing the output and syntax of 'dcm2niix', not 'dcm2nii'.

Also, in the process of investigating this, I discovered a small bug in the BIDS JSON report for "AcquisitionDateTime" if the time is before noon.
e.g.,
When (0008,0032) is "083035.142500"
the BIDS JSON yields
"AcquisitionDateTime": "2017-01-29T83:03:5.140625"

i.e., it ignores the leading '0', and parses the time as "83:03:5" rather than "08:30:35".

FWIW, I think the value in the descrip field of the NIFTI should preserve the leading 0 as well. 
[It currently doesn't, yielding:
descrip TE=37;Time=83035.143;phase=0;dwell=0.580]

This is using
"ConversionSoftware": "dcm2niix",
"ConversionSoftwareVersion": "v1.0.20170207"

thanks,
-MH

Threaded View

TitleAuthorDate
Michael Harms Apr 5, 2017
Chris Rorden Apr 5, 2017
RE: Time entry in the NIFTI "Description" field
Michael Harms Apr 5, 2017
Chris Rorden Apr 6, 2017