Nimpa

Latest version: v2.6.3

Safety actively analyzes 702161 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

2.4.0

- add MGH image file support
- add DICOM header institution extraction
- misc framework updates
- update & simplify installation (25)
+ rename `pydcm2niix` => `dcm2niix` & make optional (https://github.com/rordenlab/dcm2niix/pull/605)
+ make `niftyreg` optional (requires C++/CUDA compiler) https://github.com/KCL-BMEIS/niftyreg/pull/80, fixes #22
+ make `cuvec` & `numcu` optional (requires C++/CUDA compiler) via [`cuvec-base`](https://github.com/AMYPAD/cuvec-base)
+ update `ninst`
+ drop `PATHTOOLS`, `install_tools`
+ better installation notes
+ cuda option (for `nipet`)

2.3.0

- add `prc.conv_separable(output=None)` & `imsmooth(output_array=None)`
- expose `prc.conv_separable(sync=True)` & `imsmooth(sync=True)`
- add `prc.isub()`
- add `prc.centre_mass_corr()`
- add `regseg.resample_dipy()`
- misc `dcminfo()` extraction & fixes
- use NumCu (https://github.com/AMYPAD/NumCu)
- use CuVec convenience converter functions (https://github.com/AMYPAD/CuVec/pull/17)
- use external `dcm2niix` package (24 <- 23)
- use `miutil.imio.nii` functions
- fix `img_resample(log)` argument
- fix unused `prc.nlm(output)`
- misc build & test framework updates (21)

2.2.0

- add NLM guided filter (20)
- `improc` separable convolution fixes & updates (17, 19)
+ fix memory leak
+ add separable CPU version
+ decrease verbosity
- generate PSF kernels
- fix `prc` trimming/upsampling bug (17)
- return file path in `imsmooth` (17)
- fix multiarch CUDA support
- improve `sitk` error handling
- add tests
+ `improc` CUDA extension (`conv` & `nlm`)
+ performance tests (`conv` & `nlm`)
- misc build & test framework updates (17)

2.1.0

- add N-dimensional `conv_separable()` GPU (fallback: CPU) function (15)
- use https://github.com/AMYPAD/cuvec instead of `numpy` arrays (avoids all unnecessary memory copies) (#16)
+ allow arbitrary 3D input dimensions (auto-pad)
+ add tests
+ fix alloc bug (`cuvec>2.1.2`, https://github.com/python/cpython/pull/24283)
- build updates
+ ensure can still build without CUDA
+ cmake: allow linking shared libs for external builds
- framework: misc test & build updates (15, 14, 13)
+ fix cuda compute capability>=3.5 auto-detection
- misc minor metadata updates

2.0.0

Features

- fix & upgrade `logging`
- fix & update dependencies
- add `[plot]` extra
- use [AMYPAD/SPM12](https://github.com/AMYPAD/SPM12) for MATLAB engine & SPM12 support (#6)

Installation/build framework

- drop Python 2 compatibility
- support Python3.6+
+ drop `py<=3.5` which are unsupported by `ninst<-miutil[cuda]<-pynvml` and no longer receive security fixes anyway
- fix `conda` install
- allow non-interactive installation (1)
+ allow setting `PATHTOOLS` from env vars (1)
- new build framework (9, 11, 12)
+ cmake/cuda build overhaul
+ allows `pip install nimpa` on a completely clean system (no `numpy`, no `miutil[cuda]`, no `-e`, no `--no-binary :all:`)
+ replace `dinf` module => `miutil.cuinfo` (7)
+ rely on `numpy`, `miutil[cuda]`, `ninst`, `scikit-build`, `cmake>=3.18`, `ninja`
* all auto-installed at setup-time!
* get rid of `cudasetup.py`
* get rid of `install_tools.py`
* get rid of `resources.py`
+ use new `CMAKE_CUDA_ARCHITECTURES` policy
+ use new project `LANGUAGES` specification
+ support `python setup.py clean`
- basic code tidy (particularly import ordering)
- update `.gitignore`, `.mailmap`, `README.rst` badges

v1-final
Last Python2 version

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.