Skip to content

Latest commit

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

LSLKit

Python library to help write Python code that interacts with Lab Streaming layer

Replay From File

As a library

fromlslkit.componentsimportoutletsfile_out=outlets.FileReplayOutlet('my_lab_time_series.mat', stream_type='EEG',
srate=300, data_key='eeg')
file_out.begin()

From the Command line

python -m lslkit.replay_from_file --file-path=my_lab_time_series.mat --data-key=eeg --stream-type=EEG --sample-rate=300 --chunksize=1

Processing a stream

fromlslkit.componentsimportprocessorproc_f=lambda_df: _df.mean()
# Find a matching stream and build a processor around itproc=processor.ProcessStream.from_resolve(proc_f, 'emg', max_buflen=512)
# Pull data until each dataframe has the required_size samplesproc.begin(required_size=51)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages