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

Minimum Python version supported is 3.10 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 ibldsp.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 destripe 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:

  • Edit the version number in setup.py, and add release notes in release_notes.md
flake8
tag=X.Y.Z
git tag -a $tag 
git push origin %tag

Create new release with tag X.Y.Z (will automatically publish to PyPI)

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-1.5.0.tar.gz (266.7 kB view details)

Uploaded Source

Built Distribution

ibl_neuropixel-1.5.0-py3-none-any.whl (98.8 kB view details)

Uploaded Python 3

File details

Details for the file ibl_neuropixel-1.5.0.tar.gz.

File metadata

  • Download URL: ibl_neuropixel-1.5.0.tar.gz
  • Upload date:
  • Size: 266.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for ibl_neuropixel-1.5.0.tar.gz
Algorithm Hash digest
SHA256 4c4a5e08dc4a21209a79b0c0044cbab32e0602efe25ec23b2fbf175d2ad44e66
MD5 3658116acb0653114f4e3b6cf226a4aa
BLAKE2b-256 49b187d653eb9dfe8e56c42ecbc1a59120d2a69fe00d176524571f2f76816f98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ibl_neuropixel-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e37a62098802c89088ddad846c1a1f1805341e271ac6be46f8f2a39118ae921
MD5 7cbe07785221b1c18298ef509eee1a5e
BLAKE2b-256 38e8653e117034e47868bebdf53862a2506c07b048d1b653cbf0c981dbdb0783

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