zoccoler / napari-flim-phasor-plotter

BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Phasor Plot Error #57

Closed jrapaka1 closed 3 months ago

jrapaka1 commented 4 months ago

I am encountering a major error in my phasor plot when I use the flim-phasor-plotter plugin. I used the napari-sdtfile plugin to upload my sdt file into napari, then used the phasor plotter plugin. Here is the plot I got: NapariPhasorPlot

I have tried uploading the file in .tif format as well, and I get a very similar looking phasor plot. Any ideas about how to troubleshoot this error?

zoccoler commented 3 months ago

Hi @jrapaka1 ,

I am not sure what should be the correct phasor plot for your data, but it could be that the plugin expects the images to have a specific shape standard in order to work: (ut, t, z, y, x) where ut is the flim dimension. This is explained in the documentation here.

If for example you don't have a z dimension in your data, there should still be a unitary z-axis (for example, (140, 1, 1, 256, 256) ).

When you use this plugin to open your data, it already create these unitary dimensions in case they are missing, but if you used another plugin to load your data, your image shape and dimensions may be completely different and so the plugin would process them wrongly.

zoccoler commented 3 months ago

Closed via #59