Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to EEGLAB should support single and double precision #11015

Closed
cbrnr opened this issue Aug 8, 2022 · 5 comments
Closed

Export to EEGLAB should support single and double precision #11015

cbrnr opened this issue Aug 8, 2022 · 5 comments
Labels

Comments

@cbrnr
Copy link
Contributor

cbrnr commented Aug 8, 2022

Currently, exporting to EEGLAB always writes double precision floats. However, @arnodelorme mentioned in #11013, the EEGLAB default is actually single precision. Therefore, we should introduce a new parameter precision with two possible options "single" and "double". I'm not sure what the default should be, probably "double" to be on the safe side.

This should probably be implemented in eeglabio. Speaking of which, I wanted to suggest to include the code in MNE-Python directly to make things easier for us. I know we discussed outsourcing this to minimize maintenance costs for us, but this is not really the case. I actually think that maintenance will be easier if we have this code in our package. WDYT?

@agramfort
Copy link
Member

agramfort commented Aug 8, 2022 via email

@jackz314
Copy link
Contributor

jackz314 commented Aug 8, 2022

I only have very limited time to maintain eeglabio due to other projects at hand, so it would be great if more people are willing to help maintain it.

@cbrnr
Copy link
Contributor Author

cbrnr commented Aug 9, 2022

I guess for EEGLAB export it is sustainable because it's not as complex as e.g. BrainVision or EDF export (since the format is basically a .MAT file). It would be easier for me to make changes just in one place instead of two.

But you are right that this should probably not happen right now until the API has stabilized (because then I don't expect many breaking changes).

@larsoner
Copy link
Member

Closing for eeglab

@larsoner
Copy link
Member

jackz314/eeglabio#9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants