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

Lau Møller Andersen lau.andersen at cnru.dk
Mon Apr 6 04:31:00 EDT 2020
Search archives:

        External Email - Use Caution        

Thanks, Eric - it indeed solved my issue

All the best

Lau

Den 03.04.2020 kl. 19.58 skrev Eric Larson:
>
>         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 <mailto: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
>     <mailto:Mne_analysis at nmr.mgh.harvard.edu>
>     https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> _______________________________________________
> 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/20200406/f8a3a759/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/20200406/f8a3a759/attachment-0001.png 


More information about the Mne_analysis mailing list