Hi Rick,
Below are the outputs of each command:
nifti_tool -disp_hdr -field pixdim -infiles sub01.nii.gz
N-1 header file 'sub-002_S_0295_task-rest_run-01_bold.nii.gz', num_fields = 1
name offset nvals values
------------------- ------ ----- ------
pixdim 76 8 -1.0 3.3125 3.3125 3.3125 6.021583 0.0 0.0 0.0
3dinfo -tr sub01.nii.gz
6.021583
So, the TRs match between those two commands. However, when I grep the information from the dicom_hdr, it differs:
dicom_hdr $file | grep "Repetition Time"
ACQ Repetition Time//3000
The TR of 3000ms matches the protocol information for this participant. I'm not sure how or why it is getting changed in the conversion from dcm2niix. Should I change the TR information in the NIFTI header to match that of the dicom?
Thanks,
Jenna