Skip to content
Snippets Groups Projects
Commit a32b2bb0 authored by Stephen Smith's avatar Stephen Smith Committed by Matthew Webster
Browse files

add back mean to detrended fmri timeseries in hcp_fix

parent 93c0d66b
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,8 @@ echo "processing FMRI file $fmri with highpass $hp"
if [ $hp -gt 0 ] ; then
echo "running highpass"
hptr=`echo "10 k $hp 2 / $tr / p" | dc -`
${FSLDIR}/bin/fslmaths $fmri -bptf $hptr -1 ${fmri}_hp$hp
${FSLDIR}/bin/fslmaths $fmri -Tmean ${fmri}_hp$hp
${FSLDIR}/bin/fslmaths $fmri -bptf $hptr -1 -add ${fmri}_hp$hp ${fmri}_hp$hp
fmri=${fmri}_hp$hp
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment