.. _nistats_migration: =================================================== A Quick Guide to Migrating Nistats Code to Nilearn =================================================== A quick guide to changing your Nistats imports to work in Nilearn Datasets ======== Imports from `nistats.datasets `_ are in :mod:`nilearn.datasets` Hemodynamic Models ================== Imports from `nistats.hemodynamic_models `_ are in :mod:`nilearn.glm.first_level` Design matrix ============= Most imports from `nistats.design_matrix `_ are in :mod:`nilearn.glm.first_level` `nistats.design_matrix.make_second_level_design_matrix `_ is in :mod:`nilearn.glm.second_level` Experimental Paradigm ===================== Imports from `nistats.experimental_paradigm `_ are in :mod:`nilearn.glm.first_level` Statistical Models ================== Imports from `nistats.model `_ are now in :mod:`nilearn.glm` Regression Models ================= Imports from `nistats.regression `_ are in :mod:`nilearn.glm` First Level Model ================= Imports from `nistats.first_level `_ are in :mod:`nilearn.glm.first_level` Second Level Model ================== Imports from `nistats.second_level `_ are in :mod:`nilearn.glm.second_level` Contrasts ========= imports from `nistats.contrasts `_ are in :mod:`nilearn.glm` Thresholding Maps ================= Imports from `nistats.thresholding `_ are in :mod:`nilearn.glm` Report plotting functions ========================== Imports from `nistats.reporting `_ are in :mod:`nilearn.reporting` or :mod:`nilearn.plotting` Utility functions ================= Imports from `nistats.utils `_ are in `nilearn._utils` and are usually meant for development purposes.