[Mne_analysis] Potential bug with complex128 being loaded as float64 in mne.read_epochs when preload=False

Eric Larson larson.eric.d at gmail.com
Fri Apr 3 13:58:16 EDT 2020
Search archives:

        External Email - Use Caution        

This indeed looks like a bug. Can you see if this PR fixes your issue?

https://github.com/mne-tools/mne-python/pull/7560

Eric


On Fri, Apr 3, 2020 at 8:40 AM Lau Møller Andersen <lau.andersen at cnru.dk>
wrote:

>         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
> 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/20200403/901980c0/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ampjadnjegjilfoi.png
Type: image/png
Size: 147090 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200403/901980c0/attachment-0001.png 


More information about the Mne_analysis mailing list