Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Conv TTL Blocking
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Conv TTL Blocking
Commits
ce62ca55
Commit
ce62ca55
authored
8 years ago
by
Projects
Browse files
Options
Downloads
Patches
Plain Diff
test/pulse_rejection: new set of test data points
parent
1587f7d0
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
software/tests/pulse_rejection.py
+13
-13
13 additions, 13 deletions
software/tests/pulse_rejection.py
with
13 additions
and
13 deletions
software/tests/pulse_rejection.py
+
13
−
13
View file @
ce62ca55
...
...
@@ -24,7 +24,7 @@ address = cfg.HNAME if cfg.ENABLED and cfg.HNAME else raw_input("Hostname: ")
user
=
cfg
.
USER
if
cfg
.
ENABLED
and
cfg
.
USER
else
raw_input
(
"
User:
"
)
password
=
cfg
.
PWD
if
cfg
.
ENABLED
and
cfg
.
PWD
else
raw_input
(
"
Password:
"
)
slot
=
cfg
.
SLOT
if
cfg
.
ENABLED
and
cfg
.
SLOT
else
int
(
input
(
"
Slot number:
"
))
cooldown_time
=
10
# number seconds of cool down time between tests
cooldown_time
=
8
# number seconds of cool down time between tests
elma
=
Elma
(
address
,
user
,
password
)
convttl
=
PyConvTTLBLO
(
slot
,
elma
)
...
...
@@ -48,12 +48,12 @@ if(convttl.status.switch[1]):
print
(
"
Running short pulse tests
"
)
tests
=
(
#
{'freq': 2000000, 'pulses': 2e6},
#
{'freq': 1333330, 'pulses': 8.65e6},
#
{'freq': 1000000, 'pulses': 1e7},
{
'
freq
'
:
800000
,
'
pulses
'
:
2.0
7
e7
},
{
'
freq
'
:
2000000
,
'
pulses
'
:
2e6
},
{
'
freq
'
:
1333330
,
'
pulses
'
:
8.65e6
},
{
'
freq
'
:
1000000
,
'
pulses
'
:
1e7
},
{
'
freq
'
:
800000
,
'
pulses
'
:
2.0
8
e7
},
{
'
freq
'
:
666670
,
'
pulses
'
:
2.439e7
},
{
'
freq
'
:
571000
,
'
pulses
'
:
5
50
000
*
120
,
'
continuous
'
:
True
}
{
'
freq
'
:
571000
,
'
pulses
'
:
5
71
000
*
120
,
'
continuous
'
:
True
}
)
max_freq
=
2e6
...
...
@@ -62,13 +62,13 @@ else:
print
(
"
Running long pulse tests
"
)
tests
=
(
{
'
freq
'
:
104166
,
'
pulses
'
:
10416
0
},
{
'
freq
'
:
92592
,
'
pulses
'
:
27
3
000
},
{
'
freq
'
:
83333
,
'
pulses
'
:
5
374
00
},
{
'
freq
'
:
75757
,
'
pulses
'
:
75
537
0
},
{
'
freq
'
:
69444
,
'
pulses
'
:
138834
0
},
{
'
freq
'
:
55555
,
'
pulses
'
:
55555
*
60
},
{
'
freq
'
:
52083
,
'
pulses
'
:
52083
*
120
,
'
continuous
'
:
True
},
#
{'freq': 104166, 'pulses': 10416
6
},
#
{'freq': 92592, 'pulses': 27
7
000},
{
'
freq
'
:
83333
,
'
pulses
'
:
5
410
00
},
{
'
freq
'
:
75757
,
'
pulses
'
:
75
757
*
1
0
},
{
'
freq
'
:
69444
,
'
pulses
'
:
69444
*
2
0
},
{
'
freq
'
:
55555
,
'
pulses
'
:
55555
*
60
},
{
'
freq
'
:
52083
,
'
pulses
'
:
52083
*
120
,
'
continuous
'
:
True
},
)
max_freq
=
105e3
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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