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

BV data in int_32 format? #21

Open
olafdimigen opened this issue Dec 14, 2022 · 7 comments
Open

BV data in int_32 format? #21

olafdimigen opened this issue Dec 14, 2022 · 7 comments

Comments

@olafdimigen
Copy link

Exported epoched data from BV-Analyzer and would like to read them in with pop_loadbv.
But exported data is in int 32-bit format, which is not supported by pop_loadbv.

[Binary Infos]
BinaryFormat=INT_32
UseBigEndianOrder=NO

Any solution for this? I did not see an option to change export bit range in BVA or to export as float-32.
Any input appreciated.

@arnodelorme
Copy link
Collaborator

Would you mind sharing a file. We will add support if it not too difficult.

@olafdimigen
Copy link
Author

Thanks! Here is a file. Epoched data was apparently exported using Analyzer's GenericDataExport.

https://www.dropbox.com/s/j7mus468a5v4hec/example_BVAexportedData_int32.zip?dl=1

@arnodelorme
Copy link
Collaborator

Would it be OK to add it to our test cases?

@olafdimigen
Copy link
Author

Since it's collaborator data (not my own), I am unfamiliar with exact restrictions, would be better if not added to unit testing cases (sorry)

@arnodelorme
Copy link
Collaborator

arnodelorme commented Dec 14, 2022 via email

@arnodelorme
Copy link
Collaborator

@nucleuscub

@crisglav
Copy link

crisglav commented Feb 2, 2023

I had the same issue. I think the problem would be solved by adding here

case 'ieee_float_32', binformat = 'float32'; bps = 4;

the line
case 'int_32', binformat = 'int32'; bps = 4;

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

No branches or pull requests

3 participants