Cardiac geometries
Cardiac geometries is a software package built on top of cariac-geometries-core that adds support for creating idealized cardiac geometries for dolfinx.
There are two ways you can use cardiac-geomtries, either using the command line interface, e.g
geox lv-ellipsoid --create-fibers lv-mesh --fiber-space P_2
or using the python API e.g
geo = cardiac_geometries.mesh.lv_ellipsoid(outdir="lv-mesh", create_fibers=True, fiber_space="P_2")
Install
To install the package you can use pip
python3 -m pip install cardiac-geometriesx
however, this assumes that you already have dolfinx pre-installed. You can also use conda
conda install -c conda-forge cardiac-geometriesx
or the provided docker image
docker pull ghcr.io/computationalphysiology/cardiac-geometriesx:latest
To start a new container interactive you can do
docker run --name geox -v $PWD:/home/shared -w /home/shared -it ghcr.io/computationalphysiology/cardiac-geometriesx:latest
or if you just want to create a mesh and exit you can run the command line interface directly e.g
docker run --rm -v $PWD:/home/shared -w /home/shared -it ghcr.io/computationalphysiology/cardiac-geometriesx:latest geox lv-ellipsoid --create-fibers lv-mesh --fiber-space P_2
Authors
Henrik Finsberg (henriknf@simula.no)
License
MIT
Contributing
Metadata
Release files for cardiac-geometriesx 0.16.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cardiac_geometriesx-0.16.0.tar.gz | 39.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cardiac_geometriesx-0.16.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 82.4 kB
Release files / cardiac_geometriesx-0.16.0.tar.gz
| Download URL | cardiac_geometriesx-0.16.0.tar.gz |
|---|---|
| Size | 39.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fb1c3d514410dd774f4d51f565749c19e121347821abdef4e22d24fad1165b5
|
|
BLAKE2b-256 checksum How to use checksums |
59aa5df6c71c4cf4afa797627152b2fa2a99cbb3882cf16ebdd325b9f1988e88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.
Transparency logRelease files / cardiac_geometriesx-0.16.0-py3-none-any.whl
| Download URL | cardiac_geometriesx-0.16.0-py3-none-any.whl |
|---|---|
| Size | 42.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0823cc5f487b834c5686279c3a4b31faafb39f43a6ac71f5acdf3a0c5ae99770
|
|
BLAKE2b-256 checksum How to use checksums |
8de0772102a5056923fb71f108d0fdd3346e8a573e7bf7fcba7994af1c2f0dc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.
Transparency log