lfpack — LFP codec for Neuropixels recordings
Lossy, random-access codec for Neuropixels LFP. A recording is cleaned, decimated to 250 Hz
and Cadzow-denoised (the latest ibl-neuropixel settings, on by default), 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 in three tiers (7.7, 14.9 and 31.9 GB), 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.2.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 | Provenance | Actions |
|---|---|---|---|---|
| lfpack-1.2.0.tar.gz | 2.0 MB | Without provenance | Details for lfpack-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lfpack-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for lfpack-1.2.0-py3-none-any.whl |
Total release size: 2.0 MB
Release files / lfpack-1.2.0.tar.gz
| Download URL | lfpack-1.2.0.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d634ca1087099c6be62af90720d7c5eb7a25d3c3911b2b1b9828c6f8af054c41
|
|
BLAKE2b-256 checksum How to use checksums |
9780e1a10270a7f258f88b36375864668a6b3eee99425e0ab67470710980a028
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / lfpack-1.2.0-py3-none-any.whl
| Download URL | lfpack-1.2.0-py3-none-any.whl |
|---|---|
| Size | 33.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8299d6b74fdf67976d9188f05eef5844c64722ae359bb742e9a1a3e2d238c996
|
|
BLAKE2b-256 checksum How to use checksums |
3efb4ecc777d5f94b482c3c653be9f949ed7edec3117e980737ea8f36925d670
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for lfpack 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.