:orphan: .. _sphx_glr_auto_examples: Nistats usage 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 nistats manually, make sure you have followed :ref:`the instructions `. .. contents:: **Contents** :local: :depth: 1 .. raw:: html
.. _sphx_glr_auto_examples_01_tutorials: Tutorial examples ----------------- These are examples with detailed explanations to showcase how to perform an fMRI first and second level analysis in arbitrary datasets and BIDS datasets. .. raw:: html
.. only:: html .. figure:: /auto_examples/01_tutorials/images/thumb/sphx_glr_plot_single_subject_single_run_thumb.png :ref:`sphx_glr_auto_examples_01_tutorials_plot_single_subject_single_run.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/01_tutorials/plot_single_subject_single_run .. raw:: html
.. only:: html .. figure:: /auto_examples/01_tutorials/images/thumb/sphx_glr_plot_first_level_model_details_thumb.png :ref:`sphx_glr_auto_examples_01_tutorials_plot_first_level_model_details.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/01_tutorials/plot_first_level_model_details .. raw:: html
.. _sphx_glr_auto_examples_02_first_level_models: First level analysis examples ------------------------------ These are examples focused on showcasing first level models functionality and single subject analysis. .. raw:: html
.. only:: html .. figure:: /auto_examples/02_first_level_models/images/thumb/sphx_glr_plot_fixed_effects_thumb.png :ref:`sphx_glr_auto_examples_02_first_level_models_plot_fixed_effects.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/02_first_level_models/plot_fixed_effects .. raw:: html
.. only:: html .. figure:: /auto_examples/02_first_level_models/images/thumb/sphx_glr_plot_adhd_dmn_thumb.png :ref:`sphx_glr_auto_examples_02_first_level_models_plot_adhd_dmn.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/02_first_level_models/plot_adhd_dmn .. raw:: html
.. only:: html .. figure:: /auto_examples/02_first_level_models/images/thumb/sphx_glr_plot_fir_model_thumb.png :ref:`sphx_glr_auto_examples_02_first_level_models_plot_fir_model.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/02_first_level_models/plot_fir_model .. raw:: html
.. only:: html .. figure:: /auto_examples/02_first_level_models/images/thumb/sphx_glr_plot_spm_multimodal_faces_thumb.png :ref:`sphx_glr_auto_examples_02_first_level_models_plot_spm_multimodal_faces.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/02_first_level_models/plot_spm_multimodal_faces .. raw:: html
.. only:: html .. figure:: /auto_examples/02_first_level_models/images/thumb/sphx_glr_plot_fiac_analysis_thumb.png :ref:`sphx_glr_auto_examples_02_first_level_models_plot_fiac_analysis.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/02_first_level_models/plot_fiac_analysis .. raw:: html
.. only:: html .. figure:: /auto_examples/02_first_level_models/images/thumb/sphx_glr_plot_bids_features_thumb.png :ref:`sphx_glr_auto_examples_02_first_level_models_plot_bids_features.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/02_first_level_models/plot_bids_features .. raw:: html
.. only:: html .. figure:: /auto_examples/02_first_level_models/images/thumb/sphx_glr_plot_predictions_residuals_thumb.png :ref:`sphx_glr_auto_examples_02_first_level_models_plot_predictions_residuals.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/02_first_level_models/plot_predictions_residuals .. raw:: html
.. only:: html .. figure:: /auto_examples/02_first_level_models/images/thumb/sphx_glr_plot_localizer_surface_analysis_thumb.png :ref:`sphx_glr_auto_examples_02_first_level_models_plot_localizer_surface_analysis.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/02_first_level_models/plot_localizer_surface_analysis .. raw:: html
.. _sphx_glr_auto_examples_03_second_level_models: Second level analysis examples ------------------------------ These are examples focused on showcasing second level models functionality and group level analysis. .. raw:: html
.. only:: html .. figure:: /auto_examples/03_second_level_models/images/thumb/sphx_glr_plot_proportion_activated_voxels_thumb.png :ref:`sphx_glr_auto_examples_03_second_level_models_plot_proportion_activated_voxels.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/03_second_level_models/plot_proportion_activated_voxels .. raw:: html
.. only:: html .. figure:: /auto_examples/03_second_level_models/images/thumb/sphx_glr_plot_second_level_two_sample_test_thumb.png :ref:`sphx_glr_auto_examples_03_second_level_models_plot_second_level_two_sample_test.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/03_second_level_models/plot_second_level_two_sample_test .. raw:: html
.. only:: html .. figure:: /auto_examples/03_second_level_models/images/thumb/sphx_glr_plot_thresholding_thumb.png :ref:`sphx_glr_auto_examples_03_second_level_models_plot_thresholding.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/03_second_level_models/plot_thresholding .. raw:: html
.. only:: html .. figure:: /auto_examples/03_second_level_models/images/thumb/sphx_glr_plot_oasis_thumb.png :ref:`sphx_glr_auto_examples_03_second_level_models_plot_oasis.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/03_second_level_models/plot_oasis .. raw:: html
.. only:: html .. figure:: /auto_examples/03_second_level_models/images/thumb/sphx_glr_plot_second_level_one_sample_test_thumb.png :ref:`sphx_glr_auto_examples_03_second_level_models_plot_second_level_one_sample_test.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/03_second_level_models/plot_second_level_one_sample_test .. raw:: html
.. only:: html .. figure:: /auto_examples/03_second_level_models/images/thumb/sphx_glr_plot_second_level_association_test_thumb.png :ref:`sphx_glr_auto_examples_03_second_level_models_plot_second_level_association_test.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/03_second_level_models/plot_second_level_association_test .. raw:: html
.. _sphx_glr_auto_examples_04_low_level_functions: Low level function examples ---------------------------- These are examples focused on showcasing low level functionality like design matrix creation, HRF functions and others. .. raw:: html
.. only:: html .. figure:: /auto_examples/04_low_level_functions/images/thumb/sphx_glr_plot_second_level_design_matrix_thumb.png :ref:`sphx_glr_auto_examples_04_low_level_functions_plot_second_level_design_matrix.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/04_low_level_functions/plot_second_level_design_matrix .. raw:: html
.. only:: html .. figure:: /auto_examples/04_low_level_functions/images/thumb/sphx_glr_plot_hrf_thumb.png :ref:`sphx_glr_auto_examples_04_low_level_functions_plot_hrf.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/04_low_level_functions/plot_hrf .. raw:: html
.. only:: html .. figure:: /auto_examples/04_low_level_functions/images/thumb/sphx_glr_write_events_file_thumb.png :ref:`sphx_glr_auto_examples_04_low_level_functions_write_events_file.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/04_low_level_functions/write_events_file .. raw:: html
.. only:: html .. figure:: /auto_examples/04_low_level_functions/images/thumb/sphx_glr_plot_design_matrix_thumb.png :ref:`sphx_glr_auto_examples_04_low_level_functions_plot_design_matrix.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/04_low_level_functions/plot_design_matrix .. raw:: html
.. _sphx_glr_auto_examples_05_complete_examples: Complete examples ----------------- Complete step-by-step examples, including First and Second Level Models. .. raw:: html
.. only:: html .. figure:: /auto_examples/05_complete_examples/images/thumb/sphx_glr_plot_bids_analysis_thumb.png :ref:`sphx_glr_auto_examples_05_complete_examples_plot_bids_analysis.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/05_complete_examples/plot_bids_analysis .. raw:: html
.. only:: html .. figure:: /auto_examples/05_complete_examples/images/thumb/sphx_glr_plot_surface_bids_analysis_thumb.png :ref:`sphx_glr_auto_examples_05_complete_examples_plot_surface_bids_analysis.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/05_complete_examples/plot_surface_bids_analysis .. raw:: html
.. only:: html .. figure:: /auto_examples/05_complete_examples/images/thumb/sphx_glr_plot_haxby_block_classification_thumb.png :ref:`sphx_glr_auto_examples_05_complete_examples_plot_haxby_block_classification.py` .. raw:: html
.. toctree:: :hidden: /auto_examples/05_complete_examples/plot_haxby_block_classification .. raw:: html
.. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-gallery .. container:: sphx-glr-download :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_