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.0.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.0.0.tar.gz | 2.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lfpack-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.3 MB
Release files / lfpack-1.0.0.tar.gz
| Download URL | lfpack-1.0.0.tar.gz |
|---|---|
| Size | 2.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97391124b3ba0f822fedd1ace36b2f90d42bc2cdc41b8953389075e0947e7715
|
|
BLAKE2b-256 checksum How to use checksums |
d048956f65e61b2b30b0f0e396530d892abdab8d8b084c133c614640705a3400
|
| 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.0.0-py3-none-any.whl
| Download URL | lfpack-1.0.0-py3-none-any.whl |
|---|---|
| Size | 30.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee84dcd3ae6627226f8f905447cc578984ee597b20da15f5a2f8401147e206a5
|
|
BLAKE2b-256 checksum How to use checksums |
5c203807e126c9c70559cdf075b3c9be9c9b516a8a14c078a116594e9fe98ef4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|