<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Dear all,<br>
<br>
please find the very basic simulation I tried to run and the
associated error message. <br>
<br>
Note that the same code works when I add a TMS section. <br>
<br>
Best<br>
<br>
Quentin<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Le 29/03/2022 à 09:44, Axel Thielscher
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:6631f2e5-2b2d-e4fa-e19d-24fb37c2ae3a@drcmr.dk">Dear
Quentin,
<br>
<br>
can you please send the matlab script where the error occured?
<br>
<br>
Best,
<br>
<br>
Axel
<br>
<br>
<br>
On 3/25/2022 4:54 PM, Quentin Mesnildrey wrote:
<br>
<blockquote type="cite">Dear community,
<br>
<br>
I am just beginning to run simulations using simnibs so I
apologize in advance if my question has been answered in the
past. If so, please redirect me to a previous discussion.
<br>
<br>
I have managed to run tDCS simulation using the GUI. My next
step is to run it using matlab scripts. I started using the
tutorial script provided on the website. Everything seems to
work well when I do not change anything but when I remove the
TMS component (which I am not interested in), I end up with the
following error message :
<br>
<br>
**************
<br>
if PL['type'][0] == 'TMSLIST':
<br>
IndexError: only integers, slices (`:`), ellipsis (`...`),
numpy.newaxis (`None`) and integer or boolean arrays are
<br>
valid indices
<br>
**************
<br>
Which seems to indicate that not having the TMS is problematic.
<br>
<br>
I would deeply appriciate any advice on this (beginner) issue.
<br>
<br>
Best regards,
<br>
<br>
</blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
Quentin Mesnildrey<br>
Chef de projet R&D - CorStim<br>
<a class="moz-txt-link-abbreviated" href="mailto:quentin.mesnildrey@corstim.com">quentin.mesnildrey@corstim.com</a><br>
+33688875685<br>
<img src="cid:part1.Pt0RqAlN.7XygBQQi@corstim.com" alt=""
width="195" height="47"> </div>
</body>
</html>