dutchconnectomelab / CATO

Toolbox for structural and functional brain connectivity reconstruction.
http://www.dutchconnectomelab.nl/CATO/
Other
15 stars 0 forks source link

Alternative implementation for getNiftiProperties #5

Closed SiemondeLange closed 2 years ago

SiemondeLange commented 2 years ago

Replace the function getNiftiProperties with code that is not dependent on FSL's mri_info. The function getNiftiProperties provided a fast overview of the header of a nifti file using FSL's mri_info. However, sometimes this dependency causes errors (e.g. when FSL is not installed correctly) and it complicates continuous integration. This branch replaces getNiftiProperties with code that uses load_nifti and an updated (faster) implementation of load_nifti_fmri.

SiemondeLange commented 2 years ago

These code changes were validated with simulated test-cases that tested successful structural and functional processing and specifically the voxel orientation implementation. Further, code consistency was verified with reference to older CATO versions for 3 example subjects.