A simple reader for .iss-tdfilm files
Project description
napari-iss-tdflim-reader
🔬 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/YResolutiontags +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
Infofield — 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 tofloat32
🚀 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file napari_iss_tdflim_reader-0.2.0.tar.gz.
File metadata
- Download URL: napari_iss_tdflim_reader-0.2.0.tar.gz
- Upload date:
- Size: 27.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c7b22fa390af24cb981ae0028e2822b23a206fe27e0b9f6dee64a738e3f1f04
|
|
| MD5 |
2054074c5c75609e50aa19d8bf1e7eb8
|
|
| BLAKE2b-256 |
84080fb951c6e364f6d0fa614e50d2a98d929a0e194e2aebeeca7d9562eb1584
|
Provenance
The following attestation bundles were made for napari_iss_tdflim_reader-0.2.0.tar.gz:
Publisher:
test_and_deploy.yml on DBP008/napari-iss-tdflim-reader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_iss_tdflim_reader-0.2.0.tar.gz -
Subject digest:
7c7b22fa390af24cb981ae0028e2822b23a206fe27e0b9f6dee64a738e3f1f04 - Sigstore transparency entry: 1392716329
- Sigstore integration time:
-
Permalink:
DBP008/napari-iss-tdflim-reader@db928d4e5bb20458af8146d0e28b854d37625314 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/DBP008
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test_and_deploy.yml@db928d4e5bb20458af8146d0e28b854d37625314 -
Trigger Event:
push
-
Statement type:
File details
Details for the file napari_iss_tdflim_reader-0.2.0-py3-none-any.whl.
File metadata
- Download URL: napari_iss_tdflim_reader-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01574f8a30202c643e2a132ce6c87a45a4eee00d8fe9cde9c731220e7f14eabe
|
|
| MD5 |
4ac3db3f439badeeaedebf3b64dd8781
|
|
| BLAKE2b-256 |
5b6fddca386e689d4e05cd179b9532e78a503b540b570606a366aeab76f30d42
|
Provenance
The following attestation bundles were made for napari_iss_tdflim_reader-0.2.0-py3-none-any.whl:
Publisher:
test_and_deploy.yml on DBP008/napari-iss-tdflim-reader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_iss_tdflim_reader-0.2.0-py3-none-any.whl -
Subject digest:
01574f8a30202c643e2a132ce6c87a45a4eee00d8fe9cde9c731220e7f14eabe - Sigstore transparency entry: 1392716335
- Sigstore integration time:
-
Permalink:
DBP008/napari-iss-tdflim-reader@db928d4e5bb20458af8146d0e28b854d37625314 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/DBP008
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test_and_deploy.yml@db928d4e5bb20458af8146d0e28b854d37625314 -
Trigger Event:
push
-
Statement type: