Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pulse_lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QuTech QDLabs
pulse_lib
Commits
28718bfe
Commit
28718bfe
authored
2 years ago
by
Sander de Snoo
Browse files
Options
Downloads
Patches
Plain Diff
test with IQ output
parent
fba6a425
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
pulse_lib/tests/configurations/test_configuration.py
+4
-3
4 additions, 3 deletions
pulse_lib/tests/configurations/test_configuration.py
with
4 additions
and
3 deletions
pulse_lib/tests/configurations/test_configuration.py
+
4
−
3
View file @
28718bfe
...
...
@@ -182,6 +182,7 @@ class Context:
if
sensor
not
in
pulse
.
digitizer_channels
:
continue
if
backend
==
'
Qblox
'
:
pulse
.
digitizer_channels
[
sensor
].
iq_out
=
True
pulse
.
set_digitizer_frequency
(
sensor
,
params
[
'
frequency
'
])
pulse
.
set_digitizer_rf_source
(
sensor
,
output
=
params
[
'
output
'
],
...
...
@@ -222,13 +223,13 @@ class Context:
elif
backend
==
'
Tektronix_5014
'
:
sequence
.
set_hw_schedule
(
TektronixSchedule
(
self
.
pulse
))
def
run
(
self
,
name
,
sequence
,
*
params
):
def
run
(
self
,
name
,
sequence
,
*
params
,
silent
=
False
):
global
_ct_configured
runner
=
self
.
_configuration
[
'
runner
'
]
if
runner
==
'
qcodes
'
:
path
=
'
C:/measurements/test_pulselib
'
DataSet
.
default_io
=
DiskIO
(
path
)
return
qc_run
(
name
,
sequence
,
*
params
)
return
qc_run
(
name
,
sequence
,
*
params
,
quiet
=
silent
)
elif
runner
==
'
core_tools
'
:
if
not
_ct_imported
:
...
...
@@ -237,7 +238,7 @@ class Context:
ct
.
configure
(
os
.
path
.
join
(
self
.
_dir
,
'
ct_config.yaml
'
))
_ct_configured
=
True
ct
.
set_sample_info
(
sample
=
self
.
configuration_name
)
return
do0D
(
sequence
,
*
params
,
name
=
name
).
run
()
return
do0D
(
sequence
,
*
params
,
name
=
name
,
silent
=
silent
).
run
()
else
:
print
(
f
'
no implementation for
{
runner
}
'
)
...
...
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