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
History
File Mode Size
.circleci
bin
data
docker
docs
examples
hooks
notebooks
radiomics
tests
.dockerignore -rw-r--r-- 6 bytes
.editorconfig -rw-r--r-- 440 bytes
.flake8 -rw-r--r-- 1.1 KB
.gitattributes -rw-r--r-- 35 bytes
.gitignore -rw-r--r-- 763 bytes
.travis.yml -rw-r--r-- 811 bytes
CHANGES.rst -rw-r--r-- 28.8 KB
CONTRIBUTING.rst -rw-r--r-- 5.8 KB
Dockerfile -rw-r--r-- 3.0 KB
LICENSE.txt -rw-r--r-- 1.4 KB
MANIFEST.in -rw-r--r-- 395 bytes
README.md -rw-r--r-- 6.9 KB
appveyor.yml -rw-r--r-- 883 bytes
requirements-dev.txt -rw-r--r-- 101 bytes
requirements-setup.txt -rw-r--r-- 13 bytes
requirements.txt -rw-r--r-- 77 bytes
scikit-ci.yml -rw-r--r-- 1.7 KB
setup.cfg -rw-r--r-- 182 bytes
setup.py -rw-r--r-- 3.3 KB
versioneer.py -rw-r--r-- 67.0 KB

README.md

back to top