lfpack — LFP codec for Neuropixels recordings
Lossy, random-access codec for Neuropixels LFP. A recording is cleaned, decimated to 250 Hz
and denoised, then stored in an HDF5 file of about 1.5 % of the decimated float32 data
(~20 MB per hour of 384-channel NP1) and read back through a drop-in spikeglx.Reader.
pip install lfpack
from lfpack import compress_bin_to_h5, LFPackReader
compress_bin_to_h5("recording.lf.cbin", "recording.lf.h5")
traces = LFPackReader("recording.lf.h5")[0:1000] # (1000, nc) float32, volts
IBL Brain-Wide Map LFP dataset: 699 recordings, session-clock aligned, browsable online. How to access →
viewephys opens lfpack files directly
(viewephys -f recording.h5), with brain-region colouring:
Documentation: https://int-brain-lab.github.io/lfpack/. Questions and bug reports: GitHub issues.
Metadata
Release files for lfpack 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lfpack-1.1.0.tar.gz | 2.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lfpack-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.9 MB
Release files / lfpack-1.1.0.tar.gz
| Download URL | lfpack-1.1.0.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f945940a376ffa662941ccb4117c37e14079190d37d9c08dd9fc3dbd1df64f4b
|
|
BLAKE2b-256 checksum How to use checksums |
513f0149394625f43f0bf428ecadbbb37c4084be94ff891e6673e89375807f89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / lfpack-1.1.0-py3-none-any.whl
| Download URL | lfpack-1.1.0-py3-none-any.whl |
|---|---|
| Size | 31.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05970c9da08eb667a037e1175bbbde69e3922c452148b97c3b8f3761a93c5540
|
|
BLAKE2b-256 checksum How to use checksums |
06f85ac5c0cde88b1770f0a03aadecde5942affd43499861f3d5492ebf546aa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|