Skip to content

Robotized transcranial magnetic stimulation controlled by InVesalius Navigator

License

Notifications You must be signed in to change notification settings

okahilak/tms-robot-control

 
 

Repository files navigation

tms-robot-control

Robotized transcranial magnetic stimulation controlled by InVesalius Navigator (https://github.com/invesalius/invesalius3)

Configuration

  • Copy .env.example to .env

  • Edit .env and set the robot type, site, and other configuration parameters.

Running

The first step is to run the relay_server.py script with an argument to set the server port

python relay_server.py 5000

Next, execute the main_loop.py script. Note: the main_loop should be run using the Python Console

python main_loop.py

After that, run the InVesalius app.py script (https://github.com/invesalius/invesalius3) with the --remote-host argument, specifying the same port as the relay server

python app.py --remote-host http://localhost:5000

Please note that every time InVesalius is started, the main_loop is automatically restarted.

This work is supported by NeuroMat

The Research, Innovation and Dissemination Center for Neuromathematics (RIDC NeuroMat, or simply NeuroMat) is a Brazilian research center established in 2013 at the University of São Paulo that is dedicated to integrating mathematical modeling and theoretical neuroscience. Among the core missions of NeuroMat is the creation of a new mathematical system to understanding neural data and the development of neuroscientific open-source computational tools, keeping an active role under the context of open knowledge, open science, and scientific dissemination. The research center is funded by the São Paulo Research Foundation (FAPESP). NeuroMat homepage: http://neuromat.numec.prp.usp.br

About

Robotized transcranial magnetic stimulation controlled by InVesalius Navigator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Batchfile 0.1%