napari-lumic-cci: A spectral unmixing plugin
A napari plugin for spectral unmixing with the LUMIC backend.
Installation
In a fresh Python 3.12 environment, install the plugin from PyPI, then install the Qt binding needed to launch napari:
python -m pip install napari-lumic-cci
python -m pip install "napari[pyqt6]"
The plugin installation also installs the Lumic backend and napari. The second command supplies the PyQt6 binding for napari's graphical interface.
Usage
Launch napari with python -m napari, then open Plugins → LUMIC CCI-GU →
Spectral Unmixing.
For an introduction to the viewer, see the napari documentation and napari getting started guide.
Workflow
Follow the tabs in order:
- Input: Load an OME-TIFF or CZI spectral image and select a plane, or load a COS-7 example with low, medium or high SNR from BioImage Archive.
- Spectra selection: Choose automatic or manual references, or load a Lumic spectrum JSON file. Automatic selection finds distinctive spectra.
- Unmixing: Optimize automatic or JSON references and calculate abundance maps; manual references remain fixed. Save all spectra together in one JSON file, and save maps as OME-TIFF.
- Evaluation: Examine residual variation and its spatial patterns using principal component analysis.
See the plugin Quickstart to try the project’s COS-7 example using Load example data, and follow the linked pages for the controls, JSON spectra workflow and residual evaluation in greater detail.
Run plugin tests
With the backend development environment active, install both local packages
and the Qt binding with
python -m pip install -e ./Python/lumic -e ./Python/plugin "napari[pyqt6]".
Restart napari after updating these packages so it uses the current backend,
including the Spectrum.save_json and Spectrum.load_json methods.
From the Python directory, run QT_QPA_PLATFORM=offscreen python -m pytest tests/test_plugin_*.py.
Metadata
Release files for napari-lumic-cci 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| napari_lumic_cci-0.1.0.tar.gz | 23.0 kB | With provenance | Details for napari_lumic_cci-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| napari_lumic_cci-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for napari_lumic_cci-0.1.0-py3-none-any.whl |
Total release size: 46.9 kB
Release files / napari_lumic_cci-0.1.0.tar.gz
| Download URL | napari_lumic_cci-0.1.0.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dac93ff8f5fa39da30712723314b959f40ca432ef2c2bfe2dbd520416b0a45f5
|
|
BLAKE2b-256 checksum How to use checksums |
e372a677edb7b367019fac2a3349f6dddfd4e168ec7cdbdb3b7140b9ad6b834a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 23, 2026.
Transparency logRelease files / napari_lumic_cci-0.1.0-py3-none-any.whl
| Download URL | napari_lumic_cci-0.1.0-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18ca0fcdcae99ea8bc32447464fe2b8a9a391019c4ea9798e1e5ae351fdaa5d8
|
|
BLAKE2b-256 checksum How to use checksums |
66b620e35fb1bcdeb7846060e8620abd2f10b3efc5f2e502e2d8c0fbe730d3db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 23, 2026.
Transparency logSecurity for napari-lumic-cci 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for napari_lumic_cci-0.1.0.tar.gz
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 Nov 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.