User Tools

Site Tools


xff_-_prt_format

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
xff_-_prt_format [2010/06/07 21:01]
jochen make file downloadable
xff_-_prt_format [2010/06/16 19:20]
jochen added note about requirements for parametric weights to be saved/used
Line 55: Line 55:
   552919 ​  ​558815   552919 ​  ​558815
 Color: 255 255 0</​file>​ Color: 255 255 0</​file>​
- 
 ===== Fields ===== ===== Fields =====
 As almost any text-based file format in BrainVoyager QX, a ''​FileVersion''​ field allows the program to add new features. Given that information,​ the following fields are currently supported by NeuroElf/​xff:​ As almost any text-based file format in BrainVoyager QX, a ''​FileVersion''​ field allows the program to add new features. Given that information,​ the following fields are currently supported by NeuroElf/​xff:​
Line 79: Line 78:
 | OnOffsets ​        | numeric array   | ''​(see example)'' ​ | this is a two-column (or, if ''​FileVersion := 3''​ and ''​ParametricWeights := 1'',​ three-column) array, of which the first column gives the onsets (either in Volumes or milliseconds) of each of the stimuli and the offset of that stimulus (which differs from programs such as SPM where onset and duration are given!); for Volume-based protocols, the offset Volume is still considered to show the effect of stimulation (i.e. it is impossible to code a typical event-related design with hypothetically zero-length stimulation as Volume-based PRT, as the shortest stimulation duration is 1 volume!); for Volume-based protocols the time starts with 1 (first volume), whereas for millisecond-based protocols the time starts with 0 (0 ms); in either case, **the first two columns must only contain integer values**; if in a parametrically modulated design not all conditions carry a parametric regressor, all weights must be set to 1  | | OnOffsets ​        | numeric array   | ''​(see example)'' ​ | this is a two-column (or, if ''​FileVersion := 3''​ and ''​ParametricWeights := 1'',​ three-column) array, of which the first column gives the onsets (either in Volumes or milliseconds) of each of the stimuli and the offset of that stimulus (which differs from programs such as SPM where onset and duration are given!); for Volume-based protocols, the offset Volume is still considered to show the effect of stimulation (i.e. it is impossible to code a typical event-related design with hypothetically zero-length stimulation as Volume-based PRT, as the shortest stimulation duration is 1 volume!); for Volume-based protocols the time starts with 1 (first volume), whereas for millisecond-based protocols the time starts with 0 (0 ms); in either case, **the first two columns must only contain integer values**; if in a parametrically modulated design not all conditions carry a parametric regressor, all weights must be set to 1  |
 | Color             | RGB color code  | e.g. ''​0 255 0'' ​ | specifies the color which will be carried over into the GLM file for beta plots, etc.; **''​NOTE'':​ this field ''​DOES''​ have its proper field name as a prefix token!** (see example above) ​ | | Color             | RGB color code  | e.g. ''​0 255 0'' ​ | specifies the color which will be carried over into the GLM file for beta plots, etc.; **''​NOTE'':​ this field ''​DOES''​ have its proper field name as a prefix token!** (see example above) ​ |
 +
 +===== Notes =====
 +  - **whenever you wish to use parametric weights, make sure to set the ''​FileVersion''​ property/​field to ''​3''​ and the ''​ParametricWeights''​ property/​field to ''​1''​!**
xff_-_prt_format.txt ยท Last modified: 2010/06/16 19:20 by jochen