Revision 7241bd017692069490642e1d5ca5a994580b2a4f authored by Joost van Griethuysen on 22 March 2018, 12:11:25 UTC, committed by Joost van Griethuysen on 26 March 2018, 15:35:00 UTC
Ensure all C extensions use similar signatures where possible (e.g. work with pointers for sizes, use strides extracted from the numpy array descriptions). This includes a bug fix in GLSZM calculation, where the newly created output array was not initialized with 0's.

Additionally, add extra tests for the angles array: ensure that the shape is (Na, 3) and move this testing functionality to a separate function (as the same function can then be reused by all C extensions for texture matrices.

Finally, factor out use of deprecated Numpy C API functions and add define to disable deprecated API.
1 parent ea9a6ce
Raw File
requirements-setup.txt
numpy>=1.9.2
back to top