Skip to content
Snippets Groups Projects
Commit 0b553c18 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins Committed by Jameson Rollins
Browse files

add top-level seismic noise function that just returns darm component

for consistency with all other noise calculation functions.
parent cfcf6481
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,12 @@ from scipy.interpolate import PchipInterpolator as interp1d
def seismic(f, ifo):
"""Seismic noise.
"""
return seismicAll(f, ifo)[0]
def seismicAll(f, ifo):
"""Seismic noise.
Return (noise, noise_vertical, noise_horizontal)
......@@ -30,7 +36,7 @@ def seismic(f, ifo):
# Convert into Strain PSD (4 TMs)
nh *= 4 * ifo.gwinc.dhdl_sqr
nv *= 4 * ifo.gwinc.dhdl_sqr
n *= 4 * ifo.gwinc.dhdl_sqr
n *= 4 * ifo.gwinc.dhdl_sqr
return n, nh, nv
......
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