Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Geodynamik-Übungen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wegener, Johannes
Geodynamik-Übungen
Commits
30fa6ff2
Commit
30fa6ff2
authored
Jun 20, 2022
by
Peppel, Daniel
Browse files
Options
Downloads
Patches
Plain Diff
Diskontinuitäten haben jetzt auch wirklich einen Sprung bei konstanter Tiefe!
parent
a3999be1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
AdamsWilliamsonCMB.py
+10
-10
10 additions, 10 deletions
AdamsWilliamsonCMB.py
with
10 additions
and
10 deletions
AdamsWilliamsonCMB.py
+
10
−
10
View file @
30fa6ff2
...
...
@@ -78,15 +78,15 @@ def calc_density(rho_0: int, rho_CMB: int, radius: list, vp: list, vs: list) ->
rho_ex
[
i
]
=
rho_CMB
rho_im
[
i
]
=
9500
elif
depth
[
i
]
==
5153.5
and
depth
[
i
-
1
]
==
5153.5
:
# ICB
rho_ex
[
i
]
=
12
814.285714285714
rho_ex
[
i
]
=
12
700
# more discontinuities
elif
depth
[
i
]
==
410
and
depth
[
i
-
1
]
==
410
:
# 410km discontinuity
rho_ex
[
i
]
=
3921.4285714285716
elif
depth
[
i
]
==
660
and
depth
[
i
-
1
]
==
660
:
# 660km discontinuity
rho_ex
[
i
]
=
4238.7
elif
depth
[
i
]
==
2740
and
depth
[
i
-
1
]
==
2740
:
# D" discontinuity
rho_ex
[
i
]
=
5693.4
#
elif depth[i] == 410 and depth[i-1] == 410: # 410km discontinuity
#
rho_ex[i] = 3921.4285714285716
#
elif depth[i] == 660 and depth[i-1] == 660: # 660km discontinuity
#
rho_ex[i] = 4238.7
#
elif depth[i] == 2740 and depth[i-1] == 2740: # D" discontinuity
#
rho_ex[i] = 5693.4
else
:
rho_ex
=
density_expansion_explicit
(
rho_ex
,
vp
,
vs
,
radius
,
i
)
# rho_im = density_expansion_implicit(rho_im, vp, vs, r, i)
...
...
@@ -135,7 +135,7 @@ def best_inertia_model(file, n=31, rho_0_low=3500, rho_0_high=3700, rho_CMB_low=
plt
.
legend
()
plt
.
show
()
def
best_mass_model
(
file
,
n
=
31
,
rho_0_low
=
3700
,
rho_0_high
=
3900
,
rho_CMB_low
=
9
9
00
,
rho_CMB_high
=
10050
):
def
best_mass_model
(
file
,
n
=
31
,
rho_0_low
=
3700
,
rho_0_high
=
3900
,
rho_CMB_low
=
9
8
00
,
rho_CMB_high
=
10050
):
depth
,
density
,
vp
,
vs
=
read_data
(
file
)
M_0
=
5.972e24
# Masse in 18km Tiefe
...
...
@@ -185,9 +185,9 @@ file = os.getcwd() + r"\VpVs-valuesak135.csv"
print
(
'
Calculating optimal density model in regard to total mass. Depending on the grid size of the search domain this may take a while.
\n
'
)
best_mass_model
(
file
,
n
=
20
,
rho_0_low
=
3
75
0
,
rho_0_high
=
3800
)
best_mass_model
(
file
,
n
=
20
,
rho_0_low
=
3
60
0
,
rho_0_high
=
3800
)
print
(
'
\n
Calculating optimal density model in regard to inertia. Depending on the grid size of the search domain this may take a while.
\n
'
)
#
best_inertia_model(file,n=15)
best_inertia_model
(
file
,
n
=
15
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment