Skip to content

Releases: mne-tools/mne-lsl

1.1.1

21 Nov 15:23
Compare
Choose a tag to compare

Full Changelog: 1.1.0...1.1.1

1.1.0

20 Nov 14:02
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.0...1.1.0

Please report encountered issues on the tracker.

1.0.0

16 Oct 09:19
Compare
Choose a tag to compare

Initial release of mne-lsl for Python 3.9 to 3.12. MNE-LSL integrates tightly LSL streams with MNE-Python. It replaces the LSLClient in mne_realtime with 2 main objects:

  • mne_lsl.stream.StreamLSL: connects to an LSL stream and acts as a Raw object which underlying data array is a ringbuffer continuously updated.
  • mne_lsl.player.PlayerLSL: create a fake LSL stream from any MNE-readable file.
player = mne_lsl.player.PlayerLSL(...)
player.start()
stream = mne_lsl.stream.StreamLSL(...)
stream.connect()
stream.pick("eeg")
stream.set_eeg_reference("average")
data, ts = stream.get_data()
stream.disconnect()
player.stop()

Additionally, the low-level mne_lsl.lsl module re-implements a faster version of pylsl with convenience methods to set and retrieve metadata, for instance from an mne.Info object.

sinfo = mne_lsl.lsl.StreamInfo(...)
sinfo.set_channel_info(info)
info = sinfo.get_channel_info()

Please report encountered issues on the tracker.