pre-commit Create and publish a Docker image Build docs Test package PyPI version DOI


fenics-beat#

Library for running cardiac electrophysiology simulations.

[!NOTE] This library are using the legacy version of FEnICS. New users are encourage to use fenicsx-beat which is based on FEniCSx

Getting started#

Check out the examples at https://finsberg.github.io/fenics-beat/

Install#

Using pip#

fenics-beat is also available on pypi and can be installed with

python3 -m pip install fenics-beat

However this requires FEniCS to already be installed. Currently, FEniCS can be installed by building from source, using conda or use some of the pre-built docker images

Automated tests#

Upon pushing new code to the repository, a number of tests run:

  • pre-commit tests.

    • Install pre-commit:

    python3 -m pip install pre-commit
    
    • Run pre-commit hooks:

    pre-commit run --all
    
  • unit and integration tests can be found in tests folder

    • Install tests dependencies:

    python3 -m pip install -e .[test]
    
    • Run tests

    python3 -m pytest
    
  • Examples: All examples are run as part of building the documentation

Contributing guidelines#

Detailed contributing guidelines are given here.

License#

MIT

Need help or having issues#

Please submit an issue