cpp-lln-lab / CPP_PTB

a set of function to make it easier to create behavioral, EEG, fMRI experiment with psychtoolbox
https://cpp-ptb.readthedocs.io/en/latest/index.html#
MIT License
12 stars 13 forks source link

[ENH] add small script to convert edf files into ASCII files right after the experiment is over #198

Open marcobarilari opened 1 year ago

marcobarilari commented 1 year ago

Is there an existing issue for this?

New feature

Since the output is an `.edf` under-license extension and the below snippet of code works only on windows (and we don't like it), it is nice to take advantage of the windows computer in the MRI and convert it right away in ASCII `.asc`. Then open source pipelines can make a `tsv` version of it.

Code is in matlab, it is ugly and needs reformating. See [here](https://drive.google.com/drive/folders/1IZIszvDCPhtOhW65OthoPekXrfRA8zmX?usp=sharing) for an example, it also requires `edf2asc.exe` and `edfapi.dll`

Unclear documentation

No response