Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pygwinc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
Jameson Rollins
pygwinc
Commits
324683e4
Commit
324683e4
authored
6 years ago
by
Jameson Graef Rollins
Browse files
Options
Downloads
Patches
Plain Diff
suspension: clean up fiber type handling
parent
6895ea97
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gwinc/suspension.py
+6
-7
6 additions, 7 deletions
gwinc/suspension.py
with
6 additions
and
7 deletions
gwinc/suspension.py
+
6
−
7
View file @
324683e4
...
...
@@ -48,8 +48,8 @@ def suspQuad(f, ifo, material='Silica'):
material used for test mass suspension stage. steel used for all
other stages. Violin modes are included.
fiberType = suspension sub type 0 => round fibers, otherwise
ribbons
ifo.Suspension.FiberType should be: 0=round, 1=
ribbons
.
hForce, vForce = transfer functions from the force on the TM to TM
motion these should have the correct losses for the mechanical
system such that the thermal noise is:
...
...
@@ -73,9 +73,6 @@ def suspQuad(f, ifo, material='Silica'):
stages by K.Arai.
"""
# default arguments
fiberType
=
0
# Assign Physical Constants
g
=
scipy
.
constants
.
g
kB
=
scipy
.
constants
.
k
...
...
@@ -171,14 +168,14 @@ def suspQuad(f, ifo, material='Silica'):
N3
=
ifo
.
Suspension
.
Stage
[
1
].
NWires
# Number of wires in stage 1
N4
=
ifo
.
Suspension
.
Stage
[
0
].
NWires
# Number of wires in stage 1
if
ifo
.
Suspension
.
FiberType
==
0
:
if
ifo
.
Suspension
.
FiberType
==
0
:
# Round
r_fib
=
ifo
.
Suspension
.
Fiber
.
Radius
xsect
=
pi
*
r_fib
**
2
# cross-sectional area
II4
=
r_fib
**
4
*
pi
/
4
# x-sectional moment of inertia
mu_v
=
2
/
r_fib
# mu/(V/S), vertical motion
mu_h
=
4
/
r_fib
# mu/(V/S), horizontal motion
tau_si
=
7.372e-2
*
rho
*
C
*
(
4
*
xsect
/
pi
)
/
K
# TE time constant
el
se
:
el
if
ifo
.
Suspension
.
FiberType
==
1
:
# Ribbon
W
=
ifo
.
Suspension
.
Ribbon
.
Width
t
=
ifo
.
Suspension
.
Ribbon
.
Thickness
xsect
=
W
*
t
...
...
@@ -186,6 +183,8 @@ def suspQuad(f, ifo, material='Silica'):
mu_v
=
2
*
(
W
+
t
)
/
(
W
*
t
)
mu_h
=
(
3
*
N4
*
W
+
t
)
/
(
N4
*
W
+
t
)
*
2
*
(
W
+
t
)
/
(
W
*
t
)
tau_si
=
(
rho
*
C
*
t
**
2
)
/
(
K
*
pi
**
2
)
else
:
raise
Exception
(
"
Unsupported suspension type: {}
"
.
format
(
ifo
.
Suspension
.
FiberType
))
# loss factor, last stage suspension, vertical
phiv4
=
phi_si
*
(
1
+
mu_v
*
ds
)
...
...
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