You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mario.senden edited this page Mar 2, 2021
·
3 revisions
It is recommended to use NiBabel for reading and writing NIfTI files.
Loading Data
Data can be loaded using the NiBabel load function.
Below is an example on how to load a NIFTI file called prf_data.nii and extract functional data. Note that the header and affine information is extracted from the NIFTI as these are important for saving results later on.