s06.ap.rest 1.8 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #!/usr/bin/env tcsh
  2. # ------------------------------------------------------------
  3. # ------------ pretend this is resting state data ------------
  4. #
  5. # apply Example 10 from "afni_proc.py -help"
  6. # ------------------------------------------------------------
  7. set top_dir = FT
  8. set subj = FT.rest
  9. # run afni_proc.py to create a single subject processing script
  10. afni_proc.py -subj_id $subj \
  11. -script proc.$subj -scr_overwrite \
  12. -blocks despike tshift align tlrc volreg blur mask regress \
  13. -copy_anat $top_dir/FT_anat+orig \
  14. -tcat_remove_first_trs 2 \
  15. -dsets \
  16. $top_dir/FT_epi_r1+orig.HEAD \
  17. $top_dir/FT_epi_r2+orig.HEAD \
  18. $top_dir/FT_epi_r3+orig.HEAD \
  19. -volreg_align_to MIN_OUTLIER \
  20. -volreg_align_e2a \
  21. -volreg_tlrc_warp \
  22. -blur_size 4.0 \
  23. -mask_segment_anat yes \
  24. -mask_segment_erode yes \
  25. -regress_motion_per_run \
  26. -regress_censor_motion 0.2 \
  27. -regress_censor_outliers 0.1 \
  28. -regress_bandpass 0.01 0.1 \
  29. -regress_apply_mot_types demean deriv \
  30. -regress_ROI WMe \
  31. -regress_run_clustsim no \
  32. -regress_est_blur_errts