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
960be18c
Commit
960be18c
authored
4 years ago
by
Jameson Rollins
Browse files
Options
Downloads
Patches
Plain Diff
fix errant extra dhdl definition
parent
8d729d72
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#165601
passed
4 years ago
Stage: dist
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gwinc/ifo/noises.py
+0
-25
0 additions, 25 deletions
gwinc/ifo/noises.py
with
0 additions
and
25 deletions
gwinc/ifo/noises.py
+
0
−
25
View file @
960be18c
...
...
@@ -124,31 +124,6 @@ def ifo_power(ifo, PRfixed=True):
power
.
Tpr
=
Tpr
return
power
def
dhdl
(
f
,
armlen
):
"""
Strain to length conversion for noise power spetra
This takes into account the GW wavelength and is only important
when this is comparable to the detector arm length.
From R. Schilling, CQG 14 (1997) 1513-1519, equation 5,
with n = 1, nu = 0.05, ignoring overall phase and cos(nu)^2.
A small value of nu is used instead of zero to avoid infinities.
Returns the square of the dh/dL function, and the same divided by
the arm length squared.
"""
c
=
const
.
c
nu_small
=
15
*
pi
/
180
omega_arm
=
pi
*
f
*
armlen
/
c
omega_arm_f
=
(
1
-
sin
(
nu_small
))
*
pi
*
f
*
armlen
/
c
omega_arm_b
=
(
1
+
sin
(
nu_small
))
*
pi
*
f
*
armlen
/
c
sinc_sqr
=
4
/
abs
(
sin
(
omega_arm_f
)
*
exp
(
-
1j
*
omega_arm
)
/
omega_arm_f
+
sin
(
omega_arm_b
)
*
exp
(
1j
*
omega_arm
)
/
omega_arm_b
)
**
2
dhdl_sqr
=
sinc_sqr
/
armlen
**
2
return
dhdl_sqr
,
sinc_sqr
##################################################
...
...
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