I may have found a bug 0.20.0 (only version I tested)
When epochs with complex128 data in it is saved, it gets correctly
loaded as complex when preload=True in mne.read_epochs, but when
subsequently loading it when preload=False, it wrongly is loaded as float64
See the attached reproduction script: (let me know if I should raise it
as an issue)
This indeed looks like a bug. Can you see if this PR fixes your issue?
Eric
External Email - Use Caution
Dear MNE-developers
I may have found a bug 0.20.0 (only version I tested)
When epochs with complex128 data in it is saved, it gets correctly loaded
as complex when preload=True in mne.read_epochs, but when subsequently
loading it when preload=False, it wrongly is loaded as float64
See the attached reproduction script: (let me know if I should raise it as
an issue)
All the best
Lau
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu Mne_analysis Info Page
I may have found a bug 0.20.0 (only version I tested)
When epochs with complex128 data in it is saved, it gets correctly
loaded as complex when preload=True in mne.read_epochs, but when
subsequently loading it when preload=False, it wrongly is loaded
as float64
See the attached reproduction script: (let me know if I should
raise it as an issue)
All the best
Lau
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
<mailto:Mne_analysis at nmr.mgh.harvard.edu> Mne_analysis Info Page
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu Mne_analysis Info Page