Name | cardiac-geometriesx JSON |
Version |
0.5.5
JSON |
| download |
home_page | None |
Summary | A python library for cardiac geometries |
upload_time | 2025-07-20 13:03:50 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT |
keywords |
cardiac
geometry
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|

[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/docker-image.yml)
[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/test.yml)
[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/test-mpi.yml)
[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/pre-commit.yml)
[](https://badge.fury.io/py/cardiac-geometriesx)
# Cardiac geometries
Cardiac geometries is a software package built on top of [`cariac-geometries-core`](https://github.com/ComputationalPhysiology/cardiac-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
```python
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
Raw data
{
"_id": null,
"home_page": null,
"name": "cardiac-geometriesx",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "cardiac, geometry",
"author": null,
"author_email": "Henrik Finsberg <henriknf@simula.no>",
"download_url": "https://files.pythonhosted.org/packages/7a/18/dcaaf4df73bc0439709e4998b8b89ac7a0fff94381691ce439ff88873276/cardiac_geometriesx-0.5.5.tar.gz",
"platform": null,
"description": "\n\n[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/docker-image.yml)\n[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/test.yml)\n[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/test-mpi.yml)\n[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/pre-commit.yml)\n[](https://badge.fury.io/py/cardiac-geometriesx)\n\n# Cardiac geometries\n\nCardiac geometries is a software package built on top of [`cariac-geometries-core`](https://github.com/ComputationalPhysiology/cardiac-geometries-core) that adds support for creating idealized cardiac geometries for dolfinx.\n\nThere are two ways you can use `cardiac-geomtries`, either using the command line interface, e.g\n```\ngeox lv-ellipsoid --create-fibers lv-mesh --fiber-space P_2\n```\n\nor using the python API e.g\n```python\ngeo = cardiac_geometries.mesh.lv_ellipsoid(outdir=\"lv-mesh\", create_fibers=True, fiber_space=\"P_2\")\n```\n\n## Install\n\nTo install the package you can use `pip`\n```\npython3 -m pip install cardiac-geometriesx\n```\nhowever, this assumes that you already have `dolfinx` pre-installed. You can also use `conda`\n```\nconda install -c conda-forge cardiac-geometriesx\n```\nor the provided docker image\n```\ndocker pull ghcr.io/computationalphysiology/cardiac-geometriesx:latest\n```\nTo start a new container interactive you can do\n```\ndocker run --name geox -v $PWD:/home/shared -w /home/shared -it ghcr.io/computationalphysiology/cardiac-geometriesx:latest\n```\nor if you just want to create a mesh and exit you can run the command line interface directly e.g\n```\ndocker 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\n```\n\n## Authors\nHenrik Finsberg (henriknf@simula.no)\n\n## License\nMIT\n\n## Contributing\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A python library for cardiac geometries",
"version": "0.5.5",
"project_urls": {
"Homepage": "https://github.com/finsberg/cardiac-geometriesx"
},
"split_keywords": [
"cardiac",
" geometry"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "84e38281c279c5f59493752bf70c55f54c507ef3b419a9f1279898bfe1e894b9",
"md5": "7249916f387aa24603264ca5895cbaf2",
"sha256": "b4889c269481303bf3167bbfde7df2aba57158b9a4a15788cfdd0d4ab59f7cb2"
},
"downloads": -1,
"filename": "cardiac_geometriesx-0.5.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7249916f387aa24603264ca5895cbaf2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 31409,
"upload_time": "2025-07-20T13:03:48",
"upload_time_iso_8601": "2025-07-20T13:03:48.437548Z",
"url": "https://files.pythonhosted.org/packages/84/e3/8281c279c5f59493752bf70c55f54c507ef3b419a9f1279898bfe1e894b9/cardiac_geometriesx-0.5.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "7a18dcaaf4df73bc0439709e4998b8b89ac7a0fff94381691ce439ff88873276",
"md5": "1e05ec33e101ea533d417cbdf65466eb",
"sha256": "493ef16429be7d40fda8c3c7a4e1d8d06b7636def01c89dcb26c1aa8949c6da5"
},
"downloads": -1,
"filename": "cardiac_geometriesx-0.5.5.tar.gz",
"has_sig": false,
"md5_digest": "1e05ec33e101ea533d417cbdf65466eb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 30469,
"upload_time": "2025-07-20T13:03:50",
"upload_time_iso_8601": "2025-07-20T13:03:50.068929Z",
"url": "https://files.pythonhosted.org/packages/7a/18/dcaaf4df73bc0439709e4998b8b89ac7a0fff94381691ce439ff88873276/cardiac_geometriesx-0.5.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-20 13:03:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "finsberg",
"github_project": "cardiac-geometriesx",
"github_not_found": true,
"lcname": "cardiac-geometriesx"
}