Neurocaps

Latest version: v0.21.0

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

Scan your dependencies

Page 12 of 19

0.13.5

🐛 Fixes
- For `knn_dict`, replaces method for majority vote to another method that is more appropriate for floats
when k is greater than 1. Current method is more appropriate for atlases, which have integer values.

0.13.4.post1

💻 Metadata
- Spelling fix in error message to refer to the correct variable name.

0.13.4

🐛 Fixes
- For `CAP.caps2surf` and `CAP.caps2niftis`, fwhm comes after the knn method, if requested.

0.13.3

🐛 Fixes
- Adds a "remove_subcortical" key to `knn_dict`.
- Uses "nearest" interpolation for Schaefer resampling so the labels are retained.
- Fixes "resolution_mm" default in `knn_dict`, which was set to "1mm" instead of 1 if not specified.

0.13.2

🐛 Fixes
- Certain custom atlases may not project well from volume to surface space. A new parameter, `knn_dict` has been added to
`CAP.caps2surf()` and `CAP.caps2niftis` to apply k-nearest neighbors (knn) interpolation while leveraging the
Schaefer atlas, which projects well from volumetric to surface space.
- No longer need to add `parcel_approach` when using `CAP.caps2surf` with `fslr_giftis_dict`.

0.13.1

♻ Changed
- For `CAP.caps2radar`, the `scattersize` kwarg can be used to control the size of the scatter/markers regardless
if `use_scatterpolar` is used.

Page 12 of 19

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.