Skip to main content

Read FLIMbox data and related files (FBD, FBF, and FBS.XML)

Project description

Fbdfile is a Python library to read FLIMbox data (FBD), firmware (FBF), and setting (FBS.XML) files. The FLIMbox is an FPGA-based device for high bandwidth, multi-channel data collection for fluorescence lifetime-resolved imaging (FLIM) from a pulsed laser scanning confocal microscope. The files are written by SimFCS and ISS VistaVision software.

Author:

Christoph Gohlke

License:

BSD-3-Clause

Version:

2026.1.14

DOI:

10.5281/zenodo.17136073

Quickstart

Install the fbdfile package and all dependencies from the Python Package Index:

python -m pip install -U fbdfile[all]

See Examples for using the programming interface.

Source code and support are available on GitHub.

Requirements

This revision was tested with the following requirements and dependencies (other versions may work):

Revisions

2026.1.14

  • Improve code quality.

2025.12.12

  • Add attrs property to FbdFile.

  • Improve code quality.

2025.11.8

  • Allow to override FbdFile decoder, firmware, and settings.

  • Always try to load settings from .fbs.xml file.

  • Factor out BinaryFile base class.

  • Derive FbdFileError from ValueError.

  • Build ABI3 wheels.

2025.9.18

  • Fix reading FBF and FBS files from streams.

2025.9.17

  • Make frame_markers a numpy array.

  • Add options to specify number of OpenMP threads.

2025.9.16

  • Initial alpha release based on lfdfiles 2025.7.31.

Notes

The API is not stable yet and might change between revisions.

Python <= 3.10 is no longer supported. 32-bit versions are deprecated.

The latest Microsoft Visual C++ Redistributable for Visual Studio 2015-2022 is required on Windows.

The FLIMbox formats are not documented and might change arbitrarily. This implementation is based on reverse engineering existing files. No guarantee can be made as to the correctness of code and documentation.

SimFCS, a.k.a. Globals for Images, is software for fluorescence image acquisition, analysis, and simulation, developed by Enrico Gratton at UCI.

VistaVision is commercial software for instrument control, data acquisition, and data processing by ISS Inc (Champaign, IL).

Examples

Read a FLIM lifetime image and metadata from an FBD file:

>>> with FbdFile('tests/data/flimbox_data$CBCO.fbd') as fbd:
...     bins, times, markers = fbd.decode()
...     image = fbd.asimage()
...
>>> image.shape
(1, 2, 256, 256, 64)
>>> print(bins[0, :2], times[:2], markers[:2])
[50 58] [ 0 32] [1944097 2024815]
>>> import numpy
>>> hist = [numpy.bincount(b[b >= 0]) for b in bins]
>>> int(hist[0].argmax())
53

View the histogram and metadata in a FLIMbox data file from the console:

$ python -m fbdfile tests/data/flimbox_data$CBCO.fbd

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

fbdfile-2026.1.14.tar.gz (43.9 kB view details)

Uploaded Source

Built Distributions

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

fbdfile-2026.1.14-cp314-cp314t-win_arm64.whl (128.3 kB view details)

Uploaded CPython 3.14tWindows ARM64

fbdfile-2026.1.14-cp314-cp314t-win_amd64.whl (165.3 kB view details)

Uploaded CPython 3.14tWindows x86-64

fbdfile-2026.1.14-cp314-cp314t-win32.whl (138.9 kB view details)

Uploaded CPython 3.14tWindows x86

fbdfile-2026.1.14-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

fbdfile-2026.1.14-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.0 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

fbdfile-2026.1.14-cp314-cp314t-macosx_11_0_arm64.whl (163.5 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

fbdfile-2026.1.14-cp314-cp314t-macosx_10_15_x86_64.whl (167.3 kB view details)

Uploaded CPython 3.14tmacOS 10.15+ x86-64

fbdfile-2026.1.14-cp311-abi3-win_arm64.whl (117.0 kB view details)

Uploaded CPython 3.11+Windows ARM64

fbdfile-2026.1.14-cp311-abi3-win_amd64.whl (136.1 kB view details)

Uploaded CPython 3.11+Windows x86-64

fbdfile-2026.1.14-cp311-abi3-win32.whl (112.6 kB view details)

Uploaded CPython 3.11+Windows x86

fbdfile-2026.1.14-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

fbdfile-2026.1.14-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.0 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

fbdfile-2026.1.14-cp311-abi3-macosx_11_0_arm64.whl (149.9 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

fbdfile-2026.1.14-cp311-abi3-macosx_10_9_x86_64.whl (150.9 kB view details)

Uploaded CPython 3.11+macOS 10.9+ x86-64

File details

Details for the file fbdfile-2026.1.14.tar.gz.

File metadata

  • Download URL: fbdfile-2026.1.14.tar.gz
  • Upload date:
  • Size: 43.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for fbdfile-2026.1.14.tar.gz
Algorithm Hash digest
SHA256 484332b904b9e8361201a3afd0ce1f57209ad4d87964a6a5248ef9c60d9d755d
MD5 4a646ce60be7839c971bd8c3e8303f0a
BLAKE2b-256 59f7a654738eea5a5249a8f22407bd5a15c0462137195435bab85cf70d532032

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp314-cp314t-win_arm64.whl.

File metadata

File hashes

Hashes for fbdfile-2026.1.14-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 9b95a63c967d37350a290dbdd1e68ac3c120b93dccc16c4ce98b6b374d89fa84
MD5 285342aa709b2209b54bd2afac39d512
BLAKE2b-256 779d0c655083fdb4bd2274593e61dd020e605610f479c5496fc887009b7409c3

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for fbdfile-2026.1.14-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 5b6adac517d365c2954c5a183a5ddf6df31fccc73c762274949649f7740ea4b2
MD5 96f7daf4bdf275b72128878fddf4ce1c
BLAKE2b-256 2f8af166136b7a753f41e506022f6977b0def07befd98c16a59e5f5063a7f636

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp314-cp314t-win32.whl.

File metadata

  • Download URL: fbdfile-2026.1.14-cp314-cp314t-win32.whl
  • Upload date:
  • Size: 138.9 kB
  • Tags: CPython 3.14t, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for fbdfile-2026.1.14-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 fb5a2656440f4c296d220772e1135aabcaa5839067d4e614c7df05f587a1c2ed
MD5 6d6191f8b808f82b4fcb4f3ebfb041f2
BLAKE2b-256 b38a08ec1a98d75efb025293712e6fa511f5ddc70fab1c00e65c6b96371e277f

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fbdfile-2026.1.14-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8930741f245b89cc5e12b49287af57ad4a996fef7d8b423d8b0d7aac9ca01377
MD5 1c06ab1f6a524802ba14322b9aeecea6
BLAKE2b-256 3f490337b2f9606f3bb3d3bcafe4b146b0a84fe9e60eedde5b38df9f8c4a9344

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fbdfile-2026.1.14-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cbce71fbf158f12cb62225dfe1468418c81933e420029a81f33a1a1c40a7daf5
MD5 00913373f7c3df1ace622f5de20a70b5
BLAKE2b-256 193ba07925e01ab6c7a35c3f99e52d8bd440337d8d0100f3fc19afc03750e701

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fbdfile-2026.1.14-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cec2e56ba1002b8561471bee741e745891be66dff241ecc1e1ceda87c54a1af3
MD5 367562b0fdf8c8fd2f36b510def87be0
BLAKE2b-256 75974d5fbe5ce51e9fe3dcd126e7ec8368393bfe99f946448cd5acd56c3511b6

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp314-cp314t-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for fbdfile-2026.1.14-cp314-cp314t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 90b4719b66b46b06e5f4f662d4bbba35499d326164a85a66845e09a1bb854cd1
MD5 1e235c75d32c208da61e3c7e7fb6d30a
BLAKE2b-256 5b86ab8361a1cea03bba5873947c2dfacf28d7d93f57de433c9f9d17a2165872

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp311-abi3-win_arm64.whl.

File metadata

  • Download URL: fbdfile-2026.1.14-cp311-abi3-win_arm64.whl
  • Upload date:
  • Size: 117.0 kB
  • Tags: CPython 3.11+, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for fbdfile-2026.1.14-cp311-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 cefb01b8abbd35883182b59aea36f8d6b5fe45d5a9971cc52bb3557fa5c8fa41
MD5 c11613cf7a79bef1c4de37d46959a493
BLAKE2b-256 4d0ac2b953c6972fdd261dc6d1c3f894041c859b9aea58c6e7fdbf56f3491eca

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: fbdfile-2026.1.14-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 136.1 kB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for fbdfile-2026.1.14-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 812ed93b3035413af615383e536bc3cdc1a7b8726cc596c433253da49d0a3ef8
MD5 a56ea768c2b75551a073c7394f659f61
BLAKE2b-256 d1714cf816ea8bf48bc60c79ea51bfb1fe13aa978a81e2b205777a2e1f2fcab8

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp311-abi3-win32.whl.

File metadata

  • Download URL: fbdfile-2026.1.14-cp311-abi3-win32.whl
  • Upload date:
  • Size: 112.6 kB
  • Tags: CPython 3.11+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for fbdfile-2026.1.14-cp311-abi3-win32.whl
Algorithm Hash digest
SHA256 2bf7b08ecd4e04c7c594b7d287acc7e115bf6981ea30fb85a7da6c6c3d9a6207
MD5 be66b2e47d55dee0bed99776a7e11ede
BLAKE2b-256 66a9985ddc5b7bb42dc37f787b2b71264c6aebcb361364a9d16c59f40e0ba709

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fbdfile-2026.1.14-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 59e4ce04d77c6d1d2d2ee760be21fe4e98af3280091c87f8169da739e2031e93
MD5 c4fc5e204694a0d44b2cb911a289bbbb
BLAKE2b-256 77d6877c882bdeb502170ff8e55f40dab14bb0ffe8d1f8d31d06e9547f984730

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fbdfile-2026.1.14-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8bd4f475060197aa9ad17a2754b7e22ea0525b034fad921679efeabe6ed5a46f
MD5 4abc069a1d195f87114d5f16cd4b6437
BLAKE2b-256 341504a53440947574620ff4ba0a949a99a3e47f8a000d1db89885e0a4adc0db

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fbdfile-2026.1.14-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e72406f858a411d6706b255d6f2fe74cd9fd57cde7ea40ffb1b2ae323e313e4
MD5 4dafbad4287afda8a1f74eb9cd3944fa
BLAKE2b-256 c3fb4090e55c12ea76a20dfed09e10615695d0289429d244a43cb5afd7ede144

See more details on using hashes here.

File details

Details for the file fbdfile-2026.1.14-cp311-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fbdfile-2026.1.14-cp311-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c6b3438fa9810f3fbe3eecc5e6def36fd460fafa1edbe73b815811eab578421c
MD5 381800a2a19090e40e9027a1b1ed4127
BLAKE2b-256 5de8b3683a9a775836a545f8004aab94b91eff1d815d271e773b751f45081a50

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