zoccoler / napari-flim-phasor-plotter

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

Divide by zero Error in phasor calculation if DC average close to 0 #47

Closed zoccoler closed 3 months ago

zoccoler commented 10 months ago

During phasor calculation, pixels where DC is zero are replaced by DC average to avoid division by zero without interfering with the phasors. But if DC average is close to 0, it gets converted to integer and, thus, gets set to 0 again.

zoccoler commented 3 months ago

Solved via #48