Skip to main content

napari-iss-tdflim-reader

License Apache Software License 2.0 PyPI Python Version tests codecov napari hub npe2 Copier

🔬 A napari plugin to read and write ISS TD-FLIM acquisition files (.iss-tdflim).


✨ Features

📂 Reader

Opens .iss-tdflim files directly in napari.
Each file is a ZIP archive produced by the ISS ALBA FLIM system and contains:

  • dataProps/Core.xml — acquisition metadata (pixel size, TAC range, channel IDs, …)
  • data/PrimaryDecayData.bin — raw photon-count decay histograms

Two image layers are added per channel:

Layer Shape Description
<stem>_intensity_Ch<id> (H, W) Total photon counts (sum along TAC axis)
<stem>_flim_Ch<id> (T, H, W) Full FLIM decay cube — use the time slider to scrub through TAC bins

Spatial calibration (µm/pixel) and TAC time axis (ns/bin) are embedded as napari scale and axis_labels so physical units are always correct.

💾 Writer

Saves any napari Image layer (including those loaded by the reader) to ImageJ-hyperstack TIFF files.

  • ✅ Supports both intensity (H, W) and FLIM decay (T, H, W) layers
  • 🗜️ Lossless zlib compression (requires imagecodecs)
  • 📐 Spatial calibration (XResolution/YResolution tags + unit) preserved for Fiji/ImageJ
  • ⏱️ Time-axis interval (finterval) embedded for FLIM cubes
  • 🏷️ Full acquisition metadata (channel IDs, ADC resolution, TAC range, …) stored as JSON in the TIFF Info field — visible in Fiji via Image › Info… and recoverable in Python via:
    import json, tifffile
    with tifffile.TiffFile('my_file.tif') as tf:
        meta = json.loads(tf.imagej_metadata['Info'])
    
  • 🔄 Non-ImageJ-compatible integer dtypes (e.g. uint32, uint64) are automatically cast to float32

🚀 Installation

Install from PyPI:

pip install napari-iss-tdflim-reader

To install with napari and all optional dependencies (including Qt backend and compression support):

pip install "napari-iss-tdflim-reader[all]"

Install the latest development version directly from GitHub:

pip install git+https://github.com/DBP008/napari-iss-tdflim-reader.git

🛠️ Usage

Reading

Drag and drop an .iss-tdflim file onto the napari window, or open it via File › Open File(s)….
The plugin is selected automatically based on the file extension.

Writing

Select one or more Image layers in the napari layer list, then use File › Save Selected Layer(s)… and choose a .tif / .tiff destination.
When saving multiple layers, each is written to a separate file with a _0, _1, … suffix.


🤝 Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

📄 License

Distributed under the terms of the Apache Software License 2.0 license.
napari-iss-tdflim-reader is free and open source software.

🐛 Issues

If you encounter any problems, please file an issue along with a detailed description.

Metadata

Release files for napari-iss-tdflim-reader 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-iss-tdflim-reader 0.2.0
File Size Uploaded
napari_iss_tdflim_reader-0.2.0.tar.gz 27.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-iss-tdflim-reader 0.2.0
File Interpreter ABI Platform
napari_iss_tdflim_reader-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.3 MB

Release files / napari_iss_tdflim_reader-0.2.0.tar.gz

Download URL napari_iss_tdflim_reader-0.2.0.tar.gz
Size 27.3 MB
Tags Source
SHA-256 checksum
How to use checksums
7c7b22fa390af24cb981ae0028e2822b23a206fe27e0b9f6dee64a738e3f1f04
BLAKE2b-256 checksum
How to use checksums
84080fb951c6e364f6d0fa614e50d2a98d929a0e194e2aebeeca7d9562eb1584
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.

Transparency log

Release files / napari_iss_tdflim_reader-0.2.0-py3-none-any.whl

Download URL napari_iss_tdflim_reader-0.2.0-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01574f8a30202c643e2a132ce6c87a45a4eee00d8fe9cde9c731220e7f14eabe
BLAKE2b-256 checksum
How to use checksums
5b6fddca386e689d4e05cd179b9532e78a503b540b570606a366aeab76f30d42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page