Neurocaps

Latest version: v0.21.0

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

Scan your dependencies

Page 4 of 19

0.18.3

🐛 Fixes
- More conservative maxsizes for `lru_cache`, change `cache` in `TimeseriesExtractor` to `lru_cache`.
- Clean unused import.

0.18.2

- A simple pre commit hook added to remove a few trailing whitespace, add new lines, etc.

♻ Changed
- Add's `_get_target_indices` and `_build_tree` to the init file for a shorter import path if cache needs to be cleared or
assessed. essentially allows:

New import:
python
from neurocaps._utils import _build_tree, _get_target_indices


Previous import:
python
from neurocaps._utils.analysis.cap2statmap import _build_tree, _get_target_indices


📖 Documentation
- Very minor doc fix.

0.18.1

🚀 New/Added
- Added "cbarlabels_size" kwarg to several plots to allow the font size of the colorbar labels to increase or decrease.
♻ Changed
- For `CAP.caps2radar`, when the `legend` kwarg is set to None, the legend will be removed entirely.

0.18.0

♻ Changed
- In `TimeseriesExtractor.get_bold`, location of `parallel_log_config` parameter in function signature moved
from being the last parameter to underneath `n_cores`. Additionally, `exclude_niftis` moved from being the second to last
parameter to being underneath `exclude_subjects`.

*Changes related to `knn_dict`, which is only relevant for certain atlases that project poorly to surface space or
has a sparsity issue*

- Added a "reference_atlas" key to allow Schaefer or AAL to be used as the reference atlas.
- The "remove_subcortical" key changed to "remove_labels".
- Default "k" from 1 to 3.

🐛 Fixes
*Fixes only related to `knn_dict`*

- "remove_labels" now only removes the labels from being interpolated as opposed to removing the label from being
interpolated in addition to removing the corresponding indices from the atlas entirely.
- Certain internal helper functions - `_get_target_indices` and `_build_tree` - from
`neurocaps._utils.analyis.cap2statmap` now use functool's `lru_cache` decorator so that the indices that the
non-background coordinated that need interpolation as well as the indices that don't need interpolation, based on
"remove_labels" are only computed once per session for every unique parameter combination.
- Logged information related to `knn_dict` appears once per call of `CAP.caps2niftis` or `CAP.caps2surf` instead of
for every iteration performed within these functions.

📖 Documentation
- Some documentation revisions.

0.17.11.post1

📖 Documentation
- Documentation clarification

0.17.11.post0

📖 Documentation
- Minor fix to a versionchanged directive

Page 4 of 19

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.