Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Support Forums
 Analysis Software Support
 Automatic Paradigm File Generator

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
mack Posted - May 07 2003 : 4:57:18 PM
I just wanted to share a very quickly tested script I wrote that I find handy for creating paradigm files from my CIGAL ppf files. The file is in:

\\Gall\Programs\User_Scripts\Mack\cigal2paradigm.m

to call the script, just type:
cigal2paradigm(cigalFilename, paradigmFilename)

It is proper form to have the second column of the ppf file listing the stimulus type. Thus if you had a study comparing happy faces and sad faces with random objects in between, you would put a "1" in the second column on happy face lines, a "2" in the second column on sad face lines and a "0" in the second column on random object lines. This script will generate an output file with zeros at each time point with 1's and 2's replacing the zeros at each time point where a stimulus of type 1 or 2 is shown.

This script takes in to account startdelay, stopdelay and t_r values, so make sure these are all set appropriately or the script may not work.

Again, I have only tested this on my own CIGAL ppf files, so please double-check the output to make sure it makes sense. If you see any bugs, please let me know.

BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.35 seconds. Snitz Forums 2000