GithubHelp home page GithubHelp logo

meronvermaas / femfuns Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 2.0 4.97 MB

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

License: GNU General Public License v3.0

Python 98.93% Shell 1.07%

femfuns's Introduction

DEPRECATED, the project is continued and maintained in this fork: https://github.com/Donders-Institute/FEMfuns

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
M. Vermaas, M. C. Piastra, T. F. Oostendorp, N. F. Ramsey & P. H. E. Tiesinga
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/)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.