EEG Data: .mat to a BIDS standard file type

I am new to working with eeg data, but have been using BIDS for fMRI data for awhile now.
I currently have pipeline that collects data using a physio headset that outputs a .mat file, but I was hoping to convert this file to either .eeg and/or to the EEGLAB format of having a .set file and a .fdt file.
Any help with this would be great!

Thanks!

Hey @Shane_Buckley, you can use the pybv Python software to write your data to the BrainVision format.

Simply read the .mat file using scipy.io.loadmat, or pymatreader, and then write the array to BrainVision using the pybv.write_brainvision function.

1 Like