-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Comments
Currently, exporting to EEGLAB always writes double precision floats.
However, @arnodelorme <https://github.com/arnodelorme> mentioned in #11013
<#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.
both work for me.
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?
I don't think it's a sustainable strategy. It also slows down releases for
eeglabio. I would suggest to have a more active set of maintainers in
eeglabio
… Message ID: ***@***.***>
|
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. |
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). |
Closing for eeglab |
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?The text was updated successfully, but these errors were encountered: