Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite KDE visualization using new dclab implementation #111

Open
paulmueller opened this issue Dec 4, 2021 · 1 comment
Open

Rewrite KDE visualization using new dclab implementation #111

paulmueller opened this issue Dec 4, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@paulmueller
Copy link
Member

Depends on: DC-analysis/dclab#153
Original issue: #110

@chrherold
Copy link

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

  • find a good and automated way to set the correct spacing of the grid describing the density
    • deal with outliers
    • one grid per plot panel? (!)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants