
from rsfmri import utils
from rsfmri import register

""" This is done in native space, add warped after (Renaud others)??

despike?
split raw func
realign (no slicetime (ANTS))
realign w/slicetime (spm)
generate movement regressors
make meanfunc
files -> 4dfunc
(bias correct anat and meanfunc?)
register anat to meanfunc
pull whole brain, white, ventricle  rois (aparc)
erode white and ventricle
bandpass filter 4ddata
extract global, white, ventricle
bandpass filter movement regressors
generate fsf
censor motion from model??
run model
grab residuals

"""









if __name__ == '__main__':
    print 'sample rsfmri'

from rsfmri import utils
from rsfmri import register

""" This is done in native space, add warped after (Renaud others)??

despike?


split raw func
realign (no slicetime (ANTS))
realign w/slicetime (spm)
generate movement regressors


make meanfunc
remove values < 100 (outside brain)
files -> 4dfunc
(bias correct anat and meanfunc?) not right now
register anat to meanfunc
pull whole brain, white, ventricle  rois (aparc)
erode white and ventricle


bandpass filter 4ddata
extract global, white, ventricle
bandpass filter movement regressors
generate fsf
censor motion from model??
run model
grab residuals

"""









if __name__ == '__main__':
    print 'sample rsfmri'
Update wrapper to show latest changes to code