Skip to main content

_

Create and publish a Docker image Test package Test package MPI Pre-commit PyPI version

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

Download files

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

Source Distribution

cardiac_geometriesx-0.15.0.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

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

cardiac_geometriesx-0.15.0-py3-none-any.whl (41.7 kB view details)

Uploaded Python 3

File details

Details for the file cardiac_geometriesx-0.15.0.tar.gz.

File metadata

  • Download URL: cardiac_geometriesx-0.15.0.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cardiac_geometriesx-0.15.0.tar.gz
Algorithm Hash digest
SHA256 c8a03df3305e0b03d6385e65adf6996f6915a7e667f4349ee5c257a0fc178a27
MD5 9a17b03e7f0e4f929bff68d12e86e3b0
BLAKE2b-256 3b8c6df5f42386b43cfbb17d87ed1a7610ac5cd87bf78ef21d0549e38b9c56bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for cardiac_geometriesx-0.15.0.tar.gz:

Publisher: pypi.yml on ComputationalPhysiology/cardiac-geometriesx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cardiac_geometriesx-0.15.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cardiac_geometriesx-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e177c58f0148d873b7fb45765316f20943abbd651fbc7fc183600563253e087b
MD5 2b5f1124bbb054fe45f098ddb8d155af
BLAKE2b-256 569bf3b1f47dc82b7db8b837c565df0bf2f9b6100535a4c0a47918833a671330

See more details on using hashes here.

Provenance

The following attestation bundles were made for cardiac_geometriesx-0.15.0-py3-none-any.whl:

Publisher: pypi.yml on ComputationalPhysiology/cardiac-geometriesx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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