Commit a5f499d
authored
Create an XYData class (#204)
* Create an XYData class
Signed-off-by: Michael Johansen <[email protected]>
* Add more unit tests for corner cases.
Signed-off-by: Michael Johansen <[email protected]>
* Update intro.inc and the RTD link in README.
Signed-off-by: Michael Johansen <[email protected]>
* Refactors and fixes based on review feedback.
Signed-off-by: Michael Johansen <[email protected]>
* Re-implement using NumPy. Remove append functionality.
Signed-off-by: Michael Johansen <[email protected]>
* Remove/make constants private.
Signed-off-by: Michael Johansen <[email protected]>
* Add a few more unit tests.
Signed-off-by: Michael Johansen <[email protected]>
* Fix doctests.
Signed-off-by: Michael Johansen <[email protected]>
* Fix repr tests on oldest python/numpy.
Signed-off-by: Michael Johansen <[email protected]>
* Fix linting issue.
Signed-off-by: Michael Johansen <[email protected]>
* Include non-units properties in __repr__().
Signed-off-by: Michael Johansen <[email protected]>
* Fix linting issues.
Signed-off-by: Michael Johansen <[email protected]>
* Update stale docs. Remove old spectrum references.
Signed-off-by: Michael Johansen <[email protected]>
* Make TypeVars public
Signed-off-by: Michael Johansen <[email protected]>
* Rename x_values to x_data and y_values to y_data.
Signed-off-by: Michael Johansen <[email protected]>
* Remove x_units and y_units from reduce()
Signed-off-by: Michael Johansen <[email protected]>
---------
Signed-off-by: Michael Johansen <[email protected]>1 parent 0dd1d21 commit a5f499d
File tree
5 files changed
+873
-0
lines changed- docs
- src/nitypes
- tests/unit/xy_data
5 files changed
+873
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
144 | 153 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
0 commit comments