Open seantrons opened 6 months ago
Adding a note for this while it's still in my mind. The design for this should require users to submit the dense vector data for the quiver plot. That is, they submit a multi-dimensional ndarray
where each element is a vector of arbitrary direction and magnitude. the location of the vector in the ndarray will denote it's coordinate origin in the graph. Users should also be able to specify a stride
setting that way the number of available vectors on display isn't overwhelming.
An simple implementation wouldn't be terribly difficult to create. We could start by taking the vector definitions and origins as input and using OpenCV to draw them atop a blank image from there without accounting for scaling.
Later on once #11 is completed, we should work on accounting for scaling by normalizing all input vectors and passing their original magnitudes to a color map.