[Mne_analysis] Overwriting data in raw fif file

Gladia Hotan gladiach at gmail.com
Mon Jul 17 13:21:39 EDT 2017
Search archives:

Hi,

I have some data saved in a matlab array that I'd like to do source
localization on. I was thinking of replacing the data in an existing raw
fif file (created in mne-python by reading in a brainvision file) with the
matlab data, so that the subject-specific info and other parameters in the
mne raw object will be preserved. I'm doing this using:

rawcopy = raw.copy()
rawcopy._data = matlabdata

I noticed that raw._data is in a 'memmap' format, whereas matlab data read
into Python is in the 'array' format. Is it ok to replace the memmap data
with the array data as I'm doing above, or will it cause processing
problems? What's the difference between the memmap and array formats?

Thanks and Best Regards,
Gladia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170717/71633ac0/attachment.html 


More information about the Mne_analysis mailing list