Commit 15fe7ae
authored
waveform: Add basic AnalogWaveform (#4)
* Add basic AnalogWaveform
* waveform: Add slots and more properties
* waveform: Add more error tests
* waveform: Replace from_iter with support for array-like objects
* waveform: Add from_array_2d and heavily refactor init method
* waveform: Fix type inference for constructor and remove create()
* waveform: Set refcheck=False when resizing array
* tests: Use typing_extensions for assert_type on older Pythons
* waveform: Delete create() method
* waveform: Validate dtype and run doctests
* tests: Add ndarray_with_mismatched_dtype tests
* tests: Add invalid type tests for extended properties
* waveform: Fix Python 3.9 errors
* waveform: Fix int-vs-long mismatch
* waveform: Delete _scaling.py1 parent 77a431f commit 15fe7ae
File tree
7 files changed
+1282
-1
lines changed- src/nitypes/waveform
- tests/unit/waveform
7 files changed
+1282
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments