.CSV file from iOS app example code


#1

Does anyone have suggestions or code examples for capturing raw session data in .csv format for an iOS app? Perhaps an extension to the example code provided by MUSE support? Thanks for the help.


#2

Hi @ctate75,

Please see this discussion here, I provided a basic example to write raw eeg data out a muse file. You can then use our research tool to convert to csv format. However, you need to transfer the file from iOS device to the desktop since the research tool only works on desktops.

If you muse have the file on the iOS device for some reason, you can still use the example but probably need to modify it so that it will write the data out to a txt file in csv format yourself. I’m sure there is probably some library out there that can write data to .csv file for iOS that you could also use.

Hope this helps.