ZELLMECHANIK-DRESDEN / ShapeOut2

graphical user interface for analysis and visualization of RT-DC data sets
https://shapeout2.readthedocs.io
GNU General Public License v3.0
8 stars 5 forks source link

Rewrite KDE visualization using new dclab implementation #111

Open paulmueller opened 2 years ago

paulmueller commented 2 years ago

Depends on: https://github.com/ZELLMECHANIK-DRESDEN/dclab/issues/153 Original issue: #110

chrherold commented 2 years ago

Maybe some comments for discussion here:

primary goal: base the visualization of the density of events in a region on a useful histogram map that is used for coloring points as well as drawing contour lines

(means discontinue KDE estimates for Shape-Out2, as they are often misleading if setting are wrong or population is not described by a gaussian distribution)

some considerations

secondary goal: make plotting faster

Currently, by built in design, KDE is calculated using all points in a plot (downsampling makes it faster) For determining the grid, a downsampled subset (5k to 10k?) could be used even if all points are plotted. This should speed up plotting of datasets with many events without losing significant information.