Skip to main content

msw-open-ephys

Remote control for Open Ephys GUI v1+ — session naming, recording management, and metadata writing for MSW acquisition workflows.

Install

pip install msw-open-ephys

Or editable from the repo:

pip install -e external/msw-open-ephys

CLI

oe-remote status   --remote-ip 10.0.10.111
oe-remote preview  --remote-ip 10.0.10.111
oe-remote record   --remote-ip 10.0.10.111 --subject m1099 \
                   --acquisition-extension ephys_multi_behavior \
                   --session-extension pxi
oe-remote record   --remote-ip 10.0.10.111 --subject m1099 \
                   --session-extension intan_ttl --child @last
oe-remote stop     --remote-ip 10.0.10.111

Session modes

Mode When OE records to
Standalone no --acquisition-extension, no --child remote/{subject}/{subject__dt__session}/
Parent --acquisition-extension set remote/{subject}/{subject__dt__acq}/{subject__dt__session}/
Child --child ACQ_PATH or --child @last remote/{acq_path}/{subject__dt__session}/

--child @last reuses the acquisition path cached by the most recent parent or record command.

Python API

from msw_open_ephys.controller import OEController
from msw_open_ephys.session import Session

oe = OEController(ip="10.0.10.111")
oe.preview()
oe.configure_recording(parent_directory=r"E:\OE_DATA", base_text="m1099/acq/session")
oe.record()

Integration with MSW

msw run --parent openephys calls the OE REST API directly via murineshiftwork.hardware.parent_session (uses open-ephys-python-tools, not this package). This package provides the oe-remote CLI used to start the acquisition side before launching MSW tasks.

Set open_ephys_url in the setup YAML so MSW can attach automatically:

# msw_configs/setups/setup-npxb.yaml
open_ephys_url: 10.0.10.111

Metadata

Release files for msw-open-ephys 3.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for msw-open-ephys 3.5.0
File Size Uploaded
msw_open_ephys-3.5.0.tar.gz 18.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for msw-open-ephys 3.5.0
File Interpreter ABI Platform
msw_open_ephys-3.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.4 kB

Release files / msw_open_ephys-3.5.0.tar.gz

Download URL msw_open_ephys-3.5.0.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4ceaa4cec0e08cab9430c4fb4caa836d7adde56e0376e9111098d355a3f69e23
BLAKE2b-256 checksum
How to use checksums
b0f3d86301e6cc85d91b14824eb928f7d6958273d1cb503211d7e2f3f33f61cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / msw_open_ephys-3.5.0-py3-none-any.whl

Download URL msw_open_ephys-3.5.0-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba29ae328c83febfd348a23ca5689cd6d4786183d22faf613219a71525b6e4c2
BLAKE2b-256 checksum
How to use checksums
ff0f34ed9948a697a16362e57e9d55dea1095379f4514493e74bb01f025ad697
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

3.5.0 This release

2 release files

3.4.1

2 release files

3.4.0

2 release files

3.3.2

2 release files

3.3.1

2 release files

3.3.0

2 release files

3.2.0

2 release files

3.1.2

2 release files

3.1.1

2 release files

3.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page