AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
June 27, 2012 04:04PM
Hello,

Thanks for the advice. So I decided to run afni_proc.py and add regression steps, rather than do 3dDeconvolve separately. I used the regress_stim_times option and am getting a fatal error. I will paste most of the afni_proc.py script below as well as the fatal error below it. Please let me know what I'm doing wrong. Thanks so much!!!

cd ${EXPDIR}${SUBNUM}
afni_proc.py \
-subj_id $SUBNUM \
-dsets ${EXPDIR}${SUBNUM}/${RUN1DIR}/${SUBNUM}_r1+orig ${EXPDIR}${SUBNUM}/${RUN2DIR}/${SUBNUM}_r2+orig \
-blocks tshift align tlrc volreg blur mask scale regress \
-copy_anat ${EXPDIR}${SUBNUM}/${T1DIR}/t1+orig \
-execute \
-move_preproc_files \
-outlier_count yes \
-tshift_interp -Fourier \
-volreg_align_e2a \
-volreg_tlrc_warp \
-gen_epi_review review_orig_EPI.txt \
-regress_stim_times ${EXPDIR}${SUBNUM}/onset_files/scan1to2NPB.1D \
${EXPDIR}${SUBNUM}/onset_files/scan1to2NPNB.1D \
${EXPDIR}${SUBNUM}/onset_files/scan1to2PB.1D \
${EXPDIR}${SUBNUM}/onset_files/scan1to2PNB.1D \
-regress_stim_types IM IM IM IM \
-regress_stim_labels nopickandbid nopickandnobid pickandbid pickandnobid \
-regress_censor_motion 0.3 \
-regress_censor_outliers 0.1 \


This is the fatal error: ** FATAL ERROR: '-stim_times_IM 1 stimuli/scan1to2NPB.1D' has 1 amplitude modulation parameters - not legal! [nopt=13]


My stim files are in this format:
156.767800:3.785400 198.038800:5.475900 545.896000:3.857900 28.026700:3.782000 508.694400:5.247900
where the first number is the onset and the second number 'married' to it is the duration of the trial.

Thoughts??

Thanks!
Subject Author Posted

3dToutcoun​t and censoring volumes

Tim Souza May 16, 2012 11:18AM

Re: 3dToutcoun​t and censoring volumes

rick reynolds May 16, 2012 11:24AM

Re: 3dToutcoun​t and censoring volumes

lianablair June 21, 2012 04:20PM

Re: 3dToutcoun​t and censoring volumes

Peter Molfese June 21, 2012 08:23PM

Re: 3dToutcoun​t and censoring volumes

rick reynolds June 21, 2012 09:07PM

Re: 3dToutcoun​t and censoring volumes

lianablair June 27, 2012 04:04PM

Re: 3dToutcoun​t and censoring volumes

rick reynolds June 27, 2012 04:13PM

Re: 3dToutcoun​t and censoring volumes

lianablair June 28, 2012 12:18PM

Re: 3dToutcoun​t and censoring volumes

rick reynolds June 28, 2012 12:32PM

Re: 3dToutcoun​t and censoring volumes

lianablair June 28, 2012 04:55PM

Re: 3dToutcoun​t and censoring volumes

rick reynolds June 28, 2012 09:12PM

Re: 3dToutcoun​t and censoring volumes

lianablair June 29, 2012 11:47AM

Re: 3dToutcoun​t and censoring volumes

lianablair July 10, 2012 03:13PM

Re: 3dToutcoun​t and censoring volumes

rick reynolds July 10, 2012 09:28PM