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