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

Uploaded Source

Built Distribution

ibl_neuropixel-0.4.0-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ibl-neuropixel-0.4.0.tar.gz
  • Upload date:
  • Size: 43.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for ibl-neuropixel-0.4.0.tar.gz
Algorithm Hash digest
SHA256 07629d0b1a82117fbfc1a359894bd69c7b29f17eceef8b42f3d64e979d815516
MD5 97546d035f368ceec38a1364ecb37a16
BLAKE2b-256 464488d9e105f4995850a6b9a23f8847771a17eef203d8e07cbe07c27b9e8d88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ibl_neuropixel-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69ab01ad75b15491a85ae9bfa898f586b55d564a277394a4bf80a34fd8614c32
MD5 fc4db54d0ea3e9d00a688be40cea6c6f
BLAKE2b-256 b154ca1ef05292cfe9f58dc1038e541c10f3e4ffd0a1c73cde121bd4f3d6717e

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