Skip to content
Snippets Groups Projects
Commit da7375a3 authored by Kevin Kuns's avatar Kevin Kuns
Browse files

Merge branch 'rayleigh-underground' into 'master'

Add underground Rayleigh NN calculation to newtonian.gravg_rayleigh

See merge request !135
parents 7c146498 f6cdec3e
No related branches found
No related tags found
1 merge request!135Add underground Rayleigh NN calculation to newtonian.gravg_rayleigh
Pipeline #232612 passed
...@@ -87,6 +87,7 @@ def gravg_rayleigh(f, seismic): ...@@ -87,6 +87,7 @@ def gravg_rayleigh(f, seismic):
:returns: displacement noise power spectrum at :f:, in meters :returns: displacement noise power spectrum at :f:, in meters
Following Harms LRR: https://doi.org/10.1007/lrr-2015-3 Following Harms LRR: https://doi.org/10.1007/lrr-2015-3
and Amann et al.: https://doi.org/10.1063/5.0018414
""" """
fk = seismic.KneeFrequency fk = seismic.KneeFrequency
...@@ -119,8 +120,19 @@ def gravg_rayleigh(f, seismic): ...@@ -119,8 +120,19 @@ def gravg_rayleigh(f, seismic):
zeta = sqrt(qzP / qzS) zeta = sqrt(qzP / qzS)
gnu = k * (1 - zeta) / (qzP - k * zeta) gnu = k * (1 - zeta) / (qzP - k * zeta)
if h >= 0:
# Harms LRR
n = (2 * pi * const.G * rho * exp(-h * k) * gnu)**2 * ground**2 / w**4
n = (2 * pi * const.G * rho * exp(-h * k) * gnu)**2 * ground**2 / w**4 else:
# Amann et al., eqs. 2-6. Note h is there defined as depth;
# We define it as height.
r0 = k * (1 - zeta)
sh = -k * (1 + zeta) * exp(h * k)
bh = (2 / 3) * (2 * k * exp(h * qzP) + zeta * qzS * exp(h * qzS))
Rcal = np.abs((sh + bh) / r0)**2
n = 4 * (sqrt(2) * pi * const.G * rho * gnu)**2 * Rcal * ground**2 / w**4
n /= omicron**2 n /= omicron**2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment