Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
charles.michelich
Posted - Feb 06 2004 : 3:36:10 PM CIGAL Users,
I few people have asked me about the outputs of CIGAL recently, so I would like to start a thread on this topic for current and future investigators to reference.
showplay (the CIGAL program we typically use to present function stimuli) creates two output files for each run. The show*.out file stores the behavioral data in a format from an older program called "showtime" written by Francis Favorini. The pdigm* file stores the behavioral data in a format Jim Voyvodic created called DMDATA. This file contains much more information that the show*.out files.
The show*.out file is a plain text file with several columns of numbers. I am not sure what all of the columns represent so perhaps someone else can describe it here.
The pdigm* file is a binary file with a text header. The data are organized into records where each record can contain n-dimensional data (including text). The records can be identified by either a record type or the order that the record appears in the file. Each record also has a text description.
Data from the pdigm* files can be accessed either directly or through a BXH header. Data can be accessed directly using Jim Voyvodic's suite of tools (e.g. CIGAL, fscan, dmread, dmwrite). dmread and dmwrite are command line tools available in \\Gall\Programs\Tools\. If you would like to access the data through a BXH header, you can create the header using Jim's tools or the MATLAB function dmdata2bxh. These tools map each record to a BXH "type" and "subtype" that can be used to uniquely identify the records within the BXH file.
Once a BXH header has been created, you can read the data in MATLAB using the readbxhdata function. The data can then be analyzed directly in MATLAB or sent to Excel for further analysis. See forum post http://www.biac.duke.edu/forums/topic.asp?TOPIC_ID=213 for more information on dmdata2bxh.
This is by no means a comprehensive description of these outputs, so if other you have information that you would like to share or correction to what I have stated, please add to this topic.