Skip to content

Python code to read BioSemi 24 bit EEG files.

Notifications You must be signed in to change notification settings

igmmgi/biosemipy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

biosemipy

Python code for BioSemi 24 bit EEG files. A dataviewer written using PyQt6/pyqtgraph allows visualisation of the *.bdf files.

Installation

git clone https://github.com/igmmgi/biosemipy.git

pip install -e biosemipy

biosemipy.bdf

read
write
merge
crop
decimate
delete_channels
select_channels
channel_difference

dataviewer gui

Basic example biosemipy.bdf

# bdf file class
from biosemipy import bdf

dat1 = bdf.BDF("filename1.bdf")
dat2 = bdf.BDF("filename2.bdf")

dat1.merge("merged.bdf", dat2)
dat1.write()

Basic example dataviewer from python console

from biosemipy import dataviewer
dataviewer.run()
# or
dataviewer.run("filename.bdf")

Basic examples dataviewer from command line

python -m biosemipy.dataviewer
python -m biosemipy.dataviewer --fname filename1.bdf

Data Viewer GUI

alt text

biosemi.topo

generate_outline
read_layout
interp_data
draw_roi_outline
plot_markers
plot_labels
plot_colorbar
plot_contour_lines
plot_title
plot
show

Basic example biosemipy.topo

from biosemipy.topo import Topo

topo_plt = Topo()
topo_plt.plot()
topo_plt.show()

alt text

About

Python code to read BioSemi 24 bit EEG files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages