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
ecbf43b2
Commit
ecbf43b2
authored
4 years ago
by
Kevin Kuns
Browse files
Options
Downloads
Patches
Plain Diff
can compute separate gas damping for ITMs and ETMs
parent
2112e5ac
No related branches found
No related tags found
1 merge request
!121
Residual gas sub-budgets and updates
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
gwinc/ifo/aLIGO/ifo.yaml
+5
-2
5 additions, 2 deletions
gwinc/ifo/aLIGO/ifo.yaml
gwinc/ifo/noises.py
+39
-10
39 additions, 10 deletions
gwinc/ifo/noises.py
gwinc/noise/residualgas.py
+3
-4
3 additions, 4 deletions
gwinc/noise/residualgas.py
with
47 additions
and
16 deletions
gwinc/ifo/aLIGO/ifo.yaml
+
5
−
2
View file @
ecbf43b2
...
...
@@ -53,8 +53,11 @@ Infrastructure:
SqueezedFilm
:
# Excess gas damping due to compensation plates and reaction masses
# Numbers are rough guesses from LIGO-T0900582
ExcessDamping
:
1.33
# excess force noise at DC; section 6
DiffusionTime
:
800e-6
# s; diffusion time; section 4
ETM
:
ExcessDamping
:
1.33
# excess force noise at DC; section 6
DiffusionTime
:
800e-6
# s; diffusion time; section 4
ITM
:
gap
:
20e-3
# m; gap between ITMs and compensation plates
TCS
:
...
...
This diff is collapsed.
Click to expand it.
gwinc/ifo/noises.py
+
39
−
10
View file @
ecbf43b2
...
...
@@ -846,9 +846,10 @@ class ExcessGasDampingH2(nb.Noise):
@nb.precomp
(
sustf
=
precomp_suspension
)
def
calc
(
self
,
sustf
):
species
=
self
.
ifo
.
Infrastructure
.
ResidualGas
.
H2
n
=
noise
.
residualgas
.
residual_gas_damping
(
self
.
freq
,
self
.
ifo
,
species
,
sustf
)
return
4
*
n
# n = noise.residualgas.residual_gas_damping(
# self.freq, self.ifo, species, sustf)
# return 4 * n
return
_calc_residual_gas_damping
(
self
.
freq
,
self
.
ifo
,
species
,
sustf
)
class
ExcessGasDampingN2
(
nb
.
Noise
):
...
...
@@ -864,10 +865,10 @@ class ExcessGasDampingN2(nb.Noise):
@nb.precomp
(
sustf
=
precomp_suspension
)
def
calc
(
self
,
sustf
):
species
=
self
.
ifo
.
Infrastructure
.
ResidualGas
.
N2
n
=
noise
.
residualgas
.
residual_gas_damping
(
self
.
freq
,
self
.
ifo
,
species
,
sustf
)
return
4
*
n
#
n = noise.residualgas.residual_gas_damping(
#
self.freq, self.ifo, species, sustf)
#
return 4 * n
return
_calc_residual_gas_damping
(
self
.
freq
,
self
.
ifo
,
species
,
sustf
)
class
ExcessGasDampingH2O
(
nb
.
Noise
):
"""
Excess gas damping for H2O
...
...
@@ -882,6 +883,34 @@ class ExcessGasDampingH2O(nb.Noise):
@nb.precomp
(
sustf
=
precomp_suspension
)
def
calc
(
self
,
sustf
):
species
=
self
.
ifo
.
Infrastructure
.
ResidualGas
.
H2O
n
=
noise
.
residualgas
.
residual_gas_damping
(
self
.
freq
,
self
.
ifo
,
species
,
sustf
)
return
4
*
n
# n = noise.residualgas.residual_gas_damping(
# self.freq, self.ifo, species, sustf)
# return 4 * n
return
_calc_residual_gas_damping
(
self
.
freq
,
self
.
ifo
,
species
,
sustf
)
def
_calc_residual_gas_damping
(
f
,
ifo
,
species
,
sustf
):
"""
Redundant calculation of res gas damping for each species
Can get rid of if budgets are calculated at runtime
"""
squeezed_film
=
ifo
.
Infrastructure
.
ResidualGas
.
get
(
'
SqueezedFilm
'
,
None
)
if
squeezed_film
:
if
'
ETM
'
in
squeezed_film
and
'
ITM
'
in
squeezed_film
:
n_ETM
=
noise
.
residualgas
.
residual_gas_damping
(
f
,
ifo
,
species
,
sustf
,
squeezed_film
.
ETM
)
n_ITM
=
noise
.
residualgas
.
residual_gas_damping
(
f
,
ifo
,
species
,
sustf
,
squeezed_film
.
ITM
)
n
=
2
*
(
n_ETM
+
n_ITM
)
else
:
n
=
4
*
noise
.
residualgas
.
residual_gas_damping
(
f
,
ifo
,
species
,
sustf
,
squeezed_film
)
else
:
n
=
4
*
noise
.
residualgas
.
residual_gas_damping
(
f
,
ifo
,
species
,
sustf
,
squeezed_film
)
return
n
This diff is collapsed.
Click to expand it.
gwinc/noise/residualgas.py
+
3
−
4
View file @
ecbf43b2
...
...
@@ -57,13 +57,14 @@ def residual_gas_scattering(f, ifo, cavity, species):
return
zint
def
residual_gas_damping
(
f
,
ifo
,
species
,
sustf
):
def
residual_gas_damping
(
f
,
ifo
,
species
,
sustf
,
squeezed_film
):
"""
Noise due to residual gas damping for one test mass
:f: frequency array in Hz
:ifo: gwinc IFO structure
:species: molecular species structure
:sustf: suspension transfer function structure
:squeezed_film: squeezed film damping structure
:returns: displacement noise
"""
...
...
@@ -90,9 +91,7 @@ def residual_gas_damping(f, ifo, species, sustf):
# add squeezed film damping if necessary as parametrized by
# Eq (5) of http://dx.doi.org/10.1103/PhysRevD.84.063007
if
'
SqueezedFilm
'
in
ifo
.
Infrastructure
.
ResidualGas
:
squeezed_film
=
ifo
.
Infrastructure
.
ResidualGas
.
SqueezedFilm
if
squeezed_film
:
# the excess force noise and diffusion time are specified directly
if
'
ExcessDamping
'
in
squeezed_film
:
# ExcessDamping is the ratio of the total gas damping noise at DC
...
...
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