TR incorrect in header


I have preprocessed fMRI data and have realized when trying to run 3ddeconvolve that the header information in my fMRI data is incorrect. The data have a TR of 2s but the header information say 1s. I checked and the data had a 1s TR in their header from when I converted them from DICOM to nifti using MRIconvert.

I am wondering how do I change this? Is it ok to change this in the processed data and continue with 3ddeconvolve now or should they be reprocessed from the beginning?



Program 3drefit can change values in the header. For example

3drefit -TR 2 StupidDataset.nii