Hey everyone I encountered some bizarre behavior with slicing vectors, and still didn’t figure out after a lot of trials:

My goal: plot a timeseries of 3D vectors, basically I want to visualize the tracking of particle

My try: I add timestamps as the 4th coordinates in the 3rd axis of the vector data. For the start point (vector[N, 0, 3]), I used the same indexes as those for my points. For the projection (vector[N, 1, 3]), I used 1, since I want the vector to show up in one frame. I attached the vector data structure info too.

However, when slicing, I realized the vectors are not being properly sliced and it is static. I tried a range of other possible values but I could not see a pattern from that.

So I am wondering how should I set the 4th coordinates of the start point and projection of a vector? How is napari slicing them internally? It is not as obvious as for 4D points.

Otherwise, is there a better way to view vectors frame-to-frame?

Appreciate deeply.

Zach