Skip to content

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Repository files navigation

DOI PyPi Version PyPI Downloads

dolfin_warp

A set of FEniCS- and VTK-based python tools for Finite Element Digital Image Correlation/Image Registration/Motion Tracking, basically implementing the method described in [Genet, Stoeck, von Deuster, Lee & Kozerke (2018). Equilibrated Warping: Finite Element Image Registration with Finite Strain Equilibrium Gap Regularization. Medical Image Analysis.] and [Genet (2023). Finite strain formulation of the discrete equilibrium gap principle: application to mechanically consistent regularization for large motion tracking. Comptes Rendus Mécanique.].

The library has notably been used in:

(If you use it for your own work please let me know!)

Tutorials

Interactive tutorials can be found at https://mgenet.github.io/dolfin_warp-tutorials.

Installation

A working installation of FEniCS (version 2019.1.0; including the dolfin python interface) & VTK (also including python interface) is required to run dolfin_warp. To setup a system, the simplest is to use conda: first install miniconda (note that for Microsoft Windows machines you first need to install WSL, the Windows Subsystem for Linux, and then install miniconda for linux inside the WSL), and then install the necessary packages:

conda create -y -c conda-forge -n dolfin_warp expat=2.5 fenics=2019.1.0 gnuplot=5.4 jinja2=3.1 matplotlib=3.5 meshio=5.3 mpi4py=3.1.3 numpy=1.23 pandas=1.3 pip python=3.10 scipy=1.9 vtk=9.2
conda activate dolfin_warp
conda env config vars set CPATH=$CONDA_PREFIX/include/vtk-9.2
conda activate dolfin_warp

Now, if you only need to use the library, you can install it with:

pip install dolfin_warp

But if you need to develop within the library, you need to install an editable version of the sources:

git clone https://github.com/mgenet/dolfin_warp.git
pip install -e dolfin_warp/.

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages