|
4 | 4 | %
|
5 | 5 | % DHermes, 2017
|
6 | 6 | % modified RG 201809
|
| 7 | +% modified Giulio Castegnaro 201811 |
7 | 8 |
|
8 | 9 |
|
9 | 10 | %%
|
|
26 | 27 |
|
27 | 28 |
|
28 | 29 | %% required columns
|
29 |
| - |
30 |
| -name = {''}; % Name of the electrode |
31 |
| -x = [0]'; |
32 |
| -y = [0]'; |
33 |
| -z = [0]'; |
34 |
| -Size = [0]'; % Diameter in mm |
35 |
| -type = [0]'; % Type of intracranial electrode, one of [?surface?, ?depth? , ?dbs?] |
36 |
| - |
37 |
| - |
38 |
| - |
39 |
| -%% optional columns |
40 |
| - |
| 30 | +name = {''}; % Name of the electrode contact point |
| 31 | +x = [0]'; %X position. The positions of the center of each electrode in xyz space. |
| 32 | +%Units are in millimeters or pixels and are specified in _*space-<label>_electrode.json. |
| 33 | +y = [0]';%Y position. |
| 34 | +z = [0]';% Z position. If electrodes are in 2D space this should be a column of n/a values. |
| 35 | +Size = [0]'; % Diameter in mm^2 |
| 36 | + |
| 37 | +%% recommended columns |
41 | 38 | material = {''}; % Material of the electrodes
|
42 |
| - |
43 |
| -tissue = {''}; % If a clinician has made an observation about the tissue |
44 |
| -% underneath the electrode (e.g. epilepsy, tumor, if nothing state n/a) |
45 |
| - |
46 | 39 | manufacturer = {''}; % Optional field to specify the electrode manufacturer
|
47 | 40 | % for each electrode. Can be used if electrodes were manufactured by more than one company.
|
| 41 | +group = {''}; %Optional field to specify the group that the electrode is a part of. |
| 42 | +%Note that any group specified here should match a group specified in `_channels.tsv` |
| 43 | +hemisphere = {''}; %Optional field to specify the hemisphere in which |
| 44 | +%the electrode is placed, one of [‘L’ or ‘R’] (use capital). |
48 | 45 |
|
49 |
| -grid_size = {''}; % Optional field to specify the dimensions of the grid the |
50 |
| -% electrode is a part of. Should be of the form `(M, N)`. E.g., (8, 8) or(1, 4). |
51 |
| - |
52 |
| - |
| 46 | +%% optional columns |
| 47 | +type = {''}; %Optional type of the electrode,e.g.,cup, ring, clip-on, wire, needle, ... |
| 48 | +impedance = {''}; %Impedance of the electrode in kOhm. |
53 | 49 |
|
54 | 50 | %% write
|
55 |
| -t = table(name,x,y,z,size,type,material,tissue,manufacturer,grid_size); |
| 51 | +t = table(name,x,y,z,Size,material,manufacturer,group,hemisphere,type,impedance); |
56 | 52 |
|
57 |
| -writetable(t,electrodes_tsv_name,'FileType','text','Delimiter','\t'); |
| 53 | +writetable(t,electrodes_tsv_name,'FileType','text','Delimiter','\t'); |
58 | 54 |
|
59 | 55 | clear Size
|
0 commit comments