Christoph Gohlke
Christoph Gohlke
The compression scheme in which photon arrival times are stored in LIF files (in the MemBlock referenced by the “FLIM Compressed” element of the XML metadata) is apparently patent pending:...
I have [released](https://pypi.org/project/liffile/) a first version of the [liffile](https://github.com/cgohlke/liffile) library to read image and metadata from Leica LIF formatted files. In comparison with existing libraries, `readlif` and `Bio-Formats`, `liffile`'s license...
The "TSC SP8 FALCON File Format Description. LAS X Version 3.5.0" document was shared at https://github.com/AllenCellModeling/aicsimageio/discussions/484#discussioncomment-5578783. It contains a detailed description of the LMSCOMPRESSED FLIM memory block and metadata.
There's an offline LAS X FLIM FCS viewer at https://webshare3.leica-microsystems.com/downloads/FALCON_Offline_4.4.0_24861_Setup.exe
Lots of Leica sample files, including FLIM LIFs, are linked at https://github.com/ome/bioformats/pull/3747
Nothing further can be done unless Leica releases the specification for FLIM compressed raw images under an open-source compatible license.
There's an ongoing discussion at [[email protected]](https://lists.umn.edu/cgi-bin/wa?SUBED1=confocalmicroscopy&A=1) in the [Community feedback requested – Ongoing problems with Leica Stellaris FALCON FLIM support and data access](https://lists.umn.edu/cgi-bin/wa?A2=CONFOCALMICROSCOPY;576e089f.2507&S=) thread (registration required).
Let's pin `numpy < 2.2.0` for type checking for now. Issues related to type checking in numpy 2.2 are piling up, for example https://github.com/numpy/numpy/issues/27957, https://github.com/numpy/numpy/issues/27945, and https://github.com/numpy/numpy/issues/27944
See also https://github.com/numpy/numpy/issues/28076 and https://github.com/python/mypy/issues/18343
FWIW, I am using Python for Windows on ARM64 on a [Windows Dev Kit 2003](https://learn.microsoft.com/en-us/windows/arm/dev-kit/). It's working well for me. For example, latest numpy and scipy pass all tests with...