Skip to main content

Collection of tools for Neuropixel 1.0 and 2.0 probes data

Project description

ibl-neuropixel

Collection of tools to handle Neuropixel 1.0 and 2.0 data (documentation coming soon...)

Installation

pip install ibl-neuropixel

Destriping

Getting started

This relies on a fast fourier transform external library: pip install pyfftw.

Minimal working example to destripe a neuropixel binary file.

from pathlib import Path
from neurodsp.voltage import decompress_destripe_cbin
sr_file = Path('/datadisk/Data/spike_sorting/pykilosort_tests/imec_385_100s.ap.bin')
out_file = Path('/datadisk/scratch/imec_385_100s.ap.bin')

decompress_destripe_cbin(sr_file=sr_file, output_file=out_file, nprocesses=8)

Viewer

The best way to look at the results is to use viewephys, open an ephys viewer on the raw data.

  • tick the destipe box.
  • move to a desired location in the file
  • ctr+P will make the gain and axis the same on both windows

alt text

You can then move within the raw data file.

White Paper

The following describes the methods implemented in this repository. https://doi.org/10.6084/m9.figshare.19705522

Contribution

Pypi Release checklist:

flake8
rm -fR dist
rm -fR build
python setup.py sdist bdist_wheel
twine upload dist/*
#twine upload --repository-url https://test.pypi.org/legacy/ dist/*

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

ibl-neuropixel-0.2.1.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

ibl_neuropixel-0.2.1-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file ibl-neuropixel-0.2.1.tar.gz.

File metadata

  • Download URL: ibl-neuropixel-0.2.1.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for ibl-neuropixel-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8c44df0a02c14866926c3cdb910be0ed5c9c7441d5a6b6ff1445aed1788c7776
MD5 ba9d1a6496a630343bf152e705eaf0d7
BLAKE2b-256 cb184b89ff2b1c4fec4be77dadd908dfa37880286a3bd40cd6d7a136c397ac15

See more details on using hashes here.

File details

Details for the file ibl_neuropixel-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ibl_neuropixel-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for ibl_neuropixel-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 069c7cf808dccd8eb7a25e6fce6f92794294b2f6e788fdb71ac73317d8b50c4b
MD5 3cd853c0c774d0949288b3fa29606616
BLAKE2b-256 ae2be4dd6e42ee727bc94a8078ebc1a898c8f783abcb205973f1ed8ae1cf51e6

See more details on using hashes here.

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