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

SD Card Hex to Standard Text File Conversion script #1014

Open
retiutut opened this issue Nov 27, 2021 · 4 comments
Open

SD Card Hex to Standard Text File Conversion script #1014

retiutut opened this issue Nov 27, 2021 · 4 comments

Comments

@retiutut
Copy link
Member

retiutut commented Nov 27, 2021

Is your feature request related to a problem? Please describe.

Some users would appreciate an SD card Hex to human-readable text file for Cyton created files.

Maybe the files should look like the OpenBCI CSV files exactly, mimicking the header information. Something in the script would also need to determine if a Cyton or Cyton Daisy was used.

Describe the solution you'd like

Do this in Python. Shouldn't be that complicated or difficult to run.

Describe alternatives you've considered

Current GUI reads straight from Hex values. Though, some users would like to maybe have a human-readable CSV file that can be used in the GUI or with another program.

There used to be a conversion script in GUI 4.2.0, maybe we should not point users to this, since the data CSV format changed from GUI v4 to GUI v5

Additional context

https://openbci.com/forum/index.php?p=/discussion/1653/script-to-convert-sd-card-file#latest

@retiutut
Copy link
Member Author

retiutut commented Jan 5, 2023

@Shyamal-Dharia
Copy link

Hi, if possible I wanted to request you to prioritize this issue.
Thanks

@wjcroft
Copy link

wjcroft commented Oct 18, 2023

Yet another Forum user asking for this feature,

https://openbci.com/forum/index.php?p=/discussion/1653/script-to-convert-sd-card-file#latest

@wjcroft
Copy link

wjcroft commented Nov 7, 2024

So to summarize the current November 2024 status. User roflecopter has created a Python conversion script, done in January 2024. This creates a BDF (not CSV), but EDFBrowser could be used to convert BDF to CSV. And script could probably be modded to produce CSV directly.

https://github.com/roflecopter/openbci-session
https://github.com/roflecopter/openbci-session/blob/main/sd_convert.py

And user @Shyamal-Dharia has a GUI / Processing PR that will add a sd file convert feature to the GUI. Also completed and tested January 2024.

#1207

I believe both these conversion features should be made available to Cyton users. What is the next step? @retiutut @philippitts

Regards,

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

No branches or pull requests

4 participants