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
cbe0a8d9
Commit
cbe0a8d9
authored
Aug 06, 2018
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
units along vertical scales
parent
a1ec5e83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
edge_edge.py
sw/abscal_scripts/edge_edge.py
+4
-1
tic_wr.py
sw/abscal_scripts/tic_wr.py
+2
-1
No files found.
sw/abscal_scripts/edge_edge.py
View file @
cbe0a8d9
...
...
@@ -136,7 +136,10 @@ def average_edge_to_edge(scope, num_meas, expect_max, estimate, tolerance = 1.0e
once
=
False
# Cross check: The inverse correlation should yield the same but negative
#cx1,cy1=dd.correlate_circular(y3,y1)
plt
.
figure
(
"Correlation"
)
correlation_plot
=
plt
.
figure
(
"Correlation"
)
ax
=
correlation_plot
.
add_subplot
(
111
)
ax
.
set_xlabel
(
'Sample'
)
ax
.
set_ylabel
(
'Correlation'
)
plt
.
plot
(
cx
,
cy
)
plt
.
draw
()
...
...
sw/abscal_scripts/tic_wr.py
View file @
cbe0a8d9
...
...
@@ -244,7 +244,7 @@ if __name__ == "__main__":
fig
=
plt
.
figure
(
"Time Interval Counter and WR t1, t4p versus measurement number"
)
ax
=
fig
.
add_subplot
(
111
)
ax
.
set_xlabel
(
'measurement number'
)
ax
.
set_ylabel
(
'TIC, WR t1, WR t4p'
)
ax
.
set_ylabel
(
'TIC, WR t1, WR t4p
[s]
'
)
x
=
tic_data
[
0
][:
num
]
lns1
=
ax
.
plot
(
x
,
wr_data
[
"t1"
][:
num
],
color
=
'red'
,
dashes
=
[
2
,
2
,
10
,
2
],
label
=
'WR t1'
)
lns2
=
ax
.
plot
(
x
,
wr_data
[
"t4"
][:
num
],
color
=
'red'
,
dashes
=
[
6
,
2
],
label
=
'WR t4p'
)
...
...
@@ -253,6 +253,7 @@ if __name__ == "__main__":
labels
=
[
l
.
get_label
()
for
l
in
lns
]
ax
.
legend
(
lns
,
labels
,
loc
=
'lower right'
,
fontsize
=
'medium'
)
plt
.
subplots_adjust
(
left
=
0.17
)
plt
.
ticklabel_format
(
axis
=
'y'
,
style
=
'sci'
,
scilimits
=
(
-
0
,
0
))
plt
.
draw
()
t_hist_t1
=
tic_data
[
1
][:
num
]
-
wr_data
[
"t1"
][:
num
]
hist_tic_t1
=
plt
.
figure
(
"Historam TICt1"
)
...
...
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