cardiac-geometries


Namecardiac-geometries JSON
Version 1.1.7 PyPI version JSON
download
home_pageNone
SummaryA python library for cardiac geometries
upload_time2024-08-20 12:08:30
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseMIT
keywords cardiac geometry mesh gmsh
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://github.com/finsberg/ldrb) algorithm BiV geometries.

## Install
User are encourage to use the the [provided docker image](https://github.com/ComputationalPhysiology/cardiac_geometries/pkgs/container/cardiac_geometries)
```
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
```python
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

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cardiac-geometries",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "cardiac, geometry, mesh, gmsh",
    "author": null,
    "author_email": "Henrik Finsberg <henriknf@simula.no>",
    "download_url": "https://files.pythonhosted.org/packages/ec/bf/20add61a2eb555c05d7f6d5888ab81cdf798932169666cbb9e23495291d2/cardiac_geometries-1.1.7.tar.gz",
    "platform": null,
    "description": "# Cardiac Geometries\n\nThis is a library for creating idealized cardiac geometries in FEniCS using `gmsh`.\nCurrently 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.\n\n\nThis package can also output analytic fiber orientations for LV and Slab and integrated with the [ldrb](https://github.com/finsberg/ldrb) algorithm BiV geometries.\n\n## Install\nUser are encourage to use the the [provided docker image](https://github.com/ComputationalPhysiology/cardiac_geometries/pkgs/container/cardiac_geometries)\n```\ndocker pull ghcr.io/computationalphysiology/cardiac_geometries:latest\n```\nwhich comes pre-installed with FEniCs and gmsh.\n\nYou can also install `cardiac-geometries` using `pip`\n```\npython3 -m pip install cardiac-geometries\n```\nbut this requires FEniCS and gmsh to be installed in other ways. See more at https://computationalphysiology.github.io/cardiac_geometries/install.html\n\n## Getting started\n`cardiac-geometries` comes with a command-line interface, and to e.g create an LV mesh you can do\n```\ncardiac-geometries create-lv-ellipsoid lv-mesh\n```\nThe same functionality can be accessed through the Python API, e.g\n```python\nimport cardiac_geometries\n\ngeo = cardiac_geometries.mesh.create_lv_ellipsoid(outdir=\"lv-mesh\")\n```\nSee https://computationalphysiology.github.io/cardiac_geometries/quickstart.html for more info.\n\n\n## Documentation\nPlease read the documentation at http://computationalphysiology.github.io/cardiac_geometries for more info.\n\n## Contributing\nSee https://computationalphysiology.github.io/cardiac_geometries/CONTRIBUTING.html\n\n## License\nMIT\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A python library for cardiac geometries",
    "version": "1.1.7",
    "project_urls": {
        "Homepage": "https://github.com/ComputationalPhysiology/cardiac_geometries"
    },
    "split_keywords": [
        "cardiac",
        " geometry",
        " mesh",
        " gmsh"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c0bdae845fa463050de3b5d7740cae8c8e20451d93677cce27bf0a20cbc5ecd8",
                "md5": "d2ca94e48a398c56fc9fbfdedaf58b29",
                "sha256": "7318e0be7ae81d3a49b8b97710d357e79cdf9bb1e4398a1df6a6e2b5374f6a05"
            },
            "downloads": -1,
            "filename": "cardiac_geometries-1.1.7-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d2ca94e48a398c56fc9fbfdedaf58b29",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.6",
            "size": 34789,
            "upload_time": "2024-08-20T12:08:29",
            "upload_time_iso_8601": "2024-08-20T12:08:29.401857Z",
            "url": "https://files.pythonhosted.org/packages/c0/bd/ae845fa463050de3b5d7740cae8c8e20451d93677cce27bf0a20cbc5ecd8/cardiac_geometries-1.1.7-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ecbf20add61a2eb555c05d7f6d5888ab81cdf798932169666cbb9e23495291d2",
                "md5": "921b24afe0bf27134f3c9412bc63193c",
                "sha256": "c22a29b11888ecf650b231b904d2e8fce829220a010b92c25fbe15770af81b10"
            },
            "downloads": -1,
            "filename": "cardiac_geometries-1.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "921b24afe0bf27134f3c9412bc63193c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 31317,
            "upload_time": "2024-08-20T12:08:30",
            "upload_time_iso_8601": "2024-08-20T12:08:30.341306Z",
            "url": "https://files.pythonhosted.org/packages/ec/bf/20add61a2eb555c05d7f6d5888ab81cdf798932169666cbb9e23495291d2/cardiac_geometries-1.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-20 12:08:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ComputationalPhysiology",
    "github_project": "cardiac_geometries",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "cardiac-geometries"
}
        
Elapsed time: 0.27968s