napari-process-points-and-surfaces icon indicating copy to clipboard operation
napari-process-points-and-surfaces copied to clipboard

Vector functions in nppas?

Open jo-mueller opened this issue 2 years ago • 2 comments

Hi @haesleinhuepf ,

just a general point of discussion: Would it be desirable to also put some vector functionality here? I was thinking about stuff like

The data structure of vectors in napari is relatively simple; It's (N, 2, D), which is a stack of the starting point of the vector and its direction for N vectors.

jo-mueller avatar Mar 06 '23 07:03 jo-mueller

Hey Johannes @jo-mueller ,

great idea! I would have two minor concerns:

  • I have very little projects where vectors play a role. I have also never used them within napari. Before spending too much effort, a list of use-cases would be nice.
  • I presume this would introduce new dependencies. But I have zero experience.

How about starting this as a new, independent napari plugin? I'm happy to contribute, review code etc. but won't manage to lead its development.

Let me know what you think.

Best, Robert

haesleinhuepf avatar Mar 07 '23 07:03 haesleinhuepf

I presume this would introduce new dependencies. But I have zero experience.

At least for the stuff I use, it's entirely in vedo, or can be plain numpy. Plus, the context(s) where I think that vectors would be relevant are very closely linked to points and surfaces.

I added some links further up.

jo-mueller avatar Mar 09 '23 09:03 jo-mueller