Skip to content

Releases: cosanlab/nltools

0.3.20

06 May 23:37
651699e
Compare
Choose a tag to compare

#BUG FIXES

  • fixed bug with importing optional libraries for interactive component viewer.

0.3.19

29 Apr 20:04
Compare
Choose a tag to compare

This release is mostly bug fixes with Design_Matrix class fixed by @ejolly

Bug Fixes

  • Numerous bug fixes with Design_Matrix class
  • updated issues with deprecated pandas .ix index methods
  • fixed issues with onsets_to_dm
  • fixed issues with appending multiple design matrix instances

0.13.18

14 Apr 16:31
6781465
Compare
Choose a tag to compare

New Functionality

  • added divide dunder method to Brain_Data and Adjaceny
  • added right dunder methods to Adjacency
  • added axis argument to Brain_Data.std()

0.3.17

07 Apr 05:25
84fc236
Compare
Choose a tag to compare

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 to metric 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

06 Mar 15:55
Compare
Choose a tag to compare

Problems uploading to pypi - see version 0.3.15 for full release notes.

0.3.15

06 Mar 15:40
5f89aad
Compare
Choose a tag to compare

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

21 Jun 03:43
9fe16ab
Compare
Choose a tag to compare

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

22 Apr 14:53
97f6254
Compare
Choose a tag to compare

New Functionality

  • Can now multiply vectors to brain data instances. useful for making contrasts

*Bug Fixes

  • Updated documentation
  • Fixed readthedocs conda environment

0.3.12

09 Apr 12:13
Compare
Choose a tag to compare

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

12 Dec 20:32
Compare
Choose a tag to compare

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 using Brain_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 argument view. Still defaults to axial slices but can optionally display, glass, mni (for ortho slices) or both
  • new distance_correlation, procrustes_distance, jackknife_permutation functions in nltools.stats
  • expand_mask, collapse_mask, create_sphere can now take custom masks
  • Brain_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 like fdr now and fixes incorrect pvalue bug
  • check_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