# read fmri results

**URL:** https://mne.discourse.group/t/read-fmri-results/2322
**Category:** Mailing List Archive (read-only)
**Tags:** list-archive
**Created:** [September 22, 2020, 9:46am UTC](https://mne.discourse.group/t/read-fmri-results/2322 "2020-09-22T09:46:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [September 22, 2020, 9:46am UTC](https://mne.discourse.group/t/read-fmri-results/2322/1 "2020-09-22T09:46:57Z")

</div>

External Email - Use Caution

Hello all,  
I have nifti files with fmri localizer results. I want to use them to  
define ROI for source analysis. How can I read these files to MNE, and  
convert them from volume to surface?  
thanks in advance,  
Noa  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20200922/b92895dc/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200922/b92895dc/attachment.html)

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)
#### Post date: [September 22, 2020, 1:24pm UTC](https://mne.discourse.group/t/read-fmri-results/2322/2 "2020-09-22T13:24:23Z")

</div>

External Email - Use Caution

You probably want to:

1. Use mri\_vol2surf from FreeSurfer  
\<[https://surfer.nmr.mgh.harvard.edu/fswiki/mri\_vol2surf&gt](https://surfer.nmr.mgh.harvard.edu/fswiki/mri_vol2surf&gt);  
2. Read that output with a suitable nibabel function  
\<[Neuroimaging in Python — NiBabel 5.1.0 documentation](https://nipy.org/nibabel/reference/nibabel.freesurfer.html#module-nibabel.freesurfer.io&gt);  
3. Decide which surface vertices to use (e.g., by thresholding the NumPy  
arrays), and  
4. Create a mne.Label \<[https://mne.tools/dev/generated/mne.Label.html&gt](https://mne.tools/dev/generated/mne.Label.html&gt); from  
them

Eric

?On Tue, Sep 22, 2020 at 5:47 AM ??? ??? \<noa1hc at gmail.com\> wrote:?

> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution
> 
> Hello all,  
> I have nifti files with fmri localizer results. I want to use them to  
> define ROI for source analysis. How can I read these files to MNE, and  
> convert them from volume to surface?  
> thanks in advance,  
> Noa
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Mne\_analysis mailing list  
> Mne\_analysis at nmr.mgh.harvard.edu  
> [Mne\_analysis Info Page](https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis)

-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20200922/f919b135/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200922/f919b135/attachment.html)
