This repository hosts code for distinguishing 2 dyes with overlapping spectra via lifetime. The workflows presented here mainly rely on the napari-flim-phasor-plotter plugin, along with some post-processing/analysis steps done using pyclesperanto-prototype, scikit-image and scikit-learn, plus file saving using tifffile. Images of worm embryos are 6D (3D FLIM timelapse multichannel). Images of adult worms are 5D (3D FLIM multichannel).
Install Miniforge in your computer (which contains mamba
).
Clone this repository locally (for example using Github Desktop).
From a command line prompt, navigate to where you cloned this repository locally (for example by typing cd Lifetime-Unmixing
) and create a specific conda environment by typing the following line:
mamba env create -f env.yml
From a terminal, activate the conda environment with:
mamba activate lifetime-env
Then open jupyter lab or your prefered IDE (for example VSCode, Pycharm, etc) and run the code of interest from the "code" folder. Remember to replace the data path with your local path to the images.
We recommend running this code on a powerful workstation, preferably with > 48GB RAM and a GPU.
We thank the Bio-Image Analysis Technology Development team of Physics of Life at TU Dresden (BiA-PoL) for the provision of infrastructure, code development and fruitful discussions.