Releases: mne-tools/mne-lsl
Releases · mne-tools/mne-lsl
1.1.1
- Fix parsing of incomplete
StreamInfo
into anmne.Info
object by @mscheltienne in #179 - Remove
pytest
related files from the distribution by @mscheltienne in #180
Full Changelog: 1.1.0...1.1.1
1.1.0
What's Changed
- Remove legacy setup.py by @mscheltienne in #167
- Improve documentation workflow by @mscheltienne in #170
- Add support for 'timestamp' array in a push operation by @mscheltienne in #172
- Add local sphinx-remove-toctrees extension by @mscheltienne in #173
- Improve type-hints by @mscheltienne in #175
- MAINT: Make tests less flaky by @larsoner in #168
- Improve test coverage on load-liblsl and on datasets by @mscheltienne in #176
- Improve test coverage, structure and checks for strean connection in properties by @mscheltienne in #177
- Match argument order between BasePlayer and PlayerLSL by @mscheltienne in #178
New Contributors
Full Changelog: 1.0.0...1.1.0
Please report encountered issues on the tracker.
1.0.0
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 aRaw
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.