The more common case of running statistics is in either 3D voxel (VTC/VMP) space, but there are still quite a few applications for running statistics with data that has been altered as little as possible (minimal preprocessing). The MAP format provides the ability to store a slice-based maps that match the FMR layout. At this point, there is no support for storing multiple statistics per FMR voxel.
Binary files are stored in little-endian byte ordering (for all platforms!) so as to allow cross-platform file exchange. Strings are stored as \0-terminated sequences of 8-bit integer values (ASCII charset, and not as either fixed-length or flag-specified-length strings).
The types in the list of fields are given as Matlab type (not in C notation).
|Loop / Condition||Field||Field type||Dimensions||Comment|
|CombinedTypeSlices||uint16|| || stores both the type of statistical map and number of slices; combination formula is
|NrOfSlices||uint16|| || stores the number of slices separately; if set to
|DimY||uint16|| ||stores the number of columns (2nd dim in Matlab) in each slice's map|
|DimX||uint16|| ||stores the number of rows (1st dim in Matlab) in each slice's map|
|ClusterSize||uint16|| || if cluster thresholding enabled, value is set
|LowerThreshold||single|| ||lower statistics threshold, map values below are not shown|
|UpperThreshold||single|| || upper statistics threshold, map values above are shown in same color as if being
| ||NrOfLags||uint16|| ||for maps that contain combined r-statistic and lag value (description see below), this additional header parameter is read|
|ReservedToken||uint16|| || used in computation to split statistics and number of slices; as this is given AFTER the
|FileVersion||uint16|| ||this is an exceptional case, normally the FileVersion is the first or at least one of the very first flags in any file format of BrainVoyager QX!|
| ||DF1||uint32|| ||degrees of freedom for t/r-statistic, first d.f. parameter of F-statistic|
| ||DF2||uint32|| || second d.f. parameter of F-statistic; important: while only required for F-statistic maps, this parameter is ALWAYS present (for
|NameOfSDMFile||string|| ||name of design matrix file that was used (empty of non-applicable|
| Loop over |
|Map(LOOP_SLICE).Number||uint16|| || number of map, 0-based (first slice has a value of
|Map(LOOP_SLICE).Data||single|| || statistics value; important: for r-statistics, the actual r-statistical value is computed as
| End of Loop over |