cardiac-geometriesx 0.1.2__py3-none-any.whl → 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cardiac-geometriesx might be problematic. Click here for more details.
- cardiac_geometries/cli.py +15 -1
- cardiac_geometries/fibers/lv_ellipsoid.py +10 -12
- cardiac_geometries/fibers/slab.py +10 -12
- cardiac_geometries/fibers/utils.py +13 -8
- cardiac_geometries/geometry.py +82 -32
- cardiac_geometries/gui.py +272 -0
- cardiac_geometries/mesh.py +45 -22
- cardiac_geometries/utils.py +343 -25
- cardiac_geometriesx-0.2.0.dist-info/LICENSE +21 -0
- cardiac_geometriesx-0.2.0.dist-info/METADATA +94 -0
- cardiac_geometriesx-0.2.0.dist-info/RECORD +16 -0
- {cardiac_geometriesx-0.1.2.dist-info → cardiac_geometriesx-0.2.0.dist-info}/WHEEL +1 -1
- cardiac_geometriesx-0.1.2.dist-info/METADATA +0 -51
- cardiac_geometriesx-0.1.2.dist-info/RECORD +0 -14
- {cardiac_geometriesx-0.1.2.dist-info → cardiac_geometriesx-0.2.0.dist-info}/entry_points.txt +0 -0
- {cardiac_geometriesx-0.1.2.dist-info → cardiac_geometriesx-0.2.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: cardiac-geometriesx
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: A python library for cardiac geometries
|
|
5
|
+
Author-email: Henrik Finsberg <henriknf@simula.no>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/finsberg/cardiac-geometriesx
|
|
8
|
+
Keywords: cardiac,geometry
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
12
|
+
Requires-Python: >=3.8
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
Requires-Dist: fenics-dolfinx >=0.8.0
|
|
16
|
+
Requires-Dist: structlog
|
|
17
|
+
Requires-Dist: cardiac-geometries-core
|
|
18
|
+
Requires-Dist: rich-click
|
|
19
|
+
Requires-Dist: adios4dolfinx
|
|
20
|
+
Provides-Extra: dev
|
|
21
|
+
Requires-Dist: bump-my-version ; extra == 'dev'
|
|
22
|
+
Requires-Dist: ipython ; extra == 'dev'
|
|
23
|
+
Requires-Dist: pdbpp ; extra == 'dev'
|
|
24
|
+
Requires-Dist: pre-commit ; extra == 'dev'
|
|
25
|
+
Requires-Dist: twine ; extra == 'dev'
|
|
26
|
+
Requires-Dist: wheel ; extra == 'dev'
|
|
27
|
+
Provides-Extra: docs
|
|
28
|
+
Requires-Dist: jupyter-book ; extra == 'docs'
|
|
29
|
+
Requires-Dist: jupytext ; extra == 'docs'
|
|
30
|
+
Requires-Dist: jupyter ; extra == 'docs'
|
|
31
|
+
Requires-Dist: pyvista[all] >=0.43.0 ; extra == 'docs'
|
|
32
|
+
Requires-Dist: trame-vuetify ; extra == 'docs'
|
|
33
|
+
Requires-Dist: ipywidgets ; extra == 'docs'
|
|
34
|
+
Requires-Dist: fenicsx-ldrb ; extra == 'docs'
|
|
35
|
+
Provides-Extra: gui
|
|
36
|
+
Requires-Dist: streamlit ; extra == 'gui'
|
|
37
|
+
Requires-Dist: stpyvista ; extra == 'gui'
|
|
38
|
+
Requires-Dist: pyvista[all] >=0.43.0 ; extra == 'gui'
|
|
39
|
+
Requires-Dist: trame-vuetify ; extra == 'gui'
|
|
40
|
+
Requires-Dist: ipywidgets ; extra == 'gui'
|
|
41
|
+
Requires-Dist: fenicsx-ldrb ; extra == 'gui'
|
|
42
|
+
Provides-Extra: test
|
|
43
|
+
Requires-Dist: pre-commit ; extra == 'test'
|
|
44
|
+
Requires-Dist: pytest ; extra == 'test'
|
|
45
|
+
Requires-Dist: pytest-cov ; extra == 'test'
|
|
46
|
+
|
|
47
|
+

|
|
48
|
+
|
|
49
|
+
[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/docker-image.yml)
|
|
50
|
+
[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/test.yml)
|
|
51
|
+
[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/test-mpi.yml)
|
|
52
|
+
[](https://github.com/ComputationalPhysiology/cardiac-geometriesx/actions/workflows/pre-commit.yml)
|
|
53
|
+
[](https://badge.fury.io/py/cardiac-geometriesx)
|
|
54
|
+
|
|
55
|
+
# Cardiac geometries
|
|
56
|
+
|
|
57
|
+
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.
|
|
58
|
+
|
|
59
|
+
There are two ways you can use `cardiac-geomtries`, either using the command line interface, e.g
|
|
60
|
+
```
|
|
61
|
+
geox lv-ellipsoid --create-fibers lv-mesh --fiber-space P_2
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
or using the python API e.g
|
|
65
|
+
```python
|
|
66
|
+
geo = cardiac_geometries.mesh.lv_ellipsoid(outdir="lv-mesh", create_fibers=True, fiber_space="P_2")
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Install
|
|
70
|
+
|
|
71
|
+
To install the package you can use `pip`
|
|
72
|
+
```
|
|
73
|
+
python3 -m pip install cardiac-geometriesx
|
|
74
|
+
```
|
|
75
|
+
however, this assumes that you already have `dolfinx` pre-installed. You can also use the provided docker image e.g
|
|
76
|
+
```
|
|
77
|
+
docker pull ghcr.io/computationalphysiology/cardiac-geometriesx:latest
|
|
78
|
+
```
|
|
79
|
+
To start a new container interactive you can do
|
|
80
|
+
```
|
|
81
|
+
docker run --name geox -v $PWD:/home/shared -w /home/shared -it ghcr.io/computationalphysiology/cardiac-geometriesx:latest
|
|
82
|
+
```
|
|
83
|
+
or if you just want to create a mesh and exit you can run the command line interface directly e.g
|
|
84
|
+
```
|
|
85
|
+
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
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Authors
|
|
89
|
+
Henrik Finsberg (henriknf@simula.no)
|
|
90
|
+
|
|
91
|
+
## License
|
|
92
|
+
MIT
|
|
93
|
+
|
|
94
|
+
## Contributing
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
cardiac_geometries/__init__.py,sha256=2W_ywAeLjyRk5MqSPAodHa4UN2lOnW1h8tmGLQ3gaJ0,150
|
|
2
|
+
cardiac_geometries/cli.py,sha256=GKcsMNhVFoxWDr-o3jiDCXmTvPgCSEB9Kws8AvYIK4Q,19678
|
|
3
|
+
cardiac_geometries/geometry.py,sha256=iK8lydZEqU3sz0983yucW9IzQ2VqSXSy4D5ubdl9bOs,5636
|
|
4
|
+
cardiac_geometries/gui.py,sha256=9WYR850wLrqsUrVUC37E2SaO0OWA_oagSe-YNrsxz3k,8376
|
|
5
|
+
cardiac_geometries/mesh.py,sha256=JSm69BTS7WRUldwaQ9-Gnjq_KbX66FTnl2ouFKRtFhA,26825
|
|
6
|
+
cardiac_geometries/utils.py,sha256=EwEXAuB4XiJaqlZaGZ1cc6sIBSPJLCx-43As1NUcJrA,16488
|
|
7
|
+
cardiac_geometries/fibers/__init__.py,sha256=WpRrn9Iakl-3m8IGtFkqP0LXGjw5EZHZ8Eg9JCnCdrg,137
|
|
8
|
+
cardiac_geometries/fibers/lv_ellipsoid.py,sha256=jFloAhrFRkKrhsWVKcOiZrGioPLBN3_yiIXiyr1mHCQ,3665
|
|
9
|
+
cardiac_geometries/fibers/slab.py,sha256=5tMvOSqXQ4_nbdUUtho_tQjDrmICxZfN7SXNq4FKdlY,3836
|
|
10
|
+
cardiac_geometries/fibers/utils.py,sha256=j1ERqXcdaWCwO2yjbYGlgTt2G1DxZCVzbNHuDhh_QrM,2541
|
|
11
|
+
cardiac_geometriesx-0.2.0.dist-info/LICENSE,sha256=lo5K2rJPZOSv6luutGHbzzi3IpXNaB9E2UWq60qvNx0,1111
|
|
12
|
+
cardiac_geometriesx-0.2.0.dist-info/METADATA,sha256=VHm0LNhB1GsjrcY8fPTJH0C6UzvV01FW07kIxgmVAwc,4163
|
|
13
|
+
cardiac_geometriesx-0.2.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
14
|
+
cardiac_geometriesx-0.2.0.dist-info/entry_points.txt,sha256=xOBnlc6W-H9oCDYLNz3kpki26OmpfYSoFSrmi_4V-Ec,52
|
|
15
|
+
cardiac_geometriesx-0.2.0.dist-info/top_level.txt,sha256=J0gQxkWR2my5Vf7Qt8buDY8ZOjYdVfIweVunCGXWKNE,19
|
|
16
|
+
cardiac_geometriesx-0.2.0.dist-info/RECORD,,
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: cardiac-geometriesx
|
|
3
|
-
Version: 0.1.2
|
|
4
|
-
Summary: A python library for cardiac geometries
|
|
5
|
-
Author-email: Henrik Finsberg <henriknf@simula.no>
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/finsberg/cardiac-geometriesx
|
|
8
|
-
Keywords: cardiac,geometry
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
12
|
-
Requires-Python: >=3.8
|
|
13
|
-
Description-Content-Type: text/markdown
|
|
14
|
-
Requires-Dist: fenics-dolfinx >=0.8.0
|
|
15
|
-
Requires-Dist: structlog
|
|
16
|
-
Requires-Dist: cardiac-geometries-core
|
|
17
|
-
Requires-Dist: rich-click
|
|
18
|
-
Requires-Dist: adios4dolfinx
|
|
19
|
-
Provides-Extra: dev
|
|
20
|
-
Requires-Dist: bump-my-version ; extra == 'dev'
|
|
21
|
-
Requires-Dist: ipython ; extra == 'dev'
|
|
22
|
-
Requires-Dist: pdbpp ; extra == 'dev'
|
|
23
|
-
Requires-Dist: pre-commit ; extra == 'dev'
|
|
24
|
-
Requires-Dist: twine ; extra == 'dev'
|
|
25
|
-
Requires-Dist: wheel ; extra == 'dev'
|
|
26
|
-
Provides-Extra: docs
|
|
27
|
-
Provides-Extra: test
|
|
28
|
-
Requires-Dist: pre-commit ; extra == 'test'
|
|
29
|
-
Requires-Dist: pytest ; extra == 'test'
|
|
30
|
-
Requires-Dist: pytest-cov ; extra == 'test'
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
# Cardiac geometries
|
|
34
|
-
|
|
35
|
-
Cardiac geometries for `dolfinx` (targeting v0.8).
|
|
36
|
-
|
|
37
|
-
Install
|
|
38
|
-
```
|
|
39
|
-
python3 -m pip install cardiac-geometriesx
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Example usage
|
|
43
|
-
```
|
|
44
|
-
geox lv-ellipsoid --create-fibers lv-mesh
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Authors
|
|
48
|
-
Henrik Finsberg (henriknf@simula.no)
|
|
49
|
-
|
|
50
|
-
## License
|
|
51
|
-
MIT
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
cardiac_geometries/__init__.py,sha256=2W_ywAeLjyRk5MqSPAodHa4UN2lOnW1h8tmGLQ3gaJ0,150
|
|
2
|
-
cardiac_geometries/cli.py,sha256=2-99xmcBltdotzxp4aDZLrh46gyA5U_PZc6lHen7LIM,19323
|
|
3
|
-
cardiac_geometries/geometry.py,sha256=fxya6HDCe3MtdEcrRgygOfbj5yg10tNWA6HhObamcUY,4659
|
|
4
|
-
cardiac_geometries/mesh.py,sha256=cJAcwdDaYmO8MlfocaxvV6pkBcfEWybMSBAaycr6q3s,25987
|
|
5
|
-
cardiac_geometries/utils.py,sha256=-fH13vimCYrirDZubQdxRpX-7I9iCFsOJ8Xo1NL5Nvc,3596
|
|
6
|
-
cardiac_geometries/fibers/__init__.py,sha256=WpRrn9Iakl-3m8IGtFkqP0LXGjw5EZHZ8Eg9JCnCdrg,137
|
|
7
|
-
cardiac_geometries/fibers/lv_ellipsoid.py,sha256=jdRek3v_V2a9IQHqH7P-lK0JBwa1dUNpBBmABzKGje4,3690
|
|
8
|
-
cardiac_geometries/fibers/slab.py,sha256=h_iVs_e1F9LJaXJOzam336f0LcTAXXBvApsFZGZSnZs,3861
|
|
9
|
-
cardiac_geometries/fibers/utils.py,sha256=hMTAKy32ow10tpNE1-WuvCYk7PVXO1qL0dHPa3LjecQ,2434
|
|
10
|
-
cardiac_geometriesx-0.1.2.dist-info/METADATA,sha256=j68EaXmIA9r9PFIGGwjigAGekqalX1c44A_6GyZ5KDw,1349
|
|
11
|
-
cardiac_geometriesx-0.1.2.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
|
|
12
|
-
cardiac_geometriesx-0.1.2.dist-info/entry_points.txt,sha256=xOBnlc6W-H9oCDYLNz3kpki26OmpfYSoFSrmi_4V-Ec,52
|
|
13
|
-
cardiac_geometriesx-0.1.2.dist-info/top_level.txt,sha256=J0gQxkWR2my5Vf7Qt8buDY8ZOjYdVfIweVunCGXWKNE,19
|
|
14
|
-
cardiac_geometriesx-0.1.2.dist-info/RECORD,,
|
{cardiac_geometriesx-0.1.2.dist-info → cardiac_geometriesx-0.2.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|