Skip to content

bast/tms-location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

133 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

TMS location

Code to visualize and locate points for trans-cranial magnetic stimulation (TMS).

screenshot of the web app

Requirements

How to use it

First download the container image (ending with *.sif) from here: https://github.com/bast/tms-location/releases

Make the image executable and then point the container image to the directory where you have the mesh data:

$ ./tms-location.sif /path/to/ernie_data

Then open the browser at the URL shown in the terminal (typically http://127.0.0.1:8050).

Authors

  • Radovan Bast
  • Per M. Aslaksen
  • Bente S. Barge

The code uses the potpourri3d library to compute geodesic paths

If you use this code, please cite their paper:

@article{sharp2020flipout,
  author = {Sharp, Nicholas and Crane, Keenan},
  title = {You Can Find Geodesic Paths in Triangle Meshes by Just Flipping Edges},
  journal = {ACM Trans. Graph.},
  volume = {39},
  number = {6},
  year = {2020},
  publisher = {ACM},
  address = {New York, NY, USA},
}

Please cite SimNIBS if you use this container

I am not affiliated with SimNIBS but this container uses SimNIBS under the hood.

When you publish results based on SimNIBS, please cite Thielscher, A., Antunes, A. and Saturnino, G.B. (2015), Field modeling for transcranial magnetic stimulation: a useful tool to understand the physiological effects of TMS? IEEE EMBS 2015, Milano, Italy.

Warning

SimNIBS is a research tool. Clinical usage is not supported or advised. In particular, SimNIBS was not tested to give accurate results in the presence of pathological condition. See also https://simnibs.github.io/simnibs/

Other resources

About the container image

To build the image, I have used this wonderful guide as starting point and inspiration.

I find it important that everybody can verify how the container image was built. And you can! You can inspect the definition file and all scripts which are all part of this repository.

About

Code to visualize and locate points for transcranial magnetic stimulation (TMS).

Resources

License

Stars

Watchers

Forks

Contributors