:orphan: ######## Examples ######## .. warning:: If you want to run the examples, make sure you execute them in a directory where you have write permissions, or you copy the examples into such a directory. If you install nilearn manually, make sure you have followed :ref:`the instructions `. .. raw:: html
.. raw:: html
=============== Basic tutorials =============== Introductory examples that teach how to use nilearn. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/00_tutorials/images/thumb/sphx_glr_plot_python_101_thumb.png :alt: :ref:`sphx_glr_auto_examples_00_tutorials_plot_python_101.py` .. raw:: html
Basic numerics and plotting with Python
.. raw:: html
.. only:: html .. image:: /auto_examples/00_tutorials/images/thumb/sphx_glr_plot_3d_and_4d_niimg_thumb.png :alt: :ref:`sphx_glr_auto_examples_00_tutorials_plot_3d_and_4d_niimg.py` .. raw:: html
3D and 4D niimgs: handling and visualizing
.. raw:: html
.. only:: html .. image:: /auto_examples/00_tutorials/images/thumb/sphx_glr_plot_nilearn_101_thumb.png :alt: :ref:`sphx_glr_auto_examples_00_tutorials_plot_nilearn_101.py` .. raw:: html
Basic nilearn example: manipulating and looking at data
.. raw:: html
.. only:: html .. image:: /auto_examples/00_tutorials/images/thumb/sphx_glr_plot_decoding_tutorial_thumb.png :alt: :ref:`sphx_glr_auto_examples_00_tutorials_plot_decoding_tutorial.py` .. raw:: html
A introduction tutorial to fMRI decoding
.. raw:: html
.. only:: html .. image:: /auto_examples/00_tutorials/images/thumb/sphx_glr_plot_single_subject_single_run_thumb.png :alt: :ref:`sphx_glr_auto_examples_00_tutorials_plot_single_subject_single_run.py` .. raw:: html
Intro to GLM Analysis: a single-run, single-subject fMRI dataset
.. raw:: html
============================= Visualization of brain images ============================= See :ref:`plotting` for more details. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_demo_glass_brain_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_demo_glass_brain.py` .. raw:: html
Glass brain plotting in nilearn
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_visualize_megatrawls_netmats_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_visualize_megatrawls_netmats.py` .. raw:: html
Visualizing Megatrawls Network Matrices from Human Connectome Project
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_prob_atlas_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_prob_atlas.py` .. raw:: html
Visualizing 4D probabilistic atlas maps
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_atlas_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_atlas.py` .. raw:: html
Basic Atlas plotting
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_overlay_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_overlay.py` .. raw:: html
Visualizing a probabilistic atlas: the default mode in the MSDL atlas
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_dim_plotting_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_dim_plotting.py` .. raw:: html
Controlling the contrast of the background when plotting
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_multiscale_parcellations_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_multiscale_parcellations.py` .. raw:: html
Visualizing multiscale functional brain parcellations
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_colormaps_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_colormaps.py` .. raw:: html
Matplotlib colormaps in Nilearn
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_visualization_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_visualization.py` .. raw:: html
NeuroImaging volumes visualization
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_haxby_masks_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_haxby_masks.py` .. raw:: html
Plot Haxby masks
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_carpet_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_carpet.py` .. raw:: html
Visualizing global patterns with a carpet plot
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_surface_projection_strategies_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_surface_projection_strategies.py` .. raw:: html
Technical point: Illustration of the volume to surface sampling schemes
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_demo_plotting_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_demo_plotting.py` .. raw:: html
Plotting tools in nilearn
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_surf_atlas_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_surf_atlas.py` .. raw:: html
Loading and plotting of a cortical surface atlas
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_3d_map_to_surface_projection_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_3d_map_to_surface_projection.py` .. raw:: html
Making a surface plot of a 3D statistical map
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_demo_more_plotting_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_demo_more_plotting.py` .. raw:: html
More plotting tools from nilearn
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_demo_glass_brain_extensive_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_demo_glass_brain_extensive.py` .. raw:: html
Glass brain plotting in nilearn (all options)
.. raw:: html
.. only:: html .. image:: /auto_examples/01_plotting/images/thumb/sphx_glr_plot_surf_stat_map_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_plotting_plot_surf_stat_map.py` .. raw:: html
Seed-based connectivity on the surface
.. raw:: html
========================================= Decoding and predicting from brain images ========================================= See :ref:`decoding` for more details. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_haxby_stimuli_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_haxby_stimuli.py` .. raw:: html
Show stimuli of Haxby et al. dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_mixed_gambles_frem_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_mixed_gambles_frem.py` .. raw:: html
FREM on Jimura et al "mixed gambles" dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_oasis_vbm_space_net_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_oasis_vbm_space_net.py` .. raw:: html
Voxel-Based Morphometry on Oasis dataset with Space-Net prior
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_haxby_searchlight_surface_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_haxby_searchlight_surface.py` .. raw:: html
Cortical surface-based searchlight decoding
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_haxby_frem_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_haxby_frem.py` .. raw:: html
Decoding with FREM: face vs house vs chair object recognition
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_haxby_anova_svm_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_haxby_anova_svm.py` .. raw:: html
Decoding with ANOVA + SVM: face vs house in the Haxby dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_haxby_multiclass_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_haxby_multiclass.py` .. raw:: html
The haxby dataset: different multi-class strategies
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_haxby_searchlight_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_haxby_searchlight.py` .. raw:: html
Searchlight analysis of face vs house recognition
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_haxby_glm_decoding_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_haxby_glm_decoding.py` .. raw:: html
Decoding of a dataset after GLM fit for signal extraction
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_haxby_full_analysis_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_haxby_full_analysis.py` .. raw:: html
ROI-based decoding analysis in Haxby et al. dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_haxby_grid_search_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_haxby_grid_search.py` .. raw:: html
Setting a parameter by cross-validation
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_oasis_vbm_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_oasis_vbm.py` .. raw:: html
Voxel-Based Morphometry on Oasis dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_haxby_different_estimators_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_haxby_different_estimators.py` .. raw:: html
Different classifiers in decoding the Haxby dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_simulated_data_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_simulated_data.py` .. raw:: html
Example of pattern recognition on simulated data
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_miyawaki_encoding_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_miyawaki_encoding.py` .. raw:: html
Encoding models for visual stimuli from Miyawaki et al. 2008
.. raw:: html
.. only:: html .. image:: /auto_examples/02_decoding/images/thumb/sphx_glr_plot_miyawaki_reconstruction_thumb.png :alt: :ref:`sphx_glr_auto_examples_02_decoding_plot_miyawaki_reconstruction.py` .. raw:: html
Reconstruction of visual stimuli from Miyawaki et al. 2008
.. raw:: html
======================= Functional connectivity ======================= See :ref:`parcellating_brain`, :ref:`extracting_rsn` or :ref:`functional_connectomes` for more details. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_inverse_covariance_connectome_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_inverse_covariance_connectome.py` .. raw:: html
Computing a connectome with sparse inverse covariance
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_probabilistic_atlas_extraction_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_probabilistic_atlas_extraction.py` .. raw:: html
Extracting signals of a probabilistic atlas of functional regions
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_simulated_connectome_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_simulated_connectome.py` .. raw:: html
Connectivity structure estimation on simulated data
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_multi_subject_connectome_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_multi_subject_connectome.py` .. raw:: html
Group Sparse inverse covariance for multi-subject connectome
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_seed_to_voxel_correlation_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_seed_to_voxel_correlation.py` .. raw:: html
Producing single subject maps of seed-to-voxel correlation
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_compare_decomposition_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_compare_decomposition.py` .. raw:: html
Deriving spatial maps from group fMRI data using ICA and Dictionary Learning
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_extract_regions_dictlearning_maps_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_extract_regions_dictlearning_maps.py` .. raw:: html
Regions extraction using dictionary learning and functional connectomes
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_atlas_comparison_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_atlas_comparison.py` .. raw:: html
Comparing connectomes on different reference atlases
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_group_level_connectivity_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_group_level_connectivity.py` .. raw:: html
Classification of age groups using functional connectivity
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_signal_extraction_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_signal_extraction.py` .. raw:: html
Extracting signals from a brain parcellation
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_sphere_based_connectome_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_sphere_based_connectome.py` .. raw:: html
Extract signals on spheres and plot a connectome
.. raw:: html
.. only:: html .. image:: /auto_examples/03_connectivity/images/thumb/sphx_glr_plot_data_driven_parcellations_thumb.png :alt: :ref:`sphx_glr_auto_examples_03_connectivity_plot_data_driven_parcellations.py` .. raw:: html
Clustering methods to learn a brain parcellation from fMRI
.. raw:: html
========================= GLM: First level analysis ========================= These are examples focused on showcasing first level models functionality and single subject analysis. See :ref:`glm` for more details. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_design_matrix_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_design_matrix.py` .. raw:: html
Examples of design matrices
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_write_events_file_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_write_events_file.py` .. raw:: html
Generate an events.tsv file for the NeuroSpin localizer task
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_adhd_dmn_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_adhd_dmn.py` .. raw:: html
Default Mode Network extraction of ADHD dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_fir_model_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_fir_model.py` .. raw:: html
Analysis of an fMRI dataset with a Finite Impule Response (FIR) model
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_spm_multimodal_faces_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_spm_multimodal_faces.py` .. raw:: html
Single-subject data (two runs) in native space
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_hrf_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_hrf.py` .. raw:: html
Example of MRI response functions
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_predictions_residuals_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_predictions_residuals.py` .. raw:: html
Predicted time series and residuals
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_bids_features_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_bids_features.py` .. raw:: html
First level analysis of a complete BIDS dataset from openneuro
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_localizer_surface_analysis_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_localizer_surface_analysis.py` .. raw:: html
Example of surface-based first-level analysis
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_two_runs_model_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_two_runs_model.py` .. raw:: html
Simple example of two-runs fMRI model fitting
.. raw:: html
.. only:: html .. image:: /auto_examples/04_glm_first_level/images/thumb/sphx_glr_plot_first_level_details_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_glm_first_level_plot_first_level_details.py` .. raw:: html
Understanding parameters of the first-level model
.. raw:: html
=========================== GLM: Second level analysis =========================== These are examples focused on showcasing second level models functionality and group level analysis. See :ref:`glm` for more details. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/05_glm_second_level/images/thumb/sphx_glr_plot_second_level_design_matrix_thumb.png :alt: :ref:`sphx_glr_auto_examples_05_glm_second_level_plot_second_level_design_matrix.py` .. raw:: html
Example of second level design matrix
.. raw:: html
.. only:: html .. image:: /auto_examples/05_glm_second_level/images/thumb/sphx_glr_plot_proportion_activated_voxels_thumb.png :alt: :ref:`sphx_glr_auto_examples_05_glm_second_level_plot_proportion_activated_voxels.py` .. raw:: html
Second-level fMRI model: true positive proportion in clusters
.. raw:: html
.. only:: html .. image:: /auto_examples/05_glm_second_level/images/thumb/sphx_glr_plot_thresholding_thumb.png :alt: :ref:`sphx_glr_auto_examples_05_glm_second_level_plot_thresholding.py` .. raw:: html
Statistical testing of a second-level analysis
.. raw:: html
.. only:: html .. image:: /auto_examples/05_glm_second_level/images/thumb/sphx_glr_plot_oasis_thumb.png :alt: :ref:`sphx_glr_auto_examples_05_glm_second_level_plot_oasis.py` .. raw:: html
Voxel-Based Morphometry on OASIS dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/05_glm_second_level/images/thumb/sphx_glr_plot_second_level_two_sample_test_thumb.png :alt: :ref:`sphx_glr_auto_examples_05_glm_second_level_plot_second_level_two_sample_test.py` .. raw:: html
Second-level fMRI model: two-sample test, unpaired and paired
.. raw:: html
.. only:: html .. image:: /auto_examples/05_glm_second_level/images/thumb/sphx_glr_plot_second_level_one_sample_test_thumb.png :alt: :ref:`sphx_glr_auto_examples_05_glm_second_level_plot_second_level_one_sample_test.py` .. raw:: html
Second-level fMRI model: one sample test
.. raw:: html
.. only:: html .. image:: /auto_examples/05_glm_second_level/images/thumb/sphx_glr_plot_second_level_association_test_thumb.png :alt: :ref:`sphx_glr_auto_examples_05_glm_second_level_plot_second_level_association_test.py` .. raw:: html
Example of generic design in second-level models
.. raw:: html
================================ Manipulating brain image volumes ================================ See :ref:`data_manipulation` for more details. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_negate_image_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_negate_image.py` .. raw:: html
Negating an image with math_img
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_compare_mean_image_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_compare_mean_image.py` .. raw:: html
Comparing the means of 2 images
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_smooth_mean_image_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_smooth_mean_image.py` .. raw:: html
Smoothing an image
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_extract_regions_labels_image_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_extract_regions_labels_image.py` .. raw:: html
Breaking an atlas of labels in separated regions
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_resample_to_template_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_resample_to_template.py` .. raw:: html
Resample an image to a template
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_extract_rois_smith_atlas_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_extract_rois_smith_atlas.py` .. raw:: html
Regions Extraction of Default Mode Networks using Smith Atlas
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_nifti_simple_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_nifti_simple.py` .. raw:: html
Simple example of NiftiMasker use
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_extract_rois_statistical_maps_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_extract_rois_statistical_maps.py` .. raw:: html
Region Extraction using a t-statistical map (3D)
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_nifti_labels_simple_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_nifti_labels_simple.py` .. raw:: html
Extracting signals from brain regions using the NiftiLabelsMasker
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_mask_computation_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_mask_computation.py` .. raw:: html
Understanding NiftiMasker and mask computation
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_affine_transformation_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_affine_transformation.py` .. raw:: html
Visualization of affine resamplings
.. raw:: html
.. only:: html .. image:: /auto_examples/06_manipulating_images/images/thumb/sphx_glr_plot_roi_extraction_thumb.png :alt: :ref:`sphx_glr_auto_examples_06_manipulating_images_plot_roi_extraction.py` .. raw:: html
Computing a Region of Interest (ROI) mask manually
.. raw:: html
============================================= Advanced statistical analysis of brain images ============================================= .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_ica_resting_state_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_ica_resting_state.py` .. raw:: html
Multivariate decompositions: Independent component analysis of fMRI
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_localizer_simple_analysis_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_localizer_simple_analysis.py` .. raw:: html
Massively univariate analysis of a calculation task from the Localizer dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_bids_analysis_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_bids_analysis.py` .. raw:: html
BIDS dataset first and second level analysis
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_neurovault_meta_analysis_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_neurovault_meta_analysis.py` .. raw:: html
NeuroVault meta-analysis of stop-go paradigm studies
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_age_group_prediction_cross_val_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_age_group_prediction_cross_val.py` .. raw:: html
Functional connectivity predicts age group
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_surface_bids_analysis_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_surface_bids_analysis.py` .. raw:: html
Surface-based dataset first and second level analysis of a dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_localizer_mass_univariate_methods_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_localizer_mass_univariate_methods.py` .. raw:: html
Massively univariate analysis of a motor task from the Localizer dataset
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_ica_neurovault_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_ica_neurovault.py` .. raw:: html
NeuroVault cross-study ICA maps
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_haxby_mass_univariate_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_haxby_mass_univariate.py` .. raw:: html
Massively univariate analysis of face vs house recognition
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_advanced_decoding_scikit_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_advanced_decoding_scikit.py` .. raw:: html
Advanced decoding using scikit learn
.. raw:: html
.. only:: html .. image:: /auto_examples/07_advanced/images/thumb/sphx_glr_plot_beta_series_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_advanced_plot_beta_series.py` .. raw:: html
Beta-Series Modeling for Task-Based Functional Connectivity and Decoding
.. raw:: html
================================= Examples for experimental modules ================================= These are examples focused on showcasing experimental features and are subject to change without any notice. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/08_experimental/images/thumb/sphx_glr_plot_surface_image_and_maskers_thumb.png :alt: :ref:`sphx_glr_auto_examples_08_experimental_plot_surface_image_and_maskers.py` .. raw:: html
A short demo of the surface images & maskers
.. raw:: html
.. toctree:: :hidden: :includehidden: /auto_examples/00_tutorials/index.rst /auto_examples/01_plotting/index.rst /auto_examples/02_decoding/index.rst /auto_examples/03_connectivity/index.rst /auto_examples/04_glm_first_level/index.rst /auto_examples/05_glm_second_level/index.rst /auto_examples/06_manipulating_images/index.rst /auto_examples/07_advanced/index.rst /auto_examples/08_experimental/index.rst .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_