Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Calibration
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Calibration
Commits
9af53fe5
Commit
9af53fe5
authored
Jul 08, 2019
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added comment on group_delay
parent
641b11a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
analyze_sellmeier.py
sw/insitu_alpha/analyze_sellmeier.py
+7
-2
No files found.
sw/insitu_alpha/analyze_sellmeier.py
View file @
9af53fe5
...
...
@@ -450,10 +450,15 @@ def group_delay(l, A, B, C, D, E):
delay -- <float> group delay value based on selm5 and l
"""
# l = lambda is in [nm]. convert to [m] before executing sellmeier fit
# l = lambda is in [nm]. convert to [m] before executing sellmeier fit.
# Note that Sellmeier is an empirical relationship
#(https://en.wikipedia.org/wiki/Sellmeier_equation) where dispersion is
# expressed in ps/nm.km so converting l to [m] is a divide by 10e9 in the
# numerator as well as the denominator. The result has to be converted back
# to [ps] by multiplying numerator as well as the denominator by 10e9.
l
=
l
/
1e9
sellmeier_5
=
A
+
B
*
l
**
2
+
C
*
l
**-
2
+
D
*
l
**
4
+
E
*
l
**-
4
# and convert fitted value back to [
nm
]
# and convert fitted value back to [
ps
]
return
sellmeier_5
*
1e9
############################################################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment