bsl.utils.io.pcl2fif¶
- bsl.utils.io.pcl2fif(fname, out_dir=None, external_event=None, precision='double', replace=False, overwrite=True)[source]¶
Convert BSL pickle format to MNE Raw format.
- Parameters:
- fnamefile-like
Pickle file path to convert to
.fifformat.- out_dirpath-like
Saving directory. If
None, it will be the directoryfname.parent/'fif'.- external_eventfile-like
Event file path in text format, following MNE event structure. Each row should be:
index 0 event.- precision
str Data matrix format.
[single|double|int|short],'single'improves backward compatibility.- replace
bool If
True, previous events will be overwritten by the new ones from the external events file.- overwrite
bool If
True, overwrite the previous file.