A multi-modal, multi-variate pattern analysis (MVPA) toolbox in Matlab / GNU Octave for cognitive neuroscientists.
CoSMoMVPA¶
State-of-the art, yet simple to use MVPA implementations.
Runs on the Matlab and GNU Octave platform, on MS Windows, OSX, and GNU/Linux.
Handles fMRI volumetric, fMRI surface-based, and MEEG data through a uniform data structure.
Support for a wide range of data formats.
Searchlights in the volume, on the surface, over sensors, time bins, and frequency bands.
Multiple-comparison correction using Threshold-Free Cluster Enhancement Monte Carlo simulations.
Extensive documentation, including a variety of runnable scripts and implementation exercises (with solutions).
Is Free/Open Source Software (MIT License), see http://github.com/CoSMoMVPA/CoSMoMVPA.
News¶
CoSMoMVPA was presented at NMSM 2019, Noesselt’s lab 3rd Modelling Symposium, University of Magdeburg, 22–26 July 2019. Thanks to the organizers and attendees!
our CoSMoMVPA manuscript has been published ([OCH16]): Oosterhof, N. N., Connolly, A. C., and Haxby, J. V. (2016). CoSMoMVPA: multi-modal multivariate pattern analysis of neuroimaging data in Matlab / GNU Octave. Frontiers in Neuroinformatics, doi: 10.3389/fninf.2016.00027.
Analysis gallery¶
Changes since last month¶
Summary¶
[BLD] 1 changes in build system
[TST] 1 unit or doctest changes
All changes¶
commit c408cbee10ce021c46e0b75e2950d81dfff76097 Author: Nikolaas N. Oosterhof <n.n.oosterhof@googlemail.com> Date: Fri Oct 24 19:21:53 2025 +0200 TST: update tests (documentation & unit) to work with recent versions of FieldTrip (#219) Co-authored-by: Nikolaas N. Oosterhof <n.n.oosterhof@gmail.com> .github/workflows/CI_matlab.yml | 3 + mvpa/cosmo_meeg_chantype.m | 4 +- mvpa/cosmo_meeg_senstype2layout_mapping.m | 4 +- mvpa/cosmo_meeg_senstype_collection.m | 6 +- tests/test_meeg_chantype.m | 8 +- tests/test_meeg_senstype_collection.m | 155 +++++++++++++++--------------- 6 files changed, 93 insertions(+), 87 deletions(-) commit 683acc9529744f502321c9166af4016f30fdb544 Author: Nikolaas N. Oosterhof <n.n.oosterhof@googlemail.com> Date: Fri Oct 24 19:05:57 2025 +0200 BLD: support Matlab CI * BLD: add workflow_dispatch * BLD: add matlab-ci * BLD: adapt tests to deal with absent statistics toolbox (CI) --------- Co- authored-by: Nikolaas N. Oosterhof <n.n.oosterhof@gmail.com> .github/workflows/CI_matlab.yml | 78 +++++++++++++++++++++++ .github/workflows/CI_octave.yml | 1 + .gitignore | 1 + Makefile | 1 + mvpa/cosmo_check_external.m | 23 ++++++- mvpa/cosmo_dim_match.m | 1 - mvpa/cosmo_meeg_senstype_collection.m | 5 +- mvpa/cosmo_singleton_neighborhood.m | 3 + mvpa/cosmo_stat.m | 12 ++++ tests/test_classify.m | 14 +++- tests/test_corr.m | 6 ++ tests/test_correlation_measure.m | 5 ++ tests/test_montecarlo_cluster_stat.m | 65 +++++++++++-------- tests/test_montecarlo_cluster_stat_distribution.m | 3 + tests/test_pca.m | 2 + tests/test_pdist.m | 3 + tests/test_show_progress.m | 12 +++- tests/test_stat.m | 31 +++++++-- 18 files changed, 227 insertions(+), 39 deletions(-)











