Skip to main content

[![PyPi Version](https://img.shields.io/pypi/v/dolfin-warp.svg?style=flat-square)](https://pypi.org/project/dolfin-warp)

Project description

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/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dolfin_warp-2026.5.6.tar.gz (89.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dolfin_warp-2026.5.6-py3-none-any.whl (124.2 kB view details)

Uploaded Python 3

File details

Details for the file dolfin_warp-2026.5.6.tar.gz.

File metadata

  • Download URL: dolfin_warp-2026.5.6.tar.gz
  • Upload date:
  • Size: 89.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dolfin_warp-2026.5.6.tar.gz
Algorithm Hash digest
SHA256 c3c776222283025150aa7227b1cbd8382d8e4b0dbabb8bbc2ea0a6ccb895d22d
MD5 b850562b9a4886e60ae51f36b9c8223a
BLAKE2b-256 150f82f4b1d54b5db6437f6007881e06b34c27005cd05e9e7f537cff7ca626a0

See more details on using hashes here.

File details

Details for the file dolfin_warp-2026.5.6-py3-none-any.whl.

File metadata

  • Download URL: dolfin_warp-2026.5.6-py3-none-any.whl
  • Upload date:
  • Size: 124.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dolfin_warp-2026.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9a7d19d445c1ef24688668db859b46631fded5f799a7ea43d5790fa77d952c6b
MD5 8b60f19f59068025353f20b84add9f8c
BLAKE2b-256 561f15b372abaf2e246202245143052eff8b552150ee27c879e4cda684b7c4a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page