COVID-19 Updates

Visit UC San Diego's Coronavirus portal for the latest information for the campus community.

AFNI Class Notes 08/30/19:


set subj = CAJe_110
set top_dir   = /mnt/nfs2/users/alans/CAJe/${subj}BRIKS -subj_id $subj \
        -script proc.$subj -scr_overwrite   \
        -blocks despike tshift align tlrc volreg blur mask scale \
    -despike_opts_3dDes -ignore 2 \
        -copy_anat $top_dir/${subj}+orig \
        -dsets $top_dir/${subj}MS+orig.HEAD \
    -tcat_remove_first_trs 2 \
    -tlrc_base MNI_avg152T1+tlrc \
        -volreg_align_to MIN_OUTLIER \
        -volreg_align_e2a  \
        -volreg_tlrc_warp   \
    -blur_in_automask \
        -blur_to_fwhm -blur_size 6.0

Running produces: proc.CAJe_110


This can be run to create the needed files. Primarily:


 combined or cut original functional scan
 tcat  auto: controlled above by
-tcat_remove_first_trs 2
pb01.CAJe_110.r01.despike+orig 3dDespiked file
 option: helps bad data muchly
pb02.CAJe_110.r01.tshift+orig   3dTshift  tshift  option: suggested for event based
pb03.CAJe_110.r01.volreg+tlrc   Fulling aligned file
 align, tlrc, volreg
 required: This is a key step using
 pb04.CAJe_110.r01.blur+tlrc  blurred file
 blur  option: since we used -blur_in_automask -blur_size 4.0 this is blur "to"
 pb05.CAJe_110.r01.scale+tlrc  scaled  scale  option: preps for 3dREMLfit
 CAJe_110_ns+tlrc  anatomical underlay
 tlrc  option: we are in tlrc not mni due to : -tlrc_base TT_N27+tlrc
 outcount_rall.1D  3dToutcount file  outcount  auto: data quality signal. vital to observe to assess signal
 dfile_rall.1D  volreg residuals
 volreg  This is the useful in regression later and data quality now.
 out.mask_ae_overlap.txt  outcome of alignments
 align  Gives info of anat v. epi: %(A \ B) gives the epi outside or anat and if this is really high that is bad news.
 out.mask_ae_dice.txt  outcome of alignments
 align  quick measure of overlap less detailed but can be of use.



plot your timeseries quality files with 1dplot outcount_rall.1D, etc.

You can also get an estimate of movement with SumMove