Skip to content

74 waveform decoding sets sampling size to zero if below 1#79

Open
Tedsmith100 wants to merge 6 commits into
nu-ZOO:mainfrom
Tedsmith100:74-waveform-decoding-sets-sampling-size-to-zero-if-below-1
Open

74 waveform decoding sets sampling size to zero if below 1#79
Tedsmith100 wants to merge 6 commits into
nu-ZOO:mainfrom
Tedsmith100:74-waveform-decoding-sets-sampling-size-to-zero-if-below-1

Conversation

@Tedsmith100
Copy link
Copy Markdown
Contributor

Changes sample size types from int to float to accommodate non integer sampling. For example when the oscilloscope is used, the sample size is not fixed at 2ns and could be floats.

@Tedsmith100 Tedsmith100 requested a review from a team April 28, 2026 10:44
@jwaiton
Copy link
Copy Markdown
Member

jwaiton commented Apr 28, 2026

The tests no longer pass, it will be worth understanding why this is before this PR can be accepted.

Also, we don't include merge commits in MULE, we'll resolve that with a rebase :)

@jwaiton
Copy link
Copy Markdown
Member

jwaiton commented May 1, 2026

Tests pass, and the data looks untransformed (other than sampling size now being a float). Next time you're in the office, we'll rebase your code to remove the merge commits and then I'll approve it.

Change `sample_size` to allow for floats.
'sampling_period' from int to float
change `sampling_period` to float
@Tedsmith100 Tedsmith100 force-pushed the 74-waveform-decoding-sets-sampling-size-to-zero-if-below-1 branch from bb2af84 to 6209d87 Compare May 11, 2026 15:41
float `sampling_period`
rathern than asserting equals for float values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants