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
0ec96711
Commit
0ec96711
authored
4 years ago
by
Jameson Rollins
Browse files
Options
Downloads
Patches
Plain Diff
more minor pep8 cleanup
parent
14408302
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/ifo/noises.py
+3
-4
3 additions, 4 deletions
gwinc/ifo/noises.py
with
3 additions
and
4 deletions
gwinc/ifo/noises.py
+
3
−
4
View file @
0ec96711
...
...
@@ -51,7 +51,6 @@ def ifo_power(ifo, PRfixed=True):
"""
Compute power on beamsplitter, finesse, and power recycling factor.
"""
c
=
const
.
c
pin
=
ifo
.
Laser
.
Power
t1
=
sqrt
(
ifo
.
Optics
.
ITM
.
Transmittance
)
r1
=
sqrt
(
1
-
ifo
.
Optics
.
ITM
.
Transmittance
)
...
...
@@ -65,7 +64,7 @@ def ifo_power(ifo, PRfixed=True):
# Finesse, effective number of bounces in cavity, power recycling factor
finesse
=
2
*
pi
/
(
t1
**
2
+
2
*
loss
)
# arm cavity finesse
neff
=
2
*
finesse
/
pi
neff
=
2
*
finesse
/
pi
# Arm cavity reflectivity with finite loss
garm
=
t1
/
(
1
-
r1
*
r2
*
sqrt
(
1
-
2
*
loss
))
# amplitude gain wrt input field
...
...
@@ -79,12 +78,12 @@ def ifo_power(ifo, PRfixed=True):
r5
=
sqrt
(
1
-
Tpr
)
prfactor
=
t5
**
2
/
(
1
+
r5
*
rarm
*
sqrt
(
1
-
bsloss
))
**
2
pbs
=
pin
*
prfactor
# BS power from input power
pbs
=
pin
*
prfactor
# BS power from input power
parm
=
pbs
*
garm
**
2
/
2
# arm power from BS power
thickness
=
ifo
.
Optics
.
ITM
.
get
(
'
Thickness
'
,
ifo
.
Materials
.
MassThickness
)
asub
=
1.3
*
2
*
thickness
*
ifo
.
Optics
.
SubstrateAbsorption
pbsl
=
2
*
pcrit
/
(
asub
+
acoat
*
neff
)
# bs power limited by thermal lensing
pbsl
=
2
*
pcrit
/
(
asub
+
acoat
*
neff
)
# bs power limited by thermal lensing
if
pbs
>
pbsl
:
logger
.
warning
(
'
P_BS exceeds BS Thermal limit!
'
)
...
...
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