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
70ab41cc
Commit
70ab41cc
authored
Apr 10, 2019
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Debug Print
parent
be350ade
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
analyze_3lambda.py
sw/insitu_alpha/analyze_3lambda.py
+15
-13
No files found.
sw/insitu_alpha/analyze_3lambda.py
View file @
70ab41cc
...
...
@@ -355,19 +355,21 @@ if __name__ == "__main__":
print
(
name
+
extension
+
": wrong file type"
)
continue
"""
for data_set_key,data_set_value in data_set.items():
print("===============")
print(data_set_key) # Is one of "_l1_a", "_l2_a", "_l1_b", "_l2_b"
#print(data_set_value)
print("===============")
# For each "_l1_a", "_l2_a", "_l1_b", "_l2_b"
# get keys (for example: "ITU-Lambda1 = 18.0, ITU-Lambda2 = 21.0")
# get values (number of measurements, mean crtt value, stddev of crtt values)
for key,value in data_set_value.items():
print(key)
print(value)
"""
dbg_print
=
False
if
dbg_print
:
for
data_set_key
,
data_set_value
in
data_set
.
items
():
print
(
"==============="
)
print
(
data_set_key
)
# Is one of "_l1_a", "_l2_a", "_l1_b", "_l2_b"
#print(data_set_value)
print
(
"==============="
)
# For each "_l1_a", "_l2_a", "_l1_b", "_l2_b"
# get keys (for example: "ITU-Lambda1 = 18.0, ITU-Lambda2 = 21.0")
# get values (number of measurements, mean crtt value, stddev of crtt values)
for
key
,
value
in
data_set_value
.
items
():
print
(
key
)
print
(
value
)
l1_stddev
=
3e-12
# 3 [pm]
l2_stddev
=
3e-12
# 3 [pm]
fixed_lambda_stddev
=
3e-12
# 3 [pm]
...
...
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