pyrockfall 0.1.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.
- pyrockfall/__init__.py +36 -0
- pyrockfall/_analysis.py +1085 -0
- pyrockfall/_filesystem.py +1185 -0
- pyrockfall/_functionalities.py +1124 -0
- pyrockfall/_geometry.py +1213 -0
- pyrockfall/_geometry3d.py +287 -0
- pyrockfall/_material.py +236 -0
- pyrockfall/_mesh.py +770 -0
- pyrockfall/_model.py +712 -0
- pyrockfall/_pointcloud.py +728 -0
- pyrockfall/_rock.py +148 -0
- pyrockfall/_seeder.py +513 -0
- pyrockfall/_slope.py +161 -0
- pyrockfall/_trajectories.py +803 -0
- pyrockfall/_utils.py +1784 -0
- pyrockfall/_vegetation.py +134 -0
- pyrockfall/cli.py +36 -0
- pyrockfall/scripts/__init__.py +8 -0
- pyrockfall/scripts/_data.py +20 -0
- pyrockfall/scripts/_style.py +182 -0
- pyrockfall/scripts/create.py +250 -0
- pyrockfall/scripts/extract.py +379 -0
- pyrockfall/scripts/material_lib.csv +14 -0
- pyrockfall/scripts/mplstyle.json +31 -0
- pyrockfall/scripts/section.py +146 -0
- pyrockfall/stats/__init__.py +25 -0
- pyrockfall/stats/_affine.py +120 -0
- pyrockfall/stats/_beta.py +51 -0
- pyrockfall/stats/_deterministic.py +54 -0
- pyrockfall/stats/_distribution.py +312 -0
- pyrockfall/stats/_exponential.py +46 -0
- pyrockfall/stats/_func.py +194 -0
- pyrockfall/stats/_func_vec.py +33 -0
- pyrockfall/stats/_gamma.py +48 -0
- pyrockfall/stats/_lognormal.py +52 -0
- pyrockfall/stats/_normal.py +52 -0
- pyrockfall/stats/_triangular.py +52 -0
- pyrockfall/stats/_truncate.py +132 -0
- pyrockfall/stats/_uniform.py +50 -0
- pyrockfall/stats/_utils.py +7 -0
- pyrockfall/stats/_vector.py +163 -0
- pyrockfall-0.1.0.dist-info/METADATA +88 -0
- pyrockfall-0.1.0.dist-info/RECORD +47 -0
- pyrockfall-0.1.0.dist-info/WHEEL +5 -0
- pyrockfall-0.1.0.dist-info/entry_points.txt +2 -0
- pyrockfall-0.1.0.dist-info/licenses/LICENSE +674 -0
- pyrockfall-0.1.0.dist-info/top_level.txt +1 -0
pyrockfall/__init__.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""
|
|
2
|
+
pyrockfall package
|
|
3
|
+
==================
|
|
4
|
+
|
|
5
|
+
Core interface for the pyrockfall rockfall simulation engine.
|
|
6
|
+
|
|
7
|
+
Exposes main simulation classes (Slope, Material, Seeder, Analysis, Trajectories)
|
|
8
|
+
and data import utilities at the package level for user convenience.
|
|
9
|
+
"""
|
|
10
|
+
from ._model import Model
|
|
11
|
+
from ._pointcloud import PointCloud
|
|
12
|
+
from ._mesh import Mesh
|
|
13
|
+
from ._geometry import Geometry
|
|
14
|
+
from ._geometry3d import Geometry3D
|
|
15
|
+
from ._material import Material
|
|
16
|
+
from ._slope import Slope
|
|
17
|
+
from ._vegetation import Drag, Vegetation
|
|
18
|
+
from ._rock import Rock
|
|
19
|
+
from ._seeder import SeederRocksThrown, Seeder, LineSeeder, AreaSeeder
|
|
20
|
+
from ._analysis import Analysis, Sampling, AnalysisRocksThrown
|
|
21
|
+
from ._trajectories import Trajectories
|
|
22
|
+
from ._functionalities import *
|
|
23
|
+
from ._filesystem import (
|
|
24
|
+
readMaterials, writeMaterials, # Read/write material libraries as csv
|
|
25
|
+
exportMaterials, importMaterials, # export/import material libraries .ini files
|
|
26
|
+
exportSlope, importSlope, # export/import slope geometry and material IDs comma-separated values file
|
|
27
|
+
exportRocks, importRocks, # export/import rock definitions .ini files
|
|
28
|
+
exportSeeders, importSeeders, # export/import seeder properties .txt files
|
|
29
|
+
exportSettings, importSettings, # export/import project settings .ini files
|
|
30
|
+
)
|
|
31
|
+
from . import stats
|
|
32
|
+
|
|
33
|
+
__all__ = [
|
|
34
|
+
"stats",
|
|
35
|
+
]
|
|
36
|
+
|