pyfli.io#

Provide io tools for PyFLI detector importers, file readers, saving helpers, and processed-data loaders.

This module belongs to pyfli.io and is part of PyFLI detector importers, file readers, saving helpers, and processed-data loaders. The module primarily re-exports package symbols or constants for downstream imports.

Modules

data_operations

Load raw decay, IRF, background, mask, and hot-pixel data from common FLI sources.

data_ops_static

Provide static readers and corrections for SPAD, TIFF, MAT, SDT, NumPy, and text data.

data_saving

Save fitted maps, metadata, figures, and session artifacts to disk.

detector

Coordinate detector-specific loading workflows for SS2, SS3, ICCD, TCSPC, and generic data.

flim_decay_cube

flim_decay_cube.py Build a TCSPC decay-cube tensor from a Leica LIF file that contains LifFlimImage data encoded with the patent-pending Leica "reduced Time Tagged" compression scheme (US20230344447A1 / US12278654B2).

processed_data

Load and plot processed outputs from AlliG, BH, and PyFLI pipelines.

save_direction

Turn a save_config dictionary into a ready DataSaver session.

spad_folding

Detect and fold periodic SPAD gate sequences into one excitation period.

spad_hdf5

Discover and read SPAD data from arbitrary HDF5 structures.

spad_io

Coordinate generic and detector-specific SPAD loading, correction, and temporal folding.

ss2_bin

Decode native SwissSPAD2 binary acquisitions into PyFLI image cubes.

utils

Provide ROI mask loading, hot-pixel detection, and assorted data I/O helpers.