-
Notifications
You must be signed in to change notification settings - Fork 99
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
[WIP] Non-uniformly sampled 2d plots #325
base: main
Are you sure you want to change the base?
Conversation
Work needs to be done on integration, particularly the Plot classes insistence on resampling, plus disambiguation of cell-based vs. vertex based data.
I haven't looked at the details, but noticed that you have checked in the .c file. I am assuming that's unintentional since it is generated, so I thought I would drop a note. |
It's intentional: for Enable and Chaco we include the .c file so that things can be built without having to have Cython installed. Developers have to be good and remember to update the .c file if they make changes to the Cython code. |
What about requiring Cython for developers tracking the master branch, but including the .c file in the sdist? |
+1 for @jwiggins 's suggestion. |
That's a reasonable suggestion, but probably not as part of this PR. |
Agreed. |
This provides a new plot type that displays a pixel at points on a (possibly non-uniformly sampled) grid, and correctly handles downsampling when zoomed out. This is particularly intended for multi-valued time-series data which may not be uniformly sampled in time, such as you might get from real-world distributed acoustic sensing.
Includes fast 2d downsampling in Cython, which may be of use to other plots as well.
Needs unit tests.
There may be some discussion required around what to do when zoomed far in - single pixels are not as compelling as other markers; maybe should display at lower resolution?