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 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
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 inrelease_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ibl_neuropixel-1.1.3.tar.gz
.
File metadata
- Download URL: ibl_neuropixel-1.1.3.tar.gz
- Upload date:
- Size: 64.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af88ac3937cf20236b7c73587ce3f826ded66f8dbfac16e61bfdae4c515938d4 |
|
MD5 | dfd5254ca80a1efd05970efd45f04b1b |
|
BLAKE2b-256 | f877b9abbef1aad7365f833fa012414c4fc216ba2c726f46663525990f8a6a16 |
File details
Details for the file ibl_neuropixel-1.1.3-py3-none-any.whl
.
File metadata
- Download URL: ibl_neuropixel-1.1.3-py3-none-any.whl
- Upload date:
- Size: 70.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90918ff934f44a5cba137c09cbc72aa820628c9014bf9eb8af2b4d7bced65846 |
|
MD5 | c8acaa8543fe50d4c15f517d2d976a1f |
|
BLAKE2b-256 | 267b29587def6b6f554de84a5ad46a46301222b8f4072ea3a58421201fa9ff48 |