Skip to main content

LFP codec — lossy compression of local-field-potential recordings via adaptive SVD and wavelet-packet thresholding

Project description

lfpack — LFP codec for Neuropixels recordings

IBL Brain-Wide Map LFP dataset — 699 recordings, 384 channels, session-clock aligned. How to access →

lfpack logo

Lossy codec for local-field-potential (LFP) recordings from Neuropixels probes. Achieves >100× compression with median RMSE < 25 µV via an 8-stage pipeline (bad-channel detection → dephasing → highpass → interpolation → CAR → decimation → Cadzow → adaptive SVD + wavelet-packet thresholding).

pip install lfpack

Documentation

Full documentation is at https://int-brain-lab.github.io/lfpack/.

Section Contents
Tutorial End-to-end compression and decompression of a recording
How-To: binned reads Memory-efficient channel-binned access
How-To: multi-recording files Combining multiple recordings in one HDF5 file
API reference Full public API (compress_bin_to_h5, LFPackReader, …)
HDF5 format On-disk layout specification
Pipeline explanation Stage-by-stage description of the compression pipeline
SVD+WP benchmark RMSE, SNR, and compression-ratio results across 11 insertions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lfpack-0.2.0.tar.gz (10.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lfpack-0.2.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file lfpack-0.2.0.tar.gz.

File metadata

  • Download URL: lfpack-0.2.0.tar.gz
  • Upload date:
  • Size: 10.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lfpack-0.2.0.tar.gz
Algorithm Hash digest
SHA256 378a6835a694939a2c357cc3ca9dc90ce0b758cfd81ed3f1f1e654cad5705bfa
MD5 5968176909507e9d9e1b9b4f8601aae2
BLAKE2b-256 001b8938469ea1f097cded510dbbb8394ea92f34576872a11fedd394fa628f7b

See more details on using hashes here.

File details

Details for the file lfpack-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: lfpack-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lfpack-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acef01725b62b8dbdc3aa220f1b02b459fd4c73de719bc2f86d800340fd6db4c
MD5 71c46ee46caceb2cbe2c95ce65812000
BLAKE2b-256 fdc130259b73766b7c5e2ad1958263ab7fd894d0bd1c26d391c81a7f00328229

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page