Neuropixel Utils

版本 0.3 (51.9 MB) 作者: Daniel J O'Shea
Utilities for managing Neuropixel SpikeGLX datasets, Kilosort2 sorting, waveform extraction and other tools
246.0 次下载
更新时间 2021/12/17

Neuropixel Utils is a toolkit written in Matlab for manipulating datasets collected by SpikeGLX (e.g. imec.ap.bin files) and the results produced by Kilosort / Kilosort 2.

See documentation at https://djoshea.github.io/neuropixel-utils/

Please note that some of this functionality is redundant with the tools found in the Cortex Lab’s spikes repository, authored By Nick Steinmetz, Mush Okun, and others. Here, we prioritize an organized, easy to use, object-oriented approach to accessing, manipulating, and visualizing the data. This reduces the need to worry about metadata.

Neuropixel Utils facilitates the following data processing steps:
- Load and visualize raw neuropixel data from imec.ap.bin and imec.lf.bin files in Matlab
- Write custom pre-processing functions to apply to raw data either by writing a copy of the raw file or modifying it in place, optionally removing specific problematic time windows in the file
- Concatenate multiple Imec data files together while matching the amplifier gains
- Run Kilosort/Kilosort2, and load the results back into Matlab after manual inspection in Phy
- Plot drift maps using code adapted from the spikes repository
- Extract waveforms for each cluster from the raw data, optionally cleaning the snippets by subtracting templates for other clusters spiking during the same time window
- Visualize cluster electrical spiking images in space and cluster locations on the probe
- Determine trial boundaries in the file, and efficiently segment Kilosort results into individual trials

Neuropixel Utils was authored by Daniel J O’Shea (@djoshea) to facilitate precision artifact removal and careful inspection of raw data traces before running Kilosort, as well as post-hoc verification that the artifacts were removed successfully.

引用格式

Daniel J O'Shea (2024). Neuropixel Utils (https://github.com/djoshea/neuropixel-utils/releases/tag/v0.3), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020b
与 R2018b 及更高版本兼容
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Electrophysiology 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
0.3

See release notes for this release on GitHub: https://github.com/djoshea/neuropixel-utils/releases/tag/v0.3

0.2

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库