Skip to content

klabhub/EFMouse

Repository files navigation

EFMouse: a toolbox to model electric fields in the mouse brain

DOI License

EFMouse example image

The EFMouse.m Matlab class models electric fields generated by current stimulation in the mouse. This toolbox uses some of the same approaches as ROAST, which models electric fields in the human head.

For details see Sanchez-Romero et al. (2025) PLOS Comput. Biol.

Run the different Matlab tutorials montage_*.mlx to reproduce results in Sanchez-Romero et al.
You can visualize (not interact with) the tutorials directly here montage_1xBack.html, montage_1x4.hmtl, montage_4xBack_craniotomy.html, montage_1x1_craniotomy.hmtl and montage_1x1_craniotomy_skinBone-csf.html

Developed by Ruben Sanchez-Romero, Sibel Akyuz and Bart Krekelberg
Center for Molecular and Behavioral Neuroscience (CMBN) Rutgers Newark
v2.0.1. September 2025
For support, please open an issue

If you use EFMouse in your research, please cite:
Sanchez-Romero R, Akyuz S, Krekelberg B (2025) EFMouse: A toolbox to model stimulation-induced electric fields in the mouse brain. PLoS Comput Biol 21(9): e1013471. https://doi.org/10.1371/journal.pcbi.1013471

Installation and dependencies

Requires MATLAB/2023a or later versions, and the Partial Differential Equation Toolbox.

Clone the repository from github git clone https://github.com/klabhub/EFMouse.git

Analyzing results with reference to the Allen mouse atlas requires the FSL package 6.0.7 or later versions. (FSL applies a transformation to the simulation results to map them to the Allen atlas.)

Tutorial

To get started, open one of the montage_*.mlx files in Matlab and follow the compute pipeline, the analysis suggestions, and for additional options look up the help for each of the functions used in the tutorial.

About

Electric field modeling in the mouse brain.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages