svv 0.0.31__tar.gz
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.
- svv-0.0.31/MANIFEST.in +21 -0
- svv-0.0.31/PKG-INFO +65 -0
- svv-0.0.31/README.md +20 -0
- svv-0.0.31/pyproject.toml +10 -0
- svv-0.0.31/setup.cfg +4 -0
- svv-0.0.31/setup.py +613 -0
- svv-0.0.31/svv/__init__.py +0 -0
- svv-0.0.31/svv/domain/__init__.py +0 -0
- svv-0.0.31/svv/domain/core/__init__.py +183 -0
- svv-0.0.31/svv/domain/core/a_matrix.py +180 -0
- svv-0.0.31/svv/domain/core/h_matrix.py +182 -0
- svv-0.0.31/svv/domain/core/m_matrix.py +288 -0
- svv-0.0.31/svv/domain/core/n_matrix.py +116 -0
- svv-0.0.31/svv/domain/domain.py +703 -0
- svv-0.0.31/svv/domain/io/__init__.py +0 -0
- svv-0.0.31/svv/domain/io/read.py +41 -0
- svv-0.0.31/svv/domain/kernel/__init__.py +0 -0
- svv-0.0.31/svv/domain/kernel/coordinate_system.py +233 -0
- svv-0.0.31/svv/domain/kernel/cost.py +163 -0
- svv-0.0.31/svv/domain/kernel/kernel.py +353 -0
- svv-0.0.31/svv/domain/patch.py +146 -0
- svv-0.0.31/svv/domain/routines/__init__.py +0 -0
- svv-0.0.31/svv/domain/routines/allocate.py +162 -0
- svv-0.0.31/svv/domain/routines/boolean.py +57 -0
- svv-0.0.31/svv/domain/routines/c_allocate.cpp +35328 -0
- svv-0.0.31/svv/domain/routines/c_allocate.pyx +225 -0
- svv-0.0.31/svv/domain/routines/c_sample.cpp +31202 -0
- svv-0.0.31/svv/domain/routines/c_sample.pyx +60 -0
- svv-0.0.31/svv/domain/routines/discretize.py +303 -0
- svv-0.0.31/svv/domain/routines/tetrahedralize.py +61 -0
- svv-0.0.31/svv/domain/solver/__init__.py +0 -0
- svv-0.0.31/svv/domain/solver/solver.py +108 -0
- svv-0.0.31/svv/domain/weingarten.py +180 -0
- svv-0.0.31/svv/forest/__init__.py +0 -0
- svv-0.0.31/svv/forest/connect/__init__.py +0 -0
- svv-0.0.31/svv/forest/connect/assign.py +530 -0
- svv-0.0.31/svv/forest/connect/base.py +152 -0
- svv-0.0.31/svv/forest/connect/base_connection.py +972 -0
- svv-0.0.31/svv/forest/connect/bezier.py +223 -0
- svv-0.0.31/svv/forest/connect/catmullrom.py +379 -0
- svv-0.0.31/svv/forest/connect/connect.py +0 -0
- svv-0.0.31/svv/forest/connect/curve.py +52 -0
- svv-0.0.31/svv/forest/connect/forest_connection.py +35 -0
- svv-0.0.31/svv/forest/connect/geodesic.py +96 -0
- svv-0.0.31/svv/forest/connect/nurbs.py +253 -0
- svv-0.0.31/svv/forest/connect/optimize.py +1055 -0
- svv-0.0.31/svv/forest/connect/tree_connection.py +417 -0
- svv-0.0.31/svv/forest/connect/vessel_connection.py +217 -0
- svv-0.0.31/svv/forest/export/__init__.py +0 -0
- svv-0.0.31/svv/forest/export/export_solid.py +37 -0
- svv-0.0.31/svv/forest/export/export_spline.py +225 -0
- svv-0.0.31/svv/forest/forest.py +285 -0
- svv-0.0.31/svv/simulation/__init__.py +0 -0
- svv-0.0.31/svv/simulation/boundary_conditions.py +127 -0
- svv-0.0.31/svv/simulation/equation.py +230 -0
- svv-0.0.31/svv/simulation/fluid/__init__.py +0 -0
- svv-0.0.31/svv/simulation/fluid/fluid_equation.py +76 -0
- svv-0.0.31/svv/simulation/fluid/rom/__init__.py +2 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/__init__.py +10 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/centerlines.py +212 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/generate_1d_mesh.py +596 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/io_0d.py +141 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/io_1d.py +573 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/io_headers.py +203 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/manage.py +53 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/mesh.py +834 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/models.py +126 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/parameters.py +134 -0
- svv-0.0.31/svv/simulation/fluid/rom/one_d/utils.py +163 -0
- svv-0.0.31/svv/simulation/fluid/rom/zero_d/__init__.py +0 -0
- svv-0.0.31/svv/simulation/fluid/rom/zero_d/post.py +231 -0
- svv-0.0.31/svv/simulation/fluid/rom/zero_d/process.py +8 -0
- svv-0.0.31/svv/simulation/fluid/rom/zero_d/project_solution.py +113 -0
- svv-0.0.31/svv/simulation/fluid/rom/zero_d/zerod_forest.py +325 -0
- svv-0.0.31/svv/simulation/fluid/rom/zero_d/zerod_tree.py +256 -0
- svv-0.0.31/svv/simulation/general_parameters.py +172 -0
- svv-0.0.31/svv/simulation/linear_solver.py +112 -0
- svv-0.0.31/svv/simulation/mesh.py +180 -0
- svv-0.0.31/svv/simulation/output.py +100 -0
- svv-0.0.31/svv/simulation/simulation.py +720 -0
- svv-0.0.31/svv/simulation/utils/__init__.py +0 -0
- svv-0.0.31/svv/simulation/utils/boundary_layer.py +697 -0
- svv-0.0.31/svv/simulation/utils/close_segments.cpp +31455 -0
- svv-0.0.31/svv/simulation/utils/extract.cpp +30220 -0
- svv-0.0.31/svv/simulation/utils/extract_faces.py +429 -0
- svv-0.0.31/svv/simulation/utils/smoothing.py +0 -0
- svv-0.0.31/svv/simulation/utils/test_boundary.py +321 -0
- svv-0.0.31/svv/tree/__init__.py +0 -0
- svv-0.0.31/svv/tree/branch/__init__.py +0 -0
- svv-0.0.31/svv/tree/branch/bifurcation.py +1938 -0
- svv-0.0.31/svv/tree/branch/constraints.py +135 -0
- svv-0.0.31/svv/tree/branch/root.py +200 -0
- svv-0.0.31/svv/tree/branch/triad.py +62 -0
- svv-0.0.31/svv/tree/collision/__init__.py +0 -0
- svv-0.0.31/svv/tree/collision/tree_collision.py +118 -0
- svv-0.0.31/svv/tree/data/__init__.py +0 -0
- svv-0.0.31/svv/tree/data/data.py +262 -0
- svv-0.0.31/svv/tree/data/units.py +228 -0
- svv-0.0.31/svv/tree/export/__init__.py +0 -0
- svv-0.0.31/svv/tree/export/export_centerlines.py +447 -0
- svv-0.0.31/svv/tree/export/export_solid.py +449 -0
- svv-0.0.31/svv/tree/tree.py +303 -0
- svv-0.0.31/svv/tree/utils/TreeManager.py +352 -0
- svv-0.0.31/svv/tree/utils/__init__.py +0 -0
- svv-0.0.31/svv/tree/utils/c_angle.cpp +30472 -0
- svv-0.0.31/svv/tree/utils/c_angle.pyx +69 -0
- svv-0.0.31/svv/tree/utils/c_basis.cpp +31933 -0
- svv-0.0.31/svv/tree/utils/c_basis.pyx +120 -0
- svv-0.0.31/svv/tree/utils/c_close.cpp +34756 -0
- svv-0.0.31/svv/tree/utils/c_close.pyx +214 -0
- svv-0.0.31/svv/tree/utils/c_extend.cpp +32670 -0
- svv-0.0.31/svv/tree/utils/c_extend.pyx +191 -0
- svv-0.0.31/svv/tree/utils/c_local_optimize.cpp +48443 -0
- svv-0.0.31/svv/tree/utils/c_local_optimize.pyx +1220 -0
- svv-0.0.31/svv/tree/utils/c_obb.cpp +31810 -0
- svv-0.0.31/svv/tree/utils/c_obb.pyx +423 -0
- svv-0.0.31/svv/tree/utils/c_update.cpp +32184 -0
- svv-0.0.31/svv/tree/utils/c_update.pyx +89 -0
- svv-0.0.31/svv/utils/__init__.py +0 -0
- svv-0.0.31/svv/utils/remeshing/Linux/__init__.py +0 -0
- svv-0.0.31/svv/utils/remeshing/Linux/mmg2d_O3 +0 -0
- svv-0.0.31/svv/utils/remeshing/Linux/mmg3d_O3 +0 -0
- svv-0.0.31/svv/utils/remeshing/Linux/mmgs_O3 +0 -0
- svv-0.0.31/svv/utils/remeshing/Mac/__init__.py +0 -0
- svv-0.0.31/svv/utils/remeshing/Windows/__init__.py +0 -0
- svv-0.0.31/svv/utils/remeshing/Windows/mmg2d_O3.exe +0 -0
- svv-0.0.31/svv/utils/remeshing/Windows/mmg3d_O3.exe +0 -0
- svv-0.0.31/svv/utils/remeshing/Windows/mmgs_O3.exe +0 -0
- svv-0.0.31/svv/utils/remeshing/__init__.py +13 -0
- svv-0.0.31/svv/utils/remeshing/remesh.py +780 -0
- svv-0.0.31/svv/utils/spatial/__init__.py +0 -0
- svv-0.0.31/svv/utils/spatial/c_distance.cpp +33713 -0
- svv-0.0.31/svv/utils/spatial/c_distance.pyx +476 -0
- svv-0.0.31/svv/visualize/__init__.py +0 -0
- svv-0.0.31/svv/visualize/forest/__init__.py +0 -0
- svv-0.0.31/svv/visualize/forest/show.py +27 -0
- svv-0.0.31/svv/visualize/tree/__init__.py +0 -0
- svv-0.0.31/svv/visualize/tree/points.py +16 -0
- svv-0.0.31/svv/visualize/tree/show.py +83 -0
- svv-0.0.31/svv.egg-info/PKG-INFO +65 -0
- svv-0.0.31/svv.egg-info/SOURCES.txt +156 -0
- svv-0.0.31/svv.egg-info/dependency_links.txt +1 -0
- svv-0.0.31/svv.egg-info/not-zip-safe +1 -0
- svv-0.0.31/svv.egg-info/requires.txt +14 -0
- svv-0.0.31/svv.egg-info/top_level.txt +1 -0
- svv-0.0.31/test/test_allocate.py +182 -0
- svv-0.0.31/test/test_base_curve.py +146 -0
- svv-0.0.31/test/test_beziercurve.py +202 -0
- svv-0.0.31/test/test_boolean.py +236 -0
- svv-0.0.31/test/test_c_allocate.py +186 -0
- svv-0.0.31/test/test_c_distance.py +264 -0
- svv-0.0.31/test/test_c_sample.py +98 -0
- svv-0.0.31/test/test_catmullrom_curve.py +204 -0
- svv-0.0.31/test/test_curve.py +132 -0
- svv-0.0.31/test/test_h_matrix.py +105 -0
- svv-0.0.31/test/test_m_matrix.py +167 -0
- svv-0.0.31/test/test_n_matrix.py +99 -0
- svv-0.0.31/test/test_nurbs_curve.py +194 -0
svv-0.0.31/MANIFEST.in
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
include LICENSE
|
|
2
|
+
include README.md
|
|
3
|
+
|
|
4
|
+
# Include all .pyx files
|
|
5
|
+
recursive-include svv/utils/spatial *.pyx
|
|
6
|
+
recursive-include svv/tree/utils *.pyx
|
|
7
|
+
recursive-include svv/domain/routines *.pyx
|
|
8
|
+
|
|
9
|
+
# Include all remesher executables
|
|
10
|
+
include svv/utils/remeshing/Linux/mmg2d_O3
|
|
11
|
+
include svv/utils/remeshing/Linux/mmg3d_O3
|
|
12
|
+
include svv/utils/remeshing/Linux/mmgs_O3
|
|
13
|
+
|
|
14
|
+
# include svv/utils/remeshing/Mac/mmg2d_O3
|
|
15
|
+
# include svv/utils/remeshing/Mac/mmg3d_O3
|
|
16
|
+
# include svv/utils/remeshing/Mac/mmgs_O3
|
|
17
|
+
recursive-include svv/bin *
|
|
18
|
+
|
|
19
|
+
include svv/utils/remeshing/Windows/mmg2d_O3.exe
|
|
20
|
+
include svv/utils/remeshing/Windows/mmg3d_O3.exe
|
|
21
|
+
include svv/utils/remeshing/Windows/mmgs_O3.exe
|
svv-0.0.31/PKG-INFO
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: svv
|
|
3
|
+
Version: 0.0.31
|
|
4
|
+
Summary: Synthetic vascular generation, modeling, and simulation package
|
|
5
|
+
Author: Zachary Sexton
|
|
6
|
+
Author-email: zsexton@stanford.edu
|
|
7
|
+
License: MIT
|
|
8
|
+
Classifier: Intended Audience :: Science/Research
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Topic :: Scientific/Engineering
|
|
15
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
16
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
+
Classifier: Operating System :: POSIX
|
|
18
|
+
Classifier: Operating System :: Unix
|
|
19
|
+
Classifier: Operating System :: MacOS
|
|
20
|
+
Requires-Python: >=3.9
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Requires-Dist: numpy<=1.24.0
|
|
23
|
+
Requires-Dist: scipy>=1.10.1
|
|
24
|
+
Requires-Dist: matplotlib>=3.7.5
|
|
25
|
+
Requires-Dist: Cython>=3.0.7
|
|
26
|
+
Requires-Dist: usearch>=2.0.0
|
|
27
|
+
Requires-Dist: scikit-image
|
|
28
|
+
Requires-Dist: tetgen
|
|
29
|
+
Requires-Dist: trimesh[all]
|
|
30
|
+
Requires-Dist: hnswlib
|
|
31
|
+
Requires-Dist: pyvista==0.44.2
|
|
32
|
+
Requires-Dist: scikit-learn
|
|
33
|
+
Requires-Dist: tqdm
|
|
34
|
+
Requires-Dist: pymeshfix==0.17.0
|
|
35
|
+
Requires-Dist: numexpr
|
|
36
|
+
Dynamic: author
|
|
37
|
+
Dynamic: author-email
|
|
38
|
+
Dynamic: classifier
|
|
39
|
+
Dynamic: description
|
|
40
|
+
Dynamic: description-content-type
|
|
41
|
+
Dynamic: license
|
|
42
|
+
Dynamic: requires-dist
|
|
43
|
+
Dynamic: requires-python
|
|
44
|
+
Dynamic: summary
|
|
45
|
+
|
|
46
|
+
# svVascularize
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+

|
|
50
|
+

|
|
51
|
+

|
|
52
|
+
[](https://codecov.io/github/SimVascular/svVascularize)
|
|
53
|
+
[]()
|
|
54
|
+
|
|
55
|
+
<p align="left">
|
|
56
|
+
The svVascularize (svv) is an open-source API for automated vascular generation and multi-fidelity hemodynamic simulation
|
|
57
|
+
written in Python. Often small-caliber vessels are difficult or infeasible to obtain from experimental data sources
|
|
58
|
+
despite playing important roles in blood flow regulation and cell microenvironments. svVascularize aims to provide tissue
|
|
59
|
+
engineers and computational hemodynamic scientists with de novo vasculature that can easily be applied in
|
|
60
|
+
biomanufacturing applications or computational fluid dynamic (CFD) analysis.
|
|
61
|
+
</p>
|
|
62
|
+
|
|
63
|
+
* **Website:**
|
|
64
|
+
* **PyPi:**
|
|
65
|
+
* **Source code:**
|
svv-0.0.31/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# svVascularize
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+

|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
[](https://codecov.io/github/SimVascular/svVascularize)
|
|
8
|
+
[]()
|
|
9
|
+
|
|
10
|
+
<p align="left">
|
|
11
|
+
The svVascularize (svv) is an open-source API for automated vascular generation and multi-fidelity hemodynamic simulation
|
|
12
|
+
written in Python. Often small-caliber vessels are difficult or infeasible to obtain from experimental data sources
|
|
13
|
+
despite playing important roles in blood flow regulation and cell microenvironments. svVascularize aims to provide tissue
|
|
14
|
+
engineers and computational hemodynamic scientists with de novo vasculature that can easily be applied in
|
|
15
|
+
biomanufacturing applications or computational fluid dynamic (CFD) analysis.
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
* **Website:**
|
|
19
|
+
* **PyPi:**
|
|
20
|
+
* **Source code:**
|
svv-0.0.31/setup.cfg
ADDED