# mne\_analyze question

**URL:** <https://mne.discourse.group/t/mne-analyze-question/694>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [March 14, 2014, 6:35pm UTC](https://mne.discourse.group/t/mne-analyze-question/694 "2014-03-14T18:35:59Z")\
**Posts on this page:** 4\
**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:** [March 14, 2014, 6:35pm UTC](https://mne.discourse.group/t/mne-analyze-question/694/1 "2014-03-14T18:35:59Z")

</div>

MNE Experts,  
Our group is working with some old MEG data from 2012. Just started a week or so ago with MNE software and I'm having issues exporting the dSPM source reconstruction to an .mgz (or .nii) file. Also, after that has been solved, if one can only export the dSPM data to an .mgz/mgh file, is there a command for converting to .nii format? Very new to this, I appreciate your help.  
Thank you,  
Franklin  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20140314/3f8727bf/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140314/3f8727bf/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:** [March 14, 2014, 6:53pm UTC](https://mne.discourse.group/t/mne-analyze-question/694/2 "2014-03-14T18:53:01Z")

</div>

The dspm source reconstruction is 4 dimensional data on a surface.  
While technically there is some support for this in the mgz format it  
is not well optimized for MEG source reconstructions, and it is  
therefore not supported to convert (so far as I know). Additionally  
there is no support for surfaces in nifti (though there is the gifti  
format, but I don't know if giftis can support time data in them). We  
can probably help you much better if you tell us what you want to do  
with the source reconstructions. All of the MNE formats (stc is  
probably what you are talking about here) are fully readable by both  
MATLAB and python, so we should be able to help you take the next step  
with your analysis.

HTH  
D

---

<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:** [March 14, 2014, 7:13pm UTC](https://mne.discourse.group/t/mne-analyze-question/694/3 "2014-03-14T19:13:39Z")

</div>

Hi Franklin,

Please keep the list cced so everyone can follow. Well, the MNE matlab  
toolbox included can read in the STCs. From there you should be able  
to run an ICA on that data fairly easily. I'm not familiar with either  
GIFT or GICA, so it will be hard for me to point you in the right  
direction there (though if anyone here has a suggestion please chip  
in). Otherwise, you can describe to their mailing list the data that  
you have (i.e. a matrix in matlab of sources x time (with the sources  
being located on a cortical surface)) and see if they can help with  
the next step.

HTH,  
D

---

<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:** [March 14, 2014, 7:23pm UTC](https://mne.discourse.group/t/mne-analyze-question/694/4 "2014-03-14T19:23:44Z")

</div>

Hi D,  
Right, I've done an export to stc from mne\_make\_movie and then opened it up using the matlab package. Thank you for the suggestions.  
-Franklin
