<div dir="ltr">Dear all,<div><br></div><div>Earlier also I have asked the same question but still, I am not able to understand it fully.</div><div><br></div><div>Please help me out.</div><div><br></div><div>I have made head model with headreco for 5 subjects.</div><div><br></div><div>Now i want to do simple optimization first. In simnibs website i found this for simple optimization </div><div><pre style="overflow:auto hidden;clear:both;font-family:Consolas,Menlo,"DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;font-size:0.9em;background:rgb(238,238,238);padding:7px 30px;margin-top:0px;margin-bottom:0px;line-height:1.3em;color:rgb(62,67,73)"><span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Example of a SimNIBS tDCS optimization in MATLAB</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">%</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Copyright (C) 2019 Guilherme B Saturnino</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Initialize structure</span>
<span class="gmail-n">opt</span> <span class="gmail-p">=</span> <span class="gmail-n">opt_struct</span><span class="gmail-p">(</span><span class="gmail-s" style="color:rgb(64,112,160)">'TDCSoptimize'</span><span class="gmail-p">);</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Select the leadfield file</span>
<span class="gmail-n">opt</span><span class="gmail-p">.</span><span class="gmail-n">leadfield_hdf</span> <span class="gmail-p">=</span> <span class="gmail-s" style="color:rgb(64,112,160)">'leadfield/ernie_leadfield_EEG10-10_UI_Jurak_2007.hdf5'</span><span class="gmail-p">;</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Select a name for the optimization</span>
<span class="gmail-n">opt</span><span class="gmail-p">.</span><span class="gmail-n">name</span> <span class="gmail-p">=</span> <span class="gmail-s" style="color:rgb(64,112,160)">'optimization/single_target'</span><span class="gmail-p">;</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Select a maximum total current (in A)</span>
<span class="gmail-n">opt</span><span class="gmail-p">.</span><span class="gmail-n">max_total_current</span> <span class="gmail-p">=</span> <span class="gmail-mf" style="color:rgb(32,128,80)">2e-3</span><span class="gmail-p">;</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Select a maximum current at each electrodes (in A)</span>
<span class="gmail-n">opt</span><span class="gmail-p">.</span><span class="gmail-n">max_individual_current</span> <span class="gmail-p">=</span> <span class="gmail-mf" style="color:rgb(32,128,80)">1e-3</span><span class="gmail-p">;</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Select a maximum number of active electrodes (optional)</span>
<span class="gmail-n">opt</span><span class="gmail-p">.</span><span class="gmail-n">max_active_electrodes</span> <span class="gmail-p">=</span> <span class="gmail-mi" style="color:rgb(32,128,80)">8</span><span class="gmail-p">;</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Define optimization target</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Position of target, in subject space!</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% please see tdcs_optimize_mni.m for how to use MNI coordinates</span>
<span class="gmail-n">opt</span><span class="gmail-p">.</span><span class="gmail-n">target</span><span class="gmail-p">.</span><span class="gmail-n">positions</span> <span class="gmail-p">=</span> <span class="gmail-p">[</span><span class="gmail-o" style="color:rgb(102,102,102)">-</span><span class="gmail-mf" style="color:rgb(32,128,80)">55.4</span><span class="gmail-p">,</span> <span class="gmail-o" style="color:rgb(102,102,102)">-</span><span class="gmail-mf" style="color:rgb(32,128,80)">20.7</span><span class="gmail-p">,</span> <span class="gmail-mf" style="color:rgb(32,128,80)">73.4</span><span class="gmail-p">];</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Intensity of the electric field (in V/m)</span>
<span class="gmail-n">opt</span><span class="gmail-p">.</span><span class="gmail-n">target</span><span class="gmail-p">.</span><span class="gmail-n">intensity</span> <span class="gmail-p">=</span> <span class="gmail-mf" style="color:rgb(32,128,80)">0.2</span><span class="gmail-p">;</span>
<span class="gmail-c" style="color:rgb(64,128,144);font-style:italic">% Run optimization</span>
<span class="gmail-n">run_simnibs</span><span class="gmail-p">(</span><span class="gmail-n">opt</span><span class="gmail-p">);</span></pre></div><div><br></div><div><br></div><div>Where there is opt.target.positions = [-55.4, -20.7, 73.4] By usinf this co-ordinate what simnibs tryng to target..</div><div><br></div><div><br></div><div>My question is I want to target the left hippocampus for memory-related problems in some patients. So what i need to place value as a three numbers that is written in a bracket for target position. </div><div><br></div><div>Please elaborate this as i am not able to understand how to write this coordinate for different subjects because in every subject it will be different. </div><div><br></div><div>Please help me out. <br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span style="color:rgb(56,118,29)"><font size="2">-----------------------------------------------------------------------------------------------------<br>UTKARSH V. PANCHOLI<br></font></span></div><span style="color:rgb(56,118,29)"><font size="2">ASSISTANT PROFESSOR<br></font></span></div><div><span style="color:rgb(56,118,29)"><font size="2">BIOMEDICAL ENGINEERING<br></font></span></div><span style="color:rgb(56,118,29)"><font size="2">L.D COLLEGE OF ENGINEERING<br></font></span></div><span style="color:rgb(56,118,29)"><font size="2">AHMEDABAD-380015</font></span><br></div></div></div></div></div></div></div></div></div>