Skip to main content

A python library for cardiac geometries

Project description

_

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


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.4.8.tar.gz (26.1 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.4.8-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cardiac_geometriesx-0.4.8.tar.gz
Algorithm Hash digest
SHA256 f9047826f34cb4b563602466f4587a28a4777da0889347dcfc71451e487afa83
MD5 b5a79dd6866f043a1b6907064e1ff44d
BLAKE2b-256 c5dc8eb83f49f4be2ce22b9be07105790dc192dc828e12db3338a4e21acb61a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for cardiac_geometriesx-0.4.8.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.4.8-py3-none-any.whl.

File metadata

File hashes

Hashes for cardiac_geometriesx-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 81c2a58f0851acc636f795810c985f23b9b3590fea4818884996245b510c5c70
MD5 a4ba059ae67ca82075cee5c5bb234fb6
BLAKE2b-256 6c3073908e790bcef6a72ddad38266664de44912e51af195f70e786285230f8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cardiac_geometriesx-0.4.8-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 Pingdom Monitoring Sentry Error logging StatusPage Status page