Skip to content
Snippets Groups Projects
Commit 48a0fe90 authored by Evan Hall's avatar Evan Hall
Browse files

Use the Bowman model if pressure not specified

parent d76c8101
No related branches found
No related tags found
1 merge request!55Body-wave and infrasound Newtonian noise functions
......@@ -193,8 +193,6 @@ def gravg_swave(f, ifo):
def atmois(f, ifo):
import scipy.special as scisp
a_if = ifo.Atmospheric.InfrasoundLevel1Hz
e_if = ifo.Atmospheric.InfrasoundExponent
p_air = ifo.Atmospheric.AirPressure
rho_air = ifo.Atmospheric.AirDensity
ai_air = ifo.Atmospheric.AdiabaticIndex
......@@ -208,7 +206,12 @@ def atmois(f, ifo):
k = w / c_sound
# Pressure spectrum
psd_if = (a_if * f**e_if)**2
try:
a_if = ifo.Atmospheric.InfrasoundLevel1Hz
e_if = ifo.Atmospheric.InfrasoundExponent
psd_if = (a_if * f**e_if)**2
except:
psd_if = atmoBowman(f)**2
# Harms LRR (2015), eq. 172
# https://doi.org/10.1007/lrr-2015-3
......
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