.. _sphx_glr_auto_examples_01_decoding_pipeline: ###################################### End-to-end decoding pipeline on real data ###################################### Three connected examples that walk through a full encoding-model decoding pipeline on a small extract of single-trial fMRI data (numerosity task, right numerosity-tuned parietal cortex): 1. Select responsive voxels from whole-brain R² by fitting a 2-component mixture and picking a threshold (FDR or posterior). 2. Decode trial-wise stimulus posteriors using a noise model whose covariance is regularised by *geodesic* distance on the cortical surface. 3. Quantify *expected* decoding uncertainty by simulating from the fitted model and re-decoding. Each example is self-contained but share the same demo dataset, which is downloaded on first run via ``braincoder.utils.data.load_dehollander2024_npc``. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/01_decoding_pipeline/images/thumb/sphx_glr_01_voxel_selection_fdr_thumb.png :alt: :doc:`/auto_examples/01_decoding_pipeline/01_voxel_selection_fdr` .. raw:: html
Voxel selection via a 2-component R² mixture model
.. raw:: html
.. only:: html .. image:: /auto_examples/01_decoding_pipeline/images/thumb/sphx_glr_03_expected_uncertainty_thumb.png :alt: :doc:`/auto_examples/01_decoding_pipeline/03_expected_uncertainty` .. raw:: html
Expected decoding uncertainty via simulate + decode
.. raw:: html
.. only:: html .. image:: /auto_examples/01_decoding_pipeline/images/thumb/sphx_glr_02_geodesic_decoder_thumb.png :alt: :doc:`/auto_examples/01_decoding_pipeline/02_geodesic_decoder` .. raw:: html
Geodesic-regularised noise model for trial-wise decoding
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /auto_examples/01_decoding_pipeline/01_voxel_selection_fdr /auto_examples/01_decoding_pipeline/03_expected_uncertainty /auto_examples/01_decoding_pipeline/02_geodesic_decoder