Siemens header to nifti


I am working on a dataset reconstructed using custom code. So I’m wondering how to properly convert the data to nifti format. I have the time series data and the acsii siemens header. Is there a program to write the nifti header with the siemens header?
Thank you!


The entire header? You could use nifti_tool[/url] to write fields and loop through that way… A more efficient route might be to use [url=]nibabel[/url] or try to modify the reconstructed DICOM files using [url=]pydicom.