Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pygwinc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gwinc
pygwinc
Commits
c6a20e81
Commit
c6a20e81
authored
6 years ago
by
Jameson Graef Rollins
Browse files
Options
Downloads
Patches
Plain Diff
seismic returns vertical and horizontal noise as well
also clean up docstrings.
parent
1db69122
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gwinc/gwinc.py
+1
-1
1 addition, 1 deletion
gwinc/gwinc.py
gwinc/noise/seismic.py
+7
-19
7 additions, 19 deletions
gwinc/noise/seismic.py
with
8 additions
and
20 deletions
gwinc/gwinc.py
+
1
−
1
View file @
c6a20e81
...
...
@@ -49,7 +49,7 @@ def noise_calc(ifo, f):
noises
[
'
Coating Brownian
'
]
=
noise
.
coatingthermal
.
coatbrownian
(
f
,
ifo
)
noises
[
'
Substrate Thermo-Elastic
'
]
=
noise
.
substratethermal
.
subtherm
(
f
,
ifo
)
noises
[
'
Newtonian Gravity
'
]
=
noise
.
newtonian
.
gravg
(
f
,
ifo
)
noises
[
'
Seismic
'
]
=
noise
.
seismic
.
seismic
(
f
,
ifo
)
noises
[
'
Seismic
'
]
=
noise
.
seismic
.
seismic
(
f
,
ifo
)
[
0
]
noises
[
'
Coating Thermo-Optic
'
]
=
noise
.
coatingthermal
.
thermooptic
(
f
,
ifo
)
# calc semiconductor noise sources
...
...
This diff is collapsed.
Click to expand it.
gwinc/noise/seismic.py
+
7
−
19
View file @
c6a20e81
...
...
@@ -5,28 +5,16 @@ from scipy.interpolate import interp1d
def
seismic
(
f
,
ifo
):
"""
seismic noise psd at frequencies f for given ifo.
n = seismic(f,ifo)
[nh,nv] = seismic(f,ifo)
[n,nh,nv] = seismic(f,ifo)
Modified to include realistic SEI + SUS models (Rana, 11/2005)
"""
"""
Seismic noise.
# Interpolate the log10 onto the ifo frequency array
# n = interp1(ifo.Seismic.darmseis_f, ...
# log10(ifo.Seismic.darmseis_x), f, 'cubic', -30);
Return (noise, noise_vertical, noise_horizontal)
##########################################################
# Suspension TFs
##########################################################
"""
hTable
=
ifo
.
Suspension
.
hTable
vTable
=
ifo
.
Suspension
.
vTable
# and vertical to beamline coupling angle
theta
=
ifo
.
Suspension
.
VHCoupling
.
theta
##########################################################
# noise input, horizontal and vertical
nx
,
np_
=
seisBSC
(
f
)
...
...
@@ -44,15 +32,15 @@ def seismic(f, ifo):
nv
*=
4
/
ifo
.
Infrastructure
.
Length
**
2
n
*=
4
/
ifo
.
Infrastructure
.
Length
**
2
return
n
return
n
,
nh
,
nv
def
seisBSC
(
f
):
"""
get rough ISI noise source spectra
nx - ISI translational DOFs
np - ISI rotational DOFs
"""
"""
Rough ISI noise source spectra.
Returns (ISI translational DOFs, ISI rotational DOFs)
"""
# translational DOFs (from Rana's bsc_seismic.m)
SEI_F
=
np
.
array
([
0.01
,
0.03
,
0.1
,
0.2
,
0.5
,
1
,
10
,
30
,
300
])
SEI_X
=
np
.
array
([
3e-6
,
1e-6
,
2e-7
,
2e-7
,
8e-10
,
1e-11
,
3e-13
,
3e-14
,
3e-14
])
...
...
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