Dear all,
1.) tSNR: How do I generate a mean tSNR value? ( I get a mean.nii.gz file)
2.) FD:
I want to calculate my FD and use the following commands:
fd = FramewiseDisplacement()
fd.inputs.in_file = str(subject_path)+’/derivatives/participant/fmriprep/sub-’+str(subject_label)+’/ses-’+str(k)+’/func/sub-’+str(subject_label)+’_ses-’+str(k)+’_task-rest_run-3_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz’
fd.inputs.parameter_source = ‘AFNI’
fd_result = fd.run()
which results in the following error:
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xf8 in position 48: invalid start byte
3.) I also want to calculate FD and tSNR after I regressed out ICA-Aroma noise components and GS, csf, wm and did filtering and smoothing etc. But I do not get any values which make sense.
What do I need to change?