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
e8a45fc6
Commit
e8a45fc6
authored
3 years ago
by
Sander de Snoo
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into dev
parents
61af86d8
132b9f0d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+5
-1
5 additions, 1 deletion
CHANGELOG.md
pulse_lib/keysight/M3202A_uploader.py
+4
-1
4 additions, 1 deletion
pulse_lib/keysight/M3202A_uploader.py
pulse_lib/keysight/qs_uploader.py
+4
-1
4 additions, 1 deletion
pulse_lib/keysight/qs_uploader.py
with
13 additions
and
3 deletions
CHANGELOG.md
+
5
−
1
View file @
e8a45fc6
# Changelog
All notable changes to Pulselib will be documented in this file.
## \[1.3.
5
] - 2022-03-@@
## \[1.3.
6
] - 2022-03-@@
### Added
-
Added argument reset_time to wait()
## \[1.3.5] - 2022-03-29
### Fixed
-
Error when rendering section with low sample rate extends into segment with high sample rate.
## \[1.3.4] - 2022-03-23
### Improved
-
QuantumSequencer use waveform with low sample rate for long DC compensation pulse.
...
...
This diff is collapsed.
Click to expand it.
pulse_lib/keysight/M3202A_uploader.py
+
4
−
1
View file @
e8a45fc6
...
...
@@ -500,7 +500,10 @@ class UploadAggregator:
# create welding region if sample rate increases
if
sample_rate_next
!=
0
and
sample_rate_next
>
sample_rate
:
n_pre
=
round
((
section
.
t_end
-
(
seg
.
t_end
-
max_pre_start_ns
))
*
section
.
sample_rate
)
# The current section should end before the next segment starts:
# - subtract any extension into the next segment
# - align boundary with truncation
n_pre
=
int
(
np
.
ceil
((
section
.
t_end
-
(
seg
.
t_end
-
max_pre_start_ns
))
*
section
.
sample_rate
))
section
.
npt
-=
n_pre
section
.
align
(
extend
=
False
)
...
...
This diff is collapsed.
Click to expand it.
pulse_lib/keysight/qs_uploader.py
+
4
−
1
View file @
e8a45fc6
...
...
@@ -600,7 +600,10 @@ class UploadAggregator:
# create welding region if sample rate increases
if
sample_rate_next
!=
0
and
sample_rate_next
>
sample_rate
:
n_pre
=
round
((
section
.
t_end
-
(
seg
.
t_end
-
max_pre_start_ns
))
*
section
.
sample_rate
)
# The current section should end before the next segment starts:
# - subtract any extension into the next segment
# - align boundary with truncation
n_pre
=
int
(
np
.
ceil
((
section
.
t_end
-
(
seg
.
t_end
-
max_pre_start_ns
))
*
section
.
sample_rate
))
section
.
npt
-=
n_pre
section
.
align
(
extend
=
False
)
...
...
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