Cardiac Geometries
This is a library for creating idealized cardiac geometries in FEniCS using gmsh.
Currently you can create bi-ventricular (BiV) and left-ventricular (LV) ellipsoidal geometries as well as slab geometries. There is also support for creating bi-ventricular and slab geometries embedded in a torso / bath.
This package can also output analytic fiber orientations for LV and Slab and integrated with the ldrb algorithm BiV geometries.
Install
User are encourage to use the the provided docker image
docker pull ghcr.io/computationalphysiology/cardiac-geometries:latest
which comes pre-installed with FEniCs and gmsh.
You can also install cardiac-geometries using pip
python3 -m pip install cardiac-geometries
but this requires FEniCS and gmsh to be installed in other ways. See more at https://computationalphysiology.github.io/cardiac-geometries/install.html
Getting started
cardiac-geometries comes with a command-line interface, and to e.g create an LV mesh you can do
cardiac-geometries create-lv-ellipsoid lv-mesh
The same functionality can be accessed through the Python API, e.g
import cardiac_geometries
geo = cardiac_geometries.mesh.create_lv_ellipsoid(outdir="lv-mesh")
See https://computationalphysiology.github.io/cardiac-geometries/quickstart.html for more info.
Documentation
Please read the documentation at http://computationalphysiology.github.io/cardiac-geometries for more info.
Contributing
See https://computationalphysiology.github.io/cardiac-geometries/CONTRIBUTING.html
License
MIT
Metadata
Release files for cardiac-geometries 1.1.8
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_geometries-1.1.8.tar.gz | 32.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cardiac_geometries-1.1.8-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 67.0 kB
Release files / cardiac_geometries-1.1.8.tar.gz
| Download URL | cardiac_geometries-1.1.8.tar.gz |
|---|---|
| Size | 32.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0708aae0548043caa02f3d6b7296bf9a3f9c1a04bbe892e5a09ecbb8ab00152f
|
|
BLAKE2b-256 checksum How to use checksums |
9cb870488736e5fa3744fbc0ef6d3004c71148a8f0705fd9fbfde15f66312f4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cardiac_geometries-1.1.8-py2.py3-none-any.whl
| Download URL | cardiac_geometries-1.1.8-py2.py3-none-any.whl |
|---|---|
| Size | 35.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dbdc28c2028b2764fefba9709c33cdbe05543945314056c9b81ec6d47018fd1d
|
|
BLAKE2b-256 checksum How to use checksums |
6499663b6e8874fd722272917f73bc11471afe7d037b03969a52533f7d81756b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|