Skip to content

Commit

Permalink
v2.3.1: fix CLI arg config
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jun 2, 2024
1 parent 678b605 commit ee1f513
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion muselsl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .stream import stream, list_muses
from .record import record, record_direct
from .view import view
__version__ = "2.3.0"
__version__ = "2.3.1"
8 changes: 7 additions & 1 deletion muselsl/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def main():
list List available Muse devices.
-b --backend BLE backend to use. can be auto, bluemuse, gatt or bgapi.
-i --interface The interface to use, 'hci0' for gatt or a com port for bgapi.
-l --log Set the logging level
stream Start an LSL stream from Muse headset.
-a --address Device MAC address.
Expand All @@ -20,8 +21,13 @@ def main():
-p --ppg Include PPG data
-c --acc Include accelerometer data
-g --gyro Include gyroscope data
-l --log Set the logging level
-r --retries How many times to retry connecting to the device on a failed attempt
--disable-eeg Disable EEG data
--disable-light Turn off light on the Muse S headband'
--lsltime Use pylsl's local_clock() for timestamps instead of Python's time.time()
--preset Select preset which dictates data channels to be streamed
view Visualize EEG data from an LSL stream.
-w --window Window length to display in seconds.
-s --scale Scale in uV.
Expand Down
2 changes: 1 addition & 1 deletion muselsl/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def stream(self):
"--retries",
default=1,
dest='retries',
action="store_true",
type=int,
help="How many times to retry connecting to the device on a failed attempt")
parser.add_argument(
'-l',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def copy_docs():

setup(
name="muselsl",
version="2.3.0",
version="2.3.1",
description="Stream and visualize EEG data from the Muse headset.",
keywords="muse lsl eeg ble neuroscience",
url="https://github.com/alexandrebarachant/muse-lsl/",
Expand Down

0 comments on commit ee1f513

Please sign in to comment.