Skip to main content

NWB conversion scripts and tutorials.

Project description

movshon-lab-to-nwb

PyPI version

NWB conversion scripts and tutorials. A collaboration with Movshon Lab.

  • Blackrock processing through SpikeInterface
  • Blackrock conversion to NWB
  • OpenEphys processing through SpikeInterface
  • OpenEphys conversion to NWB
  • SpikeGLX processing through SpikeInterface
  • SpikeGLX conversion to NWB
  • Expo conversion to NWB

Install

To clone the repository and set up a conda environment, do:

$ git clone https://github.com/catalystneuro/movshon-lab-to-nwb
$ conda env create -f movshon-lab-to-nwb/make_env.yml
$ source activate env_movshon

Alternatively, to install directly in an existing environment:

$ pip install movshon-lab-to-nwb

Spike sorting

SpikeInterface examples for each experiment can be found in tutorials.

Check SpikeInterface documentation for a list of available spike sorters and how to install them.

NWB conversion

After activating the correct environment, the conversion function can be used in different forms:

1. Imported and run from a python script:
Detailed and simple examples for each experiment can be found in tutorials

2. Graphical User Interface:
To use the GUI, first install nwb-web-gui:

$ pip install nwb-web-gui

The GUI can be run from the terminal:

$ nwbgui-movshon [experiment_name]

Current options for experiment names are: blackrock, openephys, and spikeglx. The NWB Web GUI should open in your browser. If it does not open automatically (and no error messages were printed in your terminal), just open your browser and navigate to localhost:5000.

The GUI eases the task of editing the metadata of the resulting nwb file, it is integrated with the conversion module (conversion on-click) and allows for quick visual exploration the data in the end file with nwb-jupyter-widgets.

4. Tutorial:
At tutorials you can also find Jupyter notebooks with the step-by-step process of conversion.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

movshon_lab_to_nwb-0.1.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

movshon_lab_to_nwb-0.1.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file movshon_lab_to_nwb-0.1.1.tar.gz.

File metadata

  • Download URL: movshon_lab_to_nwb-0.1.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

File hashes

Hashes for movshon_lab_to_nwb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 519ac38782ce4aed804f9db9c25a9c0a188521326637d8165d84b227a382018a
MD5 6fb013278bb6ee5b3334192538e78ce9
BLAKE2b-256 99f3c30b9ffc87dd0e7aaf5a59713682527bcecfc5ca4f9371007bed6e4ddae6

See more details on using hashes here.

Provenance

File details

Details for the file movshon_lab_to_nwb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: movshon_lab_to_nwb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

File hashes

Hashes for movshon_lab_to_nwb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f2b611c1eea72aa58917fd24c5f16ae36edd2ccd49f6c257a5070e3d7373c2a
MD5 985b3e3c33f10dddeadb53ca7541884b
BLAKE2b-256 460baac6657fffa493a3cfe11ab5c478e4512a80ce7684b454cf952cae082d3d

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page