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
bb893b5c
Commit
bb893b5c
authored
2 years ago
by
Sander Snoo
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
fe98d00f
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/segments/segment_pulse.py
+1
-10
1 addition, 10 deletions
pulse_lib/segments/segment_pulse.py
with
1 addition
and
10 deletions
pulse_lib/segments/segment_pulse.py
+
1
−
10
View file @
bb893b5c
...
...
@@ -32,7 +32,6 @@ class segment_pulse(segment_base):
'''
super
().
__init__
(
name
,
pulse_data
(),
HVI_variable_data
,
segment_type
)
@loop_controller
def
add_block
(
self
,
start
,
stop
,
amplitude
):
'''
...
...
@@ -99,7 +98,6 @@ class segment_pulse(segment_base):
return
self
.
data_tmp
@loop_controller
def
wait
(
self
,
wait
):
'''
...
...
@@ -120,7 +118,7 @@ class segment_pulse(segment_base):
stop (double) : stop time in ns of the pulse
amp (double) : amplitude of the pulse
freq (double) : frequency of the pulse
phase_offset (double) : offset in phase
is needed
phase_offset (double) : offset in phase
'''
self
.
data_tmp
.
add_MW_data
(
IQ_data_single
(
start
+
self
.
data_tmp
.
start_time
,
stop
+
self
.
data_tmp
.
start_time
,
...
...
@@ -130,7 +128,6 @@ class segment_pulse(segment_base):
self
.
name
))
return
self
.
data_tmp
@loop_controller
def
add_custom_pulse
(
self
,
start
,
stop
,
amplitude
,
custom_func
,
**
kwargs
):
"""
...
...
@@ -155,7 +152,6 @@ class segment_pulse(segment_base):
self
.
data_tmp
.
add_custom_pulse_data
(
pulse_data
)
return
self
.
data_tmp
def
add_reference_channel
(
self
,
virtual_channel_reference_info
):
'''
Add channel reference, this can be done to make by making a pointer to another segment.
...
...
@@ -193,11 +189,6 @@ class segment_pulse(segment_base):
if
__name__
==
'
__main__
'
:
# @@@ test timing of 200 * 200 2D loop with 100 pulse segments
# a) adding pulses
# b) rendering pulse segments
# import matplotlib.pyplot as plt
from
pulse_lib.segments.segment_HVI_variables
import
segment_HVI_variables
test_HVI_marker
=
segment_HVI_variables
(
"
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