Skip to main content

Mirror Fractal Codec — lossless compression for neuromorphic event camera data

Project description

Mirror Fractal Codec

Lossless compression for neuromorphic event-camera data (DVS/ATIS).

1.51 bits/event · 47.6x compression · 0.55 ms per N-MNIST sample.

Patent Pending — US Provisional #64/034,974

Install

pip install mfc-codec

Pre-built wheels for CPython 3.11 on Linux (manylinux_2_34 x86_64), macOS (arm64), and Windows (amd64).

Quick start

import mfc

events = mfc.load_nmnist("sample.bin")
compressed, stats = mfc.compress(events, width=34, height=34, t_bits=16, xy_bits=8)
print(f"{stats.compression_ratio:.1f}x, {stats.bits_per_event:.2f} bpe")

decoded = mfc.decompress(compressed)
assert events == decoded   # bit-exact, lossless

Results

N-MNIST (60,000 real samples, 34×34 sensor)

Digit Samples Avg events Ratio bpe Encode
Total 60,000 4,172 47.6× 1.51 0.55 ms

High-resolution synthetic

Config Events Raw Compressed Ratio Encode
DVS128 500K 500K 4,395 KB 3.9 KB 1,117× 4.9 ms
VGA 2M 2M 17,578 KB 20.0 KB 878× 36.9 ms
HD 1M 1M 8,789 KB 8.5 KB 1,040× 58.2 ms

Supported dataset formats

N-MNIST .bin · AEDAT 2.0 .aedat · DSEC HDF5 (Blosc/LZ4/zstd) · .npy · .evb · CSV · .dat/.raw

Links

Citation

@software{mfc_codec_2026,
  author = {Solonskii, Aleksei},
  title  = {Mirror Fractal Codec: Lossless Compression for Neuromorphic Event Camera Streams},
  year   = {2026},
  doi    = {ZENODO_DOI_PENDING},
  url    = {https://codec.mirrorfractal.com}
}

License

Proprietary — all rights reserved. Patent Pending US 64/034,974.

Contact: info@mirrorfractal.com

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

mfc_codec-0.3.28-cp311-cp311-win_amd64.whl (149.4 kB view details)

Uploaded CPython 3.11Windows x86-64

mfc_codec-0.3.28-cp311-cp311-manylinux_2_34_x86_64.whl (237.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

mfc_codec-0.3.28-cp311-cp311-macosx_11_0_arm64.whl (210.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file mfc_codec-0.3.28-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: mfc_codec-0.3.28-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 149.4 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mfc_codec-0.3.28-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 aa67ddccc6df06949d35ab703c1ce2c2881fc3ac12ab24dc3911fae74ff949d2
MD5 f1aae66b64e4e0ac9077bb0b88f1356e
BLAKE2b-256 b8387085a5b0cfd165705a5f565d5339501a7e2974c740ba8dd4689076336e54

See more details on using hashes here.

Provenance

The following attestation bundles were made for mfc_codec-0.3.28-cp311-cp311-win_amd64.whl:

Publisher: pypi.yml on MirrorFractal/mfc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mfc_codec-0.3.28-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for mfc_codec-0.3.28-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f9bb55a4fa5d328f42b9311851bae036bc29ca689cd8c7971150dba2acc895ac
MD5 5667f54084c6836023572c50917c3bed
BLAKE2b-256 3b06fee5d2e118c5b0322e073b9d720e92590f728ce2fe322fac8d743be9b8d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mfc_codec-0.3.28-cp311-cp311-manylinux_2_34_x86_64.whl:

Publisher: pypi.yml on MirrorFractal/mfc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mfc_codec-0.3.28-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mfc_codec-0.3.28-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f0aedd404984c424c96fa001f714265ff9cdc949a6792d5eae990310265154bf
MD5 78d95c253b332f8944d4c92e63a9c90b
BLAKE2b-256 56f44ff2052d1040c0d2cc38a483759b4582cc449ddd383b3e1a861ef624d35a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mfc_codec-0.3.28-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: pypi.yml on MirrorFractal/mfc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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