External Email - Use Caution
Hi Doug,
Thanks for your response. No, I did not demean the task regressor... do I have to? Exactly. When I try to run tksurfer-sess, it complains about the missing file "h". When I rename the "h-offset" file to "h", I can run tksurfer-sess and I do see a map. The time course viewer opens as well but it only shows one time point. I can also continue to run the group analysis. During "isxconcat-sess" it while again complain about the missing file but mri_glmfit and following commands still work. So I do get a group map but I am not sure what it shows.
Best, Laura
Did you demean the task regressor? Is the problem that you cannot run tksurfer-sess? Or are you reporting multiple problems?
On 2/3/2021 8:32 AM, Doll, Laura wrote:
External Email - Use Caution
Hi everyone,
Is it possible to do an FIR analysis using a task regressor instead of (or additional to) a paradigm file?
More precisely, we want to use pupil size as task regressor. It was recorded during an auditory detection task (event related).
This works when I use "-spmhrf" or other HRF options.
However, for FIR I cannot get the expected time course in the single subjects data.
Tksurfer ends with an error because it cannot find the file h.nii.gz:
ERROR: could not determine file for [...]/S01_3/bold/PupilFIR.lh/h
This file indeed does not exist, there is only one called "h-offset".
The commands I used until that point are (here neglecting the original task, but using -event-related etc instead of no task results in the same error):
mkanalysis-sess -fsd bold -stc up -surface fsaverage lh -fwhm 5 -notask -fir 4 20 -TR 2 -polyfit 2 -analysis PupilFIR.lh -per-run -taskreg Pupil 1
selxavg3-sess -s S01_3 -analysis PupilFIR.lh
tksurfer-sess -s S01_3 -analysis PupilFIR.lh -call -tksurfer
Is there any solution for this? Or any reason why it should not be done that way?
Best, Laura