Hi Ismail,
Some time ago we actually moved the trf2csv library into PyMedPhys (
https://github.com/pymedphys/pymedphys/) away from GitLab. The documentation for converting trf files into csv files via the command line tool can be found at
https://docs.pymedphys.com/ref/cli/trf.html
Before being able to use that command line tool you'll need to follow the installation instructions at
https://docs.pymedphys.com/howto/get-started.html.
The gist of the docs above are that to install you first need to install Python version 3.7 or higher (making sure to add to path), then in a new terminal/command prompt run:
pip install pymedphys
This will install pymedphys with all the batteries included. If you want to just use pymedphys for trf conversion only, you can have a smaller install by running:
pip install numpy pandas
pip install pymedphys --no-deps
After you have installed pymedphys, open a fresh terminal/command prompt, navigate to a directory where you have some trf files and then run:
pymedphys trf to-csv *.trf
Hopefully this helps,
Cheers,
Simon
--
You received this message because you are subscribed to the Google Groups "PyMedPhys" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
pymedphys+...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/pymedphys/9838db24-4e4a-4f89-8547-9c6750fb0d81%40googlegroups.com.