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
7c6f774c
Commit
7c6f774c
authored
1 year ago
by
Sander Snoo
Browse files
Options
Downloads
Patches
Plain Diff
Fixed M4i acquisition data shape
parent
e7fa3c7e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pulse_lib/tektronix/tektronix5014_uploader.py
+9
-1
9 additions, 1 deletion
pulse_lib/tektronix/tektronix5014_uploader.py
with
9 additions
and
1 deletion
pulse_lib/tektronix/tektronix5014_uploader.py
+
9
−
1
View file @
7c6f774c
...
...
@@ -292,7 +292,9 @@ class Tektronix5014_Uploader:
demodulate
=
demodulate
)
self
.
acq_description
=
AcqDescription
(
job
.
seq_id
,
job
.
index
,
job
.
digitizer_triggers
)
job
.
digitizer_triggers
,
job
.
n_rep
,
acq_conf
.
average_repetitions
)
def
actual_acquisition_points
(
self
,
channel_name
,
duration
,
sample_rate
):
return
self
.
m4i_control
.
actual_acquisition_points
(
duration
,
sample_rate
)
...
...
@@ -331,6 +333,10 @@ class Tektronix5014_Uploader:
result
[
channel_name
]
=
raw_ch
if
not
acq_desc
.
average_repetitions
and
acq_desc
.
n_rep
:
for
key
,
value
in
result
.
items
():
result
[
key
]
=
value
.
reshape
((
acq_desc
.
n_rep
,
-
1
))
return
result
@dataclass
...
...
@@ -493,6 +499,8 @@ class AcqDescription:
seq_id
:
UUID
index
:
List
[
int
]
digitizer_triggers
:
DigitizerTriggers
n_rep
:
int
average_repetitions
:
bool
=
False
class
UploadAggregator
:
...
...
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