weac 2.6.1__py3-none-any.whl → 2.6.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.
- weac/__init__.py +4 -8
- weac/eigensystem.py +180 -139
- weac/inverse.py +5 -8
- weac/layered.py +24 -9
- weac/mixins.py +8 -10
- weac/plot.py +244 -196
- weac/tools.py +6 -5
- {weac-2.6.1.dist-info → weac-2.6.3.dist-info}/METADATA +13 -2
- weac-2.6.3.dist-info/RECORD +12 -0
- {weac-2.6.1.dist-info → weac-2.6.3.dist-info}/WHEEL +1 -1
- weac-2.6.1.dist-info/RECORD +0 -12
- {weac-2.6.1.dist-info → weac-2.6.3.dist-info/licenses}/LICENSE +0 -0
- {weac-2.6.1.dist-info → weac-2.6.3.dist-info}/top_level.txt +0 -0
weac/tools.py
CHANGED
|
@@ -209,7 +209,7 @@ def gerling(rho, C0=6.0, C1=4.6):
|
|
|
209
209
|
return C0 * 1e-10 * rho**C1
|
|
210
210
|
|
|
211
211
|
|
|
212
|
-
def bergfeld(rho, rho0=
|
|
212
|
+
def bergfeld(rho, rho0=916.7, C0=6.5, C1=4.4):
|
|
213
213
|
"""
|
|
214
214
|
Compute Young's modulus from density according to Bergfeld et al. (2023).
|
|
215
215
|
|
|
@@ -236,7 +236,7 @@ def bergfeld(rho, rho0=917, C0=6.5, C1=4.4):
|
|
|
236
236
|
|
|
237
237
|
def tensile_strength_slab(rho, unit="kPa"):
|
|
238
238
|
"""
|
|
239
|
-
Estimate the tensile
|
|
239
|
+
Estimate the tensile strength of a slab layer from its density.
|
|
240
240
|
|
|
241
241
|
Uses the density parametrization of Sigrist (2006).
|
|
242
242
|
|
|
@@ -250,12 +250,13 @@ def tensile_strength_slab(rho, unit="kPa"):
|
|
|
250
250
|
Returns
|
|
251
251
|
-------
|
|
252
252
|
ndarray
|
|
253
|
-
Tensile
|
|
253
|
+
Tensile strength in specified unit.
|
|
254
254
|
"""
|
|
255
|
-
convert = {"kPa": 1, "MPa": 1e-3}
|
|
255
|
+
convert = {"kPa": 1, "MPa": 1e-3, "m": 1, "mm": 1e3, "cm": 1e2}
|
|
256
256
|
rho_ice = 917
|
|
257
257
|
# Sigrist's equation is given in kPa
|
|
258
|
-
|
|
258
|
+
value = convert[unit] * 240 * (rho / rho_ice) ** 2.44
|
|
259
|
+
return value
|
|
259
260
|
|
|
260
261
|
|
|
261
262
|
def touchdown_distance(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: weac
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.3
|
|
4
4
|
Summary: Weak layer anticrack nucleation model
|
|
5
5
|
Author-email: 2phi GbR <mail@2phi.de>
|
|
6
6
|
License: Proprietary
|
|
@@ -21,9 +21,20 @@ Requires-Dist: scipy>=1.14.0
|
|
|
21
21
|
Provides-Extra: interactive
|
|
22
22
|
Requires-Dist: jupyter; extra == "interactive"
|
|
23
23
|
Requires-Dist: ipython>=8.12.3; extra == "interactive"
|
|
24
|
+
Requires-Dist: notebook>=7.0.0; extra == "interactive"
|
|
25
|
+
Requires-Dist: ipywidgets>=8.0.0; extra == "interactive"
|
|
24
26
|
Provides-Extra: docs
|
|
25
27
|
Requires-Dist: sphinx; extra == "docs"
|
|
26
28
|
Requires-Dist: sphinxawesome-theme; extra == "docs"
|
|
29
|
+
Provides-Extra: test
|
|
30
|
+
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
31
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == "test"
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: black>=23.0.0; extra == "dev"
|
|
34
|
+
Requires-Dist: mypy>=1.0.0; extra == "dev"
|
|
35
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
36
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
|
|
37
|
+
Dynamic: license-file
|
|
27
38
|
|
|
28
39
|
<!-- LOGO AND TITLE-->
|
|
29
40
|
<!-- <p align="right"><img src="https://github.com/2phi/weac/raw/main/img/logo.png" alt="Logo" width="80" height="80"></p> -->
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
weac/__init__.py,sha256=r770J6EkbjWyMYLvvtVngRDXyCE-XFujSzxvvUK6j5A,345
|
|
2
|
+
weac/eigensystem.py,sha256=dooypI10GrLXWMGKly-Ym4RrhQ750CsIuPHN0lfDke8,22836
|
|
3
|
+
weac/inverse.py,sha256=IUDtvbioKrkdya5kPWwAeSxgSkV7-iHXNk_W86YnUM8,1890
|
|
4
|
+
weac/layered.py,sha256=CwRx6cVfRqh51vrUCo7EutmghyMM0dW34pUVF8AJX9Q,2086
|
|
5
|
+
weac/mixins.py,sha256=fw1tAJJr7ZSVqeaCzKdm3SYfuSf1J-hqh4KbSjbUq6U,69369
|
|
6
|
+
weac/plot.py,sha256=0g7MsmssonqVt2tevxdyloKCuA7wOAZ877Hbr7i-44c,21122
|
|
7
|
+
weac/tools.py,sha256=MZ_QrmuWlPiallUu1FH66I-gi0gvWdL3A0LsppkMK0Q,9960
|
|
8
|
+
weac-2.6.3.dist-info/licenses/LICENSE,sha256=CZlY87tZ1Kq7QxKLVrMknnDXGpc1yEZ8SKoXMAk-d4k,1463
|
|
9
|
+
weac-2.6.3.dist-info/METADATA,sha256=eESGIZNF70ntOuG0RtKbIAe41lYW2zzd9fXYm_0MLXE,20132
|
|
10
|
+
weac-2.6.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
11
|
+
weac-2.6.3.dist-info/top_level.txt,sha256=8tyXUHPFU4Ba_5kPtpwvXo5l6GjJmOnODVBJFygpdeE,5
|
|
12
|
+
weac-2.6.3.dist-info/RECORD,,
|
weac-2.6.1.dist-info/RECORD
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
weac/__init__.py,sha256=ZGf0IghYj2r180TrU4HX4dH40LPbU8G2SBjDQU1R2ec,359
|
|
2
|
-
weac/eigensystem.py,sha256=a-RBqON9Sta2c0z412BXgrfxM96heDKNyfiD0PbYLmM,22476
|
|
3
|
-
weac/inverse.py,sha256=pfpE5PaMgKA2sMVk4t-Q6mPJisA-Yyo873XCKI_-HtA,1980
|
|
4
|
-
weac/layered.py,sha256=S18d1PwGrj9K6HFu2u1JBiA94zzM8mX_JiKBGaph9_I,2064
|
|
5
|
-
weac/mixins.py,sha256=KRAAZc5fuKxq-RTNWJ48vGV410uBoeiJnZQ-eVBUm4c,69298
|
|
6
|
-
weac/plot.py,sha256=-s0aOV-c2KEgMa5HypiLgIgASsNVz0BR80_7h8J5o68,20705
|
|
7
|
-
weac/tools.py,sha256=cONo43EQ0LHtbCZcbBmda085h2rI8BCbj98SQUdyEgE,9910
|
|
8
|
-
weac-2.6.1.dist-info/LICENSE,sha256=CZlY87tZ1Kq7QxKLVrMknnDXGpc1yEZ8SKoXMAk-d4k,1463
|
|
9
|
-
weac-2.6.1.dist-info/METADATA,sha256=zo_RgP0qeIA-5ezvE4Chbe4XQIh_BHjtwfXGTcM66gI,19679
|
|
10
|
-
weac-2.6.1.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
11
|
-
weac-2.6.1.dist-info/top_level.txt,sha256=8tyXUHPFU4Ba_5kPtpwvXo5l6GjJmOnODVBJFygpdeE,5
|
|
12
|
-
weac-2.6.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|