[Simnibs-discuss] First steps into Simnibs

Quentin Mesnildrey quentin.mesnildrey at corstim.com
Fri Mar 25 16:54:54 CET 2022


Dear community,

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.

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 :

**************
if PL['type'][0] == 'TMSLIST':
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis 
(`None`) and integer or boolean arrays are
valid indices
**************
Which seems to indicate that not having the TMS is problematic.

I would deeply appriciate any advice on this (beginner) issue.

Best regards,

-- 
Quentin Mesnildrey



More information about the Simnibs-discuss mailing list