|
File Formats - Dipole Data
Description
Dipole data files contain the dipole information from single or multiple
equivalent current dipole modeling. Position, moment, statistical, and
latency information is included in the file.
Comments
Any line beginning with '//' is a comment line, and will be ignored.
Header
The header consists of the 6 entries shown in Table A-10 (in mandatory
sequence).
|
Name |
Format |
Description |
|
number |
%d |
Number of dipoles in this file |
|
state |
%x |
bitmap set by program -
initial state may be set to 0 |
| count |
%d |
number of non-off dipoles |
|
on |
%x |
bitmap short integer (bit
n=1 if dipole n is active, else 0). A dipole is on if it is active,
fixed, or moment free |
| fixed |
%x |
bitmap short integer
(bit n=1 if dipole n is fixed, else 0) |
| moment free |
%x |
bitmap short integer
(bit n=1 if dipole n is moment free, else 0) |
Table A-10
Dipole data
The header is followed by a list of up to 32 dipoles. Each dipole contains
position information, moment information, and statistical/latency
information, as defined in Table A-11.
|
Name |
Format |
Description |
|
position |
%f %f %f |
position (xyz, meters) |
|
moment |
%g %g %g |
dipole moment (qx, qy, qz,
Ampere-meters) |
| model type |
%x |
defined below |
|
state |
%x |
set by program; may be
initialized to 0 |
| outer head radius |
%f |
set by program from
probe or headshape data |
|
sphere origin (electric) |
%f %f %f |
set by program from
probe or headshape data |
|
sphere origin (magnetic) |
%f %f %f |
set by program from probe
or headshape data |
|
correlation
|
%g |
set by program; may be
initialized to 0 |
|
chi square |
%g |
reduced C 2,set by program;
may be initialized to 0 |
|
probability
|
%g |
set by program; may be
initialized to 0 |
|
start latency |
%g |
msec post stim fitting
interval start; set by program; may be initialized to 0 |
|
stop latency |
%g |
msec post stim fitting
interval stop; set by program; may be initialized to 0 |
Table A-11
model type
The model type may be one the values shown in Table A-12.
|
Model type |
Type Code |
| Sphere |
1 |
| Free space |
2 |
| Half space |
4 |
| 3 shell sphere |
8 |
Table A-12
Example
The following example includes the first two dipoles from a file of 16
dipoles in all. Dipoles 1-3 are on and active. A sphere model was used for
fitting.
3 8
1
16
0 0 7 0 0
//Dipole1 (pv)
0.02483 -0.02566 0.1103
1.199e-10 -1.095e-10 9.282e-10
1 1 0.092
0.0121 0.003094 0.05078
0 0 0
0.983925 0.812561 0.65629 0.0426 0.0426
//Dipole2 (pv)
0.01699 -0.03031 0.1101
3.856e-10 1.007e-11 1.255e-09
1 1 0.092
0.0121 0.003094 0.05078
0 0 0
0.984881 2.10502 0.009021 0.046 0.046
// and so on, ...
Return to File Formats page
|
|