You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use sparse array in ALE, ALESubtraction, SCALE, KDA, and MKDADensity (#725)
* Use 4D array in ALE
* Use 4D sparse array
* Add support to sparse array in CBMAEstimator._fit()
* calculate histogram on sparse array
* Update nimare/meta/cbma/ale.py
Co-authored-by: Taylor Salo <tsalo006@fiu.edu>
* Update nimare/meta/cbma/ale.py
Co-authored-by: Taylor Salo <tsalo006@fiu.edu>
* Use sparse in KDA
* Use sparse in MKDADensity
* Suport sparse in generate.create_coordinate_dataset
* Add support for sparse when `null_method="reduced_montecarlo"`
* Fix issue with tests
* get sample_sizes only if self.fwhm is None
* build sparse for coordinates inside mask_data
* pass image object to compute_ale_ma in generate
* Add support for np.ndarray back again
* Mask coordinates before creating the sparse array
* Fix sparse support in KDADensity
* modify unique_rows to handle mask when sum_overlap in KDA
* save both histogram_bins and histogram_means
* fix style issues
* consider `value` when creating `counts`
* Support sparse in _run_fwe_permutation for MKDAChi2
* keep unique_rows as general as possible
* Update docstring of the modified functions
* Drop support of np.ndarray on some functions
* Make return_type="sparse" default in _collect_ma_maps
* Use return_type="array" in SCALE until sparse is supported
* Use sparse in SCALE
* Use sparse in ALESubtraction
* Fix typo
* Small update: replace return_type="array" by "sparse"
* Set n_mask_voxels as a private parameter
Co-authored-by: Taylor Salo <tsalo006@fiu.edu>
* Apply @tsalo and @jdkent review
* Move the check of mask type to _preprocess_input
* Return sparse if pre-generated MA maps are found
* Drop support for np.ndarray in ALE
* Remove unnecessary `gc.collect()` lines
* Update mkda.py
* Remove gc import
* Drop support for np.ndarray in mkda
* Move the check of the masker to _fit
* Update mkda.py
* Drop support for list in mkda
* Drop support for list in ale
* Update ale.py
* Use memmap in SCALE
* Remove map reuse test in ALE for memory limit parameter
* Add versionchanged directives
* Update utils.py
* Remove line from docstring when sparse is the only option
* Add test for estimator with non-NiftiMasker
* Add histogram_means description to docstring
* Update nimare/meta/utils.py
Co-authored-by: Taylor Salo <tsalo006@fiu.edu>
Co-authored-by: Taylor Salo <tsalo006@fiu.edu>
0 commit comments