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 24, 2012 02:20PM
> if I want to make a 1d file that has a value of 1 at the following TRs: 10, 30, 50, 70
> and a value of -1 at the following TRs: 20, 40, 60, 80 and had 100 total TRs, how do
> I do this?

One possibility is to use timing_tool.py with something like

timing_tool.py -timing **StimulusOnsetTime** -timing_to_1D *OutputFileName* -tr *YourTR* -stim_dur *StumulusDuration* -min_frac ... -run_len ...

Do the above for both your +1 and -1 parts with stimulus timing (not TR). Then you can do the rest (subtraction, waver, ...)

Gang
Subject Author Posted

using stim_times to create 1dfile

Gregory RSL May 23, 2012 04:26PM

Re: using stim_times to create 1dfile

gang May 24, 2012 10:29AM

Re: using stim_times to create 1dfile

Gregory RSL May 24, 2012 12:59PM

Re: using stim_times to create 1dfile

gang May 24, 2012 02:20PM

Re: using stim_times to create 1dfile

Gregory RSL May 24, 2012 03:01PM

Re: using stim_times to create 1dfile

rick reynolds May 24, 2012 04:22PM