Yes, this looks OK, though you might have to use fslroi to extract the relevant frequency range before averaging with -Tmean (if you want to get the mean power across a certain set of frequencies only or if you then want to go towards falff).
On Feb 9, 2012, at 17:15 , Matteo Diano wrote:
> Dear FSL experts,
> i would calculate the ALFF on a resting state file (TR 2 sec, 500 timepoints). I used this pipeline:
> - mcflirt rest
> - fslmaths rest_mc -bptf 21.27 2.66 rest_mc_bptf (0.01<x<0.08)
> - fslpspec rest_mc_bptf power_spectrum
> - fslmaths power_spectrum -Tmean alff
> is it correct? If i "temporal" filter the data before using fslpspec, could i use the whole output of fslpspec to calculate ALFF?
> Thank you very much and best regards.