A python library for cardiac geometries
Project description
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 the provided docker image e.g
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cardiac_geometriesx-0.4.0.tar.gz
.
File metadata
- Download URL: cardiac_geometriesx-0.4.0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 900f9af0a564b9a7e4254af480b9218762a42cae39fa46ef24c65b72a0f38938 |
|
MD5 | 4155864140ca0711e4538f6503b01246 |
|
BLAKE2b-256 | 7c81bf25e042ea2f4232fc7e8ab87f808e44989303b1ce271e19735063c7fcef |
File details
Details for the file cardiac_geometriesx-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: cardiac_geometriesx-0.4.0-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87e6c1db5f7ce67eba88eeb6295ab37efbbb85f608de2351c96bf3fdbfec760e |
|
MD5 | 99a1f5f7dd1720cbee4eae60aef83c67 |
|
BLAKE2b-256 | 1511569e4c6d7941b76faf6cdda752c43cdd5101ab77599b40718777e21c5744 |