e91c92702b3fed451b9bd7208d0ff7d163765bc3,examples/04_manipulating_images/plot_resample_to_template.py,,,#,16

Before Change



template = load_mni152_template()

localizer_dataset = fetch_localizer_button_task(get_anats=True)

localizer_tmap_filename = localizer_dataset.tmaps[0]
localizer_anat_filename = localizer_dataset.anats[0]

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Now, the localizer t-map image can be resampled to the MNI template image.
from nilearn.image import resample_to_img

After Change



template = load_mni152_template()

motor_images = fetch_neurovault_ids(image_ids=[10426])
stat_img = motor_images.images[0]

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Now, the localizer t-map image can be resampled to the MNI template image.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: nilearn/nilearn
Commit Name: e91c92702b3fed451b9bd7208d0ff7d163765bc3
Time: 2018-07-31
Author: bertrand.thirion@inria.fr
File Name: examples/04_manipulating_images/plot_resample_to_template.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: e91c92702b3fed451b9bd7208d0ff7d163765bc3
Time: 2018-07-31
Author: bertrand.thirion@inria.fr
File Name: examples/01_plotting/plot_demo_more_plotting.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: e91c92702b3fed451b9bd7208d0ff7d163765bc3
Time: 2018-07-31
Author: bertrand.thirion@inria.fr
File Name: examples/01_plotting/plot_demo_plotting.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: e91c92702b3fed451b9bd7208d0ff7d163765bc3
Time: 2018-07-31
Author: bertrand.thirion@inria.fr
File Name: examples/04_manipulating_images/plot_resample_to_template.py
Class Name:
Method Name: