Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate draw_samples and draw_sequence #533
Separate draw_samples and draw_sequence #533
Changes from 1 commit
0f32556
daafc55
4501e77
91166cf
2fb542d
76276e1
9ee018f
63ab9e4
807c8e8
0bcbf57
ab4f2e3
09c580e
1363f2c
b7b725f
3f4afd4
6757303
2bd97b6
70b3d2c
652484d
e89d060
0309a42
3f56a89
69e9a1f
2a7cf7e
ae3b974
4706247
33b598e
38834ab
f67d642
a0c3692
6c22203
b39a25d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the end, why don't you pass
_basis_ref
toSequenceSamples
when you sample aSequence
(just like_measurement
and_magnetic_field
) ?Then you will be able to move this part of code in
draw_channel_content
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I can do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did; if I didn't miss anything should be ok now; it is still missing coverage, but I wait for your approval first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By the way, the coverage issues raises on EOM related parts:
68, 84-95, 211-213, 216-218, 230
.If before this pull request it was working, I think that using ChannelSamples.target_time_slots is not enough for handling this part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am noticing an issue in the tutorial Output Modulation and EOM. The buffers before and after the EOM mode is switched on (the time slots that are just before and just after the eom interval) are not represented...
Obtained:
Should be:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see; I think the problem is in the
gather_data
part where we create eom buffers starting fromChannelSamples.target_time_slots
; the drawing part is almost unchangedThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I further investigate it, but I cannot figure out what is the problem.
EDIT:
Just fixed