Skip to main content

oephys2nwb: Export Open Ephys binary data to NWB 2.x

Summary

This package can be used to export data saved in Open Ephys binary format (the default for the Open Ephys GUI) to the NWB 2.0 format. At the time of writing the NWBFormat plugin of Open Ephys only supports the deprecated NWB 1.0 format specification. The present package is developed and maintained at the Ernst Strüngmann Institute (ESI) gGmbH for Neuroscience in Cooperation with Max Planck Society and released free of charge under the BSD 3-Clause "New" or "Revised" License.

Installation

The package can be installed with pip

pip install esi-oephys2nwb

To get the latest development version, simply clone our GitHub repository and (optionally) create a dedicated conda development environment:

git clone https://github.com/esi-neuroscience/oephys2nwb.git
cd oephys2nwb/
python setup.py --version
conda env create -f oephys2nwb-dev.yml
conda activate oephys2nwb-dev
pip install -e .

Usage

We recommend setting up a dedicated conda environment for oephys2nwb. For general information about conda, please refer to the official documentation.

conda create -n oephys2nwb-env python=3.8 pip
conda activate oephys2nwb-env
pip install esi-oephys2nwb

Alternatively, we provide a conda environment file to automatically install all required dependencies

wget https://raw.githubusercontent.com/esi-neuroscience/oephys2nwb/main/oephys2nwb.yml
conda env create -f oephys2nwb.yml
conda activate oephys2nwb

Once the package is installed the exporter can be used either embedded in Python code or as a stand-alone command line utility.

Command Line

Activate the conda environment the package was installed in and invoke the exporter as follows

conda activate oephys2nwb-env
python -m oephys2nwb -i /path/to/recordingDir -o /path/to/outputFile.nwb

Calling oephys2nwb without arguments prints the function help

python -m oephys2nwb

Python Code

Alternatively, the package can be used like any other Python module

from oephys2nwb import export2nwb

input = "/path/to/recordingDir"
output = "/path/to/outputFile.nwb"

export2nwb(input, output)

Documentation and Contact

To report bugs or ask questions please use our GitHub issue tracker. More usage details and background information is available in our online documentation.

Metadata

Release files for esi-oephys2nwb 0.5

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

Source distribution (sdist)

Source distribution for esi-oephys2nwb 0.5
File Size Uploaded
esi-oephys2nwb-0.5.tar.gz 27.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for esi-oephys2nwb 0.5
File Interpreter ABI Platform
esi_oephys2nwb-0.5-py3-none-any.whl Python 3 none any Details

Total release size: 56.7 kB

Release files / esi-oephys2nwb-0.5.tar.gz

Download URL esi-oephys2nwb-0.5.tar.gz
Size 27.4 kB
Tags Source
SHA-256 checksum
How to use checksums
08588b506514d012f4b85a2f6e602f3793ea8bc990a0cbd54e8f29cf8caa88cd
BLAKE2b-256 checksum
How to use checksums
e8bbc747e4cdd33731ad5d0afeaf720779760237c06339ae0feb807a9e11bf63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / esi_oephys2nwb-0.5-py3-none-any.whl

Download URL esi_oephys2nwb-0.5-py3-none-any.whl
Size 29.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d10e2a441bbaa2d2e9338abb82d94bf9a7961e40d3e6f2010d2acf0512fbbd8
BLAKE2b-256 checksum
How to use checksums
3e855acdbc9bc94de9c85345a7e8001ed85fc6cf4d71214a420617c3b89d3307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.5 This release

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