Releases: cosanlab/nltools
Releases · cosanlab/nltools
0.3.20
0.3.19
0.13.18
0.3.17
New Functionality
- new interactive plot to view components from decomposition analysis
- new median method
- can now extract median and PCA components from a masked Brain_Data instance
- can now perform KernelPCA and DictionaryLearning with Decompose method.
Changed API
- many
method
keywords have been changed tometric
for consistency (e.g., distance methods) - extract_roi Brain_Data method now has option to resample target mask to source data
Bug Fixes
- fixed the double plot in jupyter notebooks
- removed nans from regression standard error
- fixed issues with labels in several Adjacency plots (mds, silhouette)
- fixed issue with float and integer types in all dunder methods in Brain_Data & Adjacency
- fixed roi_to_brain function, which can now accommodate most input data types
- changed how empty labels are stored in Adjacency
- added mask argument to check_brain_data
- refactored and updated apply_mask, new flag to resample mask to
0.3.16
0.3.15
New Functionality
- added plot saving functionality for full, glass, and min views
- predict now uses balanced_accuracy as default for classification accuracy
Bug Fixes
- fixed bug with glover_hrf function which will impact convolution with design_matrix
- fixed numerous bugs with adjacency class
- fixed multiple mugs in permutation tests
- fixed bug with 3mm brain mask
- fixed bug checking for isometric voxels which was causing plotting errors
- fixed bug in plotting save
- updated sklearn requirements which was causing bug with backwards compatibility for balanced_accuracy
- fixed bugs with hdf5 with adjacency instances
0.3.14
New Functionality
- Added ability to read and write Brain_Data objects to hdf5. This is WAY faster than nifti and is the recommended method for large datasets.
- Randomise - can now run fast permutation testing similar to FSL.
- Add options for holm-bonf to ttest and randomise
- Added ability to estimate Social Relations Model using Adjacency Class.
- Added new SimulateGrid class for generating random data for simulations in 2D
Bug Fixes
- fixed fetch_localizer
- fixed bug in Brain_Data.smooth where original class instance attributes weren't being propagated.
- cleaned up code for distance_correlations
- fixed bug with Adjacency when NaNs were present on diagonal.
- fixed travis bug.
- fixed plotting bug
0.3.13
0.3.12
New Functionality
- added ISC output to align output.
- added new function to fetch pinel localizer dataset
- added smooth method to Brain_Data Class
- added find_spikes method to Brain_Data Class
Bug Fixes
- updated align tests
Notes
- dropped support for Python 2.7. Will no longer be running test suite.
0.3.11
New Functionality
- Can now perform multi-region and/or searchlight based prediction using
Brain_Data.predict_multi
Brain_Data.predict
now support multi-class classification- New interactive plotting based on
nilearn
usingBrain_Data.iplot()
- plotting functions have been renamed to remove camel case (e.g.
plotBrain
->plot_brain
) Brain_Data.plot
now integrates old plotting functions in method call using argumentview
. Still defaults to axial slices but can optionally display,glass
,mni
(for ortho slices) orboth
- new
distance_correlation
,procrustes_distance
,jackknife_permutation
functions innltools.stats
expand_mask
,collapse_mask
,create_sphere
can now take custom masksBrain_Data.standarize
gains new axis argument
Bug Fixes
- Fixed issue in boolean indexing with ROC forced choice computation
- Fixed edge case bug in
fdr
holm_bonf
behaves likefdr
now and fixes incorrect pvalue bugcheck_numpy_square_matrix
validates properly now- fixed issue in failed arma regression if
statsmodels
was not installed - fixed issue in failed interactive plotting if
ipywidgets
was not installed