geolysis 0.7.1__py3-none-any.whl → 0.7.3__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.
- geolysis/__init__.py +1 -1
- geolysis/spt.py +7 -1
- {geolysis-0.7.1.dist-info → geolysis-0.7.3.dist-info}/METADATA +74 -91
- {geolysis-0.7.1.dist-info → geolysis-0.7.3.dist-info}/RECORD +7 -7
- {geolysis-0.7.1.dist-info → geolysis-0.7.3.dist-info}/WHEEL +0 -0
- {geolysis-0.7.1.dist-info → geolysis-0.7.3.dist-info}/licenses/LICENSE.txt +0 -0
- {geolysis-0.7.1.dist-info → geolysis-0.7.3.dist-info}/top_level.txt +0 -0
geolysis/__init__.py
CHANGED
geolysis/spt.py
CHANGED
@@ -7,7 +7,7 @@ from abc import abstractmethod
|
|
7
7
|
from typing import Final, Sequence, Literal
|
8
8
|
|
9
9
|
from .utils import enum_repr, isclose, log10, mean, round_, sqrt, validators
|
10
|
-
from .utils.exceptions import EnumErrorMsg, ErrorMsg
|
10
|
+
from .utils.exceptions import EnumErrorMsg, ErrorMsg, ValidationError
|
11
11
|
|
12
12
|
__all__ = ["SPTNDesign",
|
13
13
|
"HammerType",
|
@@ -53,6 +53,10 @@ class SPTNDesign:
|
|
53
53
|
@corrected_spt_n_values.setter
|
54
54
|
@validators.min_len(1)
|
55
55
|
def corrected_spt_n_values(self, val: Sequence[float]) -> None:
|
56
|
+
for v in val:
|
57
|
+
if v <= 0.0 or v > 100:
|
58
|
+
raise ValidationError(
|
59
|
+
"SPT N-values must be between 0.0 and 100.")
|
56
60
|
self._corrected_spt_n_values = val
|
57
61
|
|
58
62
|
@staticmethod
|
@@ -300,6 +304,7 @@ class OPC:
|
|
300
304
|
return self._std_spt_n_value
|
301
305
|
|
302
306
|
@std_spt_n_value.setter
|
307
|
+
@validators.le(100)
|
303
308
|
@validators.gt(0.0)
|
304
309
|
def std_spt_n_value(self, val: float) -> None:
|
305
310
|
self._std_spt_n_value = val
|
@@ -494,6 +499,7 @@ class DilatancyCorrection:
|
|
494
499
|
return self._corr_spt_n_value
|
495
500
|
|
496
501
|
@corr_spt_n_value.setter
|
502
|
+
@validators.le(100.0)
|
497
503
|
@validators.gt(0.0)
|
498
504
|
def corr_spt_n_value(self, val: float) -> None:
|
499
505
|
self._corr_spt_n_value = val
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: geolysis
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.3
|
4
4
|
Summary: geolysis is an opensource software for geotechnical engineering analysis and modeling.
|
5
5
|
Author-email: Patrick Boateng <boatengpato.pb@gmail.com>
|
6
6
|
License: MIT License
|
@@ -49,57 +49,77 @@ alt="geolysislogo" width="75%" />
|
|
49
49
|
|
50
50
|
</div>
|
51
51
|
|
52
|
-
`geolysis` is an open-source library for geotechnical analysis
|
53
|
-
It offers tools for soil classification, Standard Penetration
|
54
|
-
analysis, and bearing capacity estimation, among others.
|
55
|
-
|
56
|
-
The `geolysis`
|
57
|
-
`geolysis.excel`, and `geolysis.ai`.
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
`
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<
|
70
|
-
|
71
|
-
|
72
|
-
<
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
<
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
<
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
</
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
52
|
+
`geolysis` is an open-source python package (library) for geotechnical analysis
|
53
|
+
and modeling. It offers tools for soil classification, Standard Penetration
|
54
|
+
Test (SPT) analysis, and bearing capacity estimation, among others.
|
55
|
+
|
56
|
+
The `geolysis` package is among three other projects, `geolysis.gui`,
|
57
|
+
`geolysis.excel`, and `geolysis.ai`.
|
58
|
+
|
59
|
+
Here are brief descriptions of the `geolysis` projects:
|
60
|
+
|
61
|
+
1. `geolysis`
|
62
|
+
|
63
|
+
A python package (library) which provides the core functionalities for
|
64
|
+
`geolysis.gui` and the `geolysis.excel` applications. Current features
|
65
|
+
provided by the `geolysis` package are shown in the table below.
|
66
|
+
|
67
|
+
<table>
|
68
|
+
<tr>
|
69
|
+
<td><strong>Soil Classification</strong></td>
|
70
|
+
<td>AASHTO Classification System</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td></td>
|
74
|
+
<td>Unified Soil Classification System</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td><strong>Standard Penetration Test (SPT) Analysis</strong></td>
|
78
|
+
<td>SPT Energy Correction</td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td></td>
|
82
|
+
<td>SPT Overburden Pressure Correction</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td></td>
|
86
|
+
<td>SPT Dilatancy Correction</td>
|
87
|
+
</tr>
|
88
|
+
<tr>
|
89
|
+
<td></td>
|
90
|
+
<td>SPT N-Design Calculation</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td><strong>Bearing Capacity Estimation</strong></td>
|
94
|
+
<td>Allowable Bearing Capacity Estimation</td>
|
95
|
+
</tr>
|
96
|
+
<tr>
|
97
|
+
<td></td>
|
98
|
+
<td>Ultimate Bearing Capacity Estimation</td>
|
99
|
+
</tr>
|
100
|
+
</table>
|
101
|
+
|
102
|
+
2. `geolysis.gui`
|
103
|
+
|
104
|
+
A graphical user interface that allows users to interact with the `geolysis`
|
105
|
+
package. Through this interface, users can view generated reports and
|
106
|
+
visualizations, such as Particle Size Distribution (PSD) curves, Atterberg
|
107
|
+
Limits plots, and Compaction curves, among others.
|
108
|
+
|
109
|
+
3. `geolysis.excel`
|
110
|
+
|
111
|
+
An add-in for Microsoft Excel that performs simple geotechnical analysis.
|
112
|
+
It offers some features similar to `geolysis.gui` within Microsoft Excel.
|
113
|
+
Below is an example of the Microsoft Excel addin.
|
114
|
+
|
115
|
+
<div align="center">
|
116
|
+
<img src="https://raw.githubusercontent.com/patrickboateng/geolysis/main/docs/_static/geolysis_excel_example.gif"
|
117
|
+
alt="geolysis excel example" width="100%" />
|
118
|
+
</div><br>
|
119
|
+
|
120
|
+
4. `geolysis.ai`
|
121
|
+
|
122
|
+
Offers machine learning models that are trained using geotechnical data.
|
103
123
|
|
104
124
|
## Project Structure
|
105
125
|
|
@@ -166,43 +186,6 @@ SoilClf(symbol='A-6(4)', description='Clayey soils')
|
|
166
186
|
Check out more examples
|
167
187
|
[here](https://docs.geolysis.io/en/latest/user_guide/getting_started.html#quick-start)
|
168
188
|
|
169
|
-
## Features
|
170
|
-
|
171
|
-
<table>
|
172
|
-
<tr>
|
173
|
-
<td><strong>Soil Classification</strong></td>
|
174
|
-
<td>AASHTO Classification System</td>
|
175
|
-
</tr>
|
176
|
-
<tr>
|
177
|
-
<td></td>
|
178
|
-
<td>Unified Soil Classification System</td>
|
179
|
-
</tr>
|
180
|
-
<tr>
|
181
|
-
<td><strong>Standard Penetration Test (SPT) Analysis</strong></td>
|
182
|
-
<td>SPT Energy Correction</td>
|
183
|
-
</tr>
|
184
|
-
<tr>
|
185
|
-
<td></td>
|
186
|
-
<td>SPT Overburden Pressure Correction</td>
|
187
|
-
</tr>
|
188
|
-
<tr>
|
189
|
-
<td></td>
|
190
|
-
<td>Dilatancy Correction</td>
|
191
|
-
</tr>
|
192
|
-
<tr>
|
193
|
-
<td></td>
|
194
|
-
<td>SPT N-Design Calculation</td>
|
195
|
-
</tr>
|
196
|
-
<tr>
|
197
|
-
<td><strong>Bearing Capacity Estimation</strong></td>
|
198
|
-
<td>Allowable Bearing Capacity Estimation</td>
|
199
|
-
</tr>
|
200
|
-
<tr>
|
201
|
-
<td></td>
|
202
|
-
<td>Ultimate Bearing Capacity Estimation</td>
|
203
|
-
</tr>
|
204
|
-
</table>
|
205
|
-
|
206
189
|
## Documentation
|
207
190
|
|
208
191
|
Full documentation is available [here](https://docs.geolysis.io/en/latest/)
|
@@ -220,5 +203,5 @@ file for more details.
|
|
220
203
|
|
221
204
|
## Contact
|
222
205
|
|
223
|
-
For questions or feedback, please
|
224
|
-
[boatengpato.pb@gmail.com](mailto:boatengpato.pb@gmail.com)
|
206
|
+
For questions or feedback, please
|
207
|
+
contact [boatengpato.pb@gmail.com](mailto:boatengpato.pb@gmail.com)
|
@@ -1,7 +1,7 @@
|
|
1
|
-
geolysis/__init__.py,sha256=
|
1
|
+
geolysis/__init__.py,sha256=tB9wh0D84gDFP-Qawiw-tgXqyYB_apapJ9hJj6uGP1U,122
|
2
2
|
geolysis/foundation.py,sha256=gxI6bLbUrxQNhoKJis5glDysnI6PgqBkMM9m5CQztsg,11695
|
3
3
|
geolysis/soil_classifier.py,sha256=2C-4hpgXNo2DUgXKcokUh3qjAH70qvgOCnxsL_NnmTw,26880
|
4
|
-
geolysis/spt.py,sha256=
|
4
|
+
geolysis/spt.py,sha256=B9tR4GapKVFHsGHkcFHW68-K2w7szLmtBC9Ejmhz0lY,17736
|
5
5
|
geolysis/bearing_capacity/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
geolysis/bearing_capacity/abc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
geolysis/bearing_capacity/abc/cohl/__init__.py,sha256=sWhQJj5klrenbwgaBAWRM23BQCcudZM4Ztwg8auxNw8,5399
|
@@ -17,8 +17,8 @@ geolysis/bearing_capacity/ubc/vesic_ubc.py,sha256=zlFI26tY_L1LCb6T7q4NY4E0pTivdj
|
|
17
17
|
geolysis/utils/__init__.py,sha256=713rJNWVFLrP4CNon4i-xUf5rF5eA40Ydg-F1UV8o-0,2339
|
18
18
|
geolysis/utils/exceptions.py,sha256=ivuyxqz0B7nmA5sXMfw4o7KPnQHoaGbLHmJCEiCEaAc,929
|
19
19
|
geolysis/utils/validators.py,sha256=g18NIlLaNSIjlBwRLkUQr68qcYnwzo5qcfY5y_GoO1Y,3205
|
20
|
-
geolysis-0.7.
|
21
|
-
geolysis-0.7.
|
22
|
-
geolysis-0.7.
|
23
|
-
geolysis-0.7.
|
24
|
-
geolysis-0.7.
|
20
|
+
geolysis-0.7.3.dist-info/licenses/LICENSE.txt,sha256=ap6sMs3lT7ICbEXBhgihwH1BTCVcjmCQkIkwVnil1Ak,1065
|
21
|
+
geolysis-0.7.3.dist-info/METADATA,sha256=x-9PiEkGWxqWKrTjQZ4VnHlZ8OfkQPjGlOwkxMn_kaU,7235
|
22
|
+
geolysis-0.7.3.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
|
23
|
+
geolysis-0.7.3.dist-info/top_level.txt,sha256=9mnQgOaCRr11dtXff8X-q3FfXjRONd6kHseSy5q2y8g,9
|
24
|
+
geolysis-0.7.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|