Mikey,
Try this. First use 3dTstat to obtain the mean of all the volumes:
3dTstat -mean yourData -prefix mean
Then subtract the mean from your data:
3dcalc -a meann -b yourData -expr 'b-a' -prefix ...
Gang
Edited 1 time(s). Last edit at 10/06/2020 10:21AM by Gang.