Load and read .xdf file generated by LSL
Simple wrapper of pyxdf
pip install pyxdf
download read_xdf.py
tested on Python=3.9.2 and pyxdf=1.16.3
Clone repository to folders
from read_xdf import read_xdf
results, raw_data = read_xdf(path_to_xdf_file)
Returns:
results: dict of information with stream_names as keys.
raw : The raw data returned by pyxdf.
(Incase the information you are looking for is not included in data)