SkillAgentSearch skills...

FEMfuns

FEMfuns: a volume conduction modeling pipeline that includes resistive, capacitive or dispersive tissue and electrodes

Install / Use

/learn @meronvermaas/FEMfuns
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<h1>DEPRECATED, the project is continued and maintained in this fork: https://github.com/Donders-Institute/FEMfuns</h1> <p align="center"> <img src="https://raw.githubusercontent.com/meronvermaas/FEMfuns/master/logo.png" width="250"> </p>

Welcome to FEMfuns (Finite Element Method for useful neuroscience simulations).

FEMfuns allows neuroscientists to solve the forward problem in a variety of different geometrical domains, including various types of source models and electrode properties, such as resistive and capacitive materials. The original paper can be found

The results of using FEMfuns demonstrate that the pipeline presented in this paper is an accurate and fexible tool to simulate signals generated on electrode grids by the spatiotemporal electrical activity patterns produced by cortical neurons and thereby allows the user to optimize grids for brain computer interfaces including exploration of alternative electrode materials/properties.

Authors <br/> M. Vermaas, M. C. Piastra, T. F. Oostendorp, N. F. Ramsey & P. H. E. Tiesinga <br/> Original paper at http://dx.doi.org/10.1007/s12021-020-09458-8

This software is provided under the GNU General Purpose License version 3.0, You will find a copy of this license within this folder, or from online here: https://www.gnu.org/licenses/gpl-3.0.txt

Instructions to run code:

install anaconda https://docs.continuum.io/anaconda/install/

clone github code https://github.com/meronvermaas/FEMfuns

move to cloned FEMfuns directory: cd FEMfuns Set-up the conda environment

conda env create -f environment.yml
conda activate femfuns
conda develop pipeline_code/

Get the mesh geometries

Run the code and wait (depending on the study and geometry) a while:

Study 1 run the following lines in terminal:

python3.7 fem_study1.py
python3.7 analytical_correct.py
python3.7 plot_study1.py

Study 2 run the following lines in terminal:

python3.7 fem_study2.py
python3.7 plot_study2.py

Study 3 run the following lines in terminal:

python3.7 fem_study3.py

Inspect pvd files from study3 in Paraview (https://www.paraview.org/download/)

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated3y ago
Forks2

Languages

Python

Security Score

70/100

Audited on Nov 26, 2022

No findings