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  

|
May 14, 2018 10:40AM
Hi Laura,

I will try to rewrite your timing with the modern usage,
just for demo. However, I do not see in your example
where the NULL events are.

Each run is 690s, of which 480 are for task, 140 for
NULL trials, and 10 for post stim time. That accounts
for 630s, leaving only 60s for ISI. Attaching the ISI
to the 40 non-NULL events per run makes the average ISI
1.5s.

So consider such things in this MRT.py command:

set seed = 1234567
set iter = 001

make_random_timing.py -num_runs 4 -run_time 690 \
        -tr 2                                   \
        -pre_stim_rest 0 -post_stim_rest 10     \
        -rand_post_stim_rest no                 \
        -add_timing_class stim 12               \
        -add_timing_class tnull 10              \
        -add_timing_class rest 0.5 1.5 4 dist=decay_fixed \
        -add_stim_class NMA 10 stim rest        \
        -add_stim_class NMS 10 stim rest        \
        -add_stim_class HMA 10 stim rest        \
        -add_stim_class HMS 10 stim rest        \
        -add_stim_class NULL 14 tnull INSTANT   \
        -write_event_list events.$iter.txt      \
        -show_timing_stats                      \
        -seed $seed                             \
        -prefix threat_app.$iter                \
        -save_3dd_cmd cmd.3dd.$iter.txt

Note that the NULL events might have ISI time before
them, but not after, as the attached ISI is INSTANT
(meaning zero time).

View the text file events.001.txt for the list of events
across all runs.

I will put this in @stim_analyze_modern at the same
location, just as an example. I will probably updated
it to be more complicated later. Maybe.

- rick
Subject Author Posted

foreach error in @stim_analyze script

Laura Verga May 02, 2018 11:13AM

Re: foreach error in @stim_analyze script

rick reynolds May 02, 2018 05:31PM

Re: foreach error in @stim_analyze script Attachments

Laura Verga May 08, 2018 10:56AM

Re: foreach error in @stim_analyze script

rick reynolds May 14, 2018 10:12AM

Re: foreach error in @stim_analyze script

rick reynolds May 14, 2018 10:40AM

Re: foreach error in @stim_analyze script

Laura Verga June 04, 2018 08:39AM

Re: foreach error in @stim_analyze script

Laura Verga June 05, 2018 04:57AM

Re: foreach error in @stim_analyze script

rick reynolds June 05, 2018 04:34PM

Re: foreach error in @stim_analyze script

Laura Verga June 06, 2018 04:45AM

Re: foreach error in @stim_analyze script

rick reynolds June 08, 2018 09:12AM

Re: foreach error in @stim_analyze script

Laura Verga June 15, 2018 11:24AM