Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core_tools
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
core_tools
Commits
c72ee62d
Commit
c72ee62d
authored
2 years ago
by
Sander Snoo
Browse files
Options
Downloads
Patches
Plain Diff
Fixed use of check_OD_scan
parent
2e225df0
No related branches found
Branches containing commit
Tags
v1.4.3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core_tools/sweeps/pulse_lib_wrappers/PSB_exp.py
+6
-7
6 additions, 7 deletions
core_tools/sweeps/pulse_lib_wrappers/PSB_exp.py
with
6 additions
and
7 deletions
core_tools/sweeps/pulse_lib_wrappers/PSB_exp.py
+
6
−
7
View file @
c72ee62d
...
...
@@ -3,7 +3,6 @@ from core_tools.utility.digitizer_param_conversions import IQ_to_scalar, down_sa
from
core_tools.utility.mk_digitizer_param
import
get_digitizer_param
from
core_tools.utility.dig_utility
import
autoconfig_dig_v2
,
MODES
from
core_tools.drivers.M3102A
import
MODES
,
DATA_MODE
,
OPERATION_MODES
from
core_tools.sweeps.sweep_utility
import
check_OD_scan
from
core_tools.HVI2.schedule_manager
import
ScheduleMgr
from
core_tools.utility.qubit_param_gen.digitizer_parameter
import
get_digitizer_qubit_param
...
...
@@ -31,20 +30,20 @@ def run_qubit_exp(exp_name, sequence, mode = 'normal'):
my_seq
.
n_rep
=
sequence
.
n_rep
md
=
my_seq
.
measurements_description
n_acq
=
md
.
acquisition_count
station
.
dig
.
set_operating_mode
(
OPERATION_MODES
.
HVI_TRG
)
station
.
dig
.
set_acquisition_mode
(
MODES
.
IQ_INPUT_SHIFTED_I_OUT
)
active_channels
=
[]
if
not
QsUploader
.
use_digitizer_sequencers
:
print
(
f
'
QsUploader.use_digitizer_sequencers set to
{
QsUploader
.
use_digitizer_sequencers
}
'
)
for
channel_name
in
md
.
acquisitions
:
dig_channel
=
station
.
pulse
.
digitizer_channels
[
channel_name
]
for
ch
in
dig_channel
.
channel_numbers
:
if
n_acq
[
channel_name
]
>
0
:
if
n_acq
[
channel_name
]
>
0
:
station
.
dig
.
set_channel_properties
(
ch
,
V_range
=
1.0
)
station
.
dig
.
set_daq_settings
(
ch
,
my_seq
.
n_rep
*
n_acq
[
channel_name
],
30
)
active_channels
.
append
(
ch
)
...
...
@@ -63,6 +62,6 @@ def run_qubit_exp(exp_name, sequence, mode = 'normal'):
dig_param
.
setUpParam
(
mc
,
station
.
dig
)
my_seq
.
m_param
=
dig_param
return
check_OD_scan
(
my_seq
,
dig_param
)
+
(
exp_name
,
)
return
my_seq
,
dig_param
,
exp_name
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