Hi Dorit,
In RSFgen, basically everything is TR-locked. That your stimulus
lasts 150ms doesn't directly matter, except that it would have to
occur at the start of a TR (unless you fool RSFgen, which is okay).
The length of it will then matter based on how you apply the RSFgen
output.
Regarding your the optimal counterbalancing (over what, by the way?)
and ISI questions, note that RSFgen is just randomly distributing
the stimuli. The user will generally run it many times and go for
the 'best' results, based on their own evaluation.
---
In any case, I think make_random_timing.py is more along the lines
of what you want. Like RSFgen, it is still just random, but the
timing does not need to have anything to do with the TR.
Please see the examples at the top of "make_random_timing.py -help".
Consider the "Experimental Design" class handout. Example usage
the mentions these programs starts on slide 10:
[
afni.nimh.nih.gov]
- rick