Is your feature request related to a problem? Please describe.
All of the heavy lifting has already been done (thanks @zacsimile and @David-Baddeley !), but the QuiverRenderLayer is typed for triangle_mesh.TrianglesBase only.
We are interested in plotting single-molecule orientation microscopy (SMOLM) data where we do not have a surface, but do have XYZ and 3D orientation vectors (mu_x, mu_y, mu_z) for each localization.
We're happy to re-tool what's there a bit, but wanted to check in first to see a) whether I missed something and there is already a convenient way to visualize this in PYMEVis without modifying anything, or b) whether our approach would be the cleanest.
Describe the solution you'd like
- Subclass
QuiverRenderLayer and rejig update_from_datasource so it accepts a normal localization datasource rather than TriangsBase.
- render each localization twice, with opposite orientations such that the point stays in the middle of the bar that is drawn
Describe alternatives you've considered
you having already written this somewhere ;)
Additional context
active smolm work in our lab
style of visualizations we are aiming for (but interactively in 3D, of course!)
Are you prepared to work on it?
yes
Is your feature request related to a problem? Please describe.
All of the heavy lifting has already been done (thanks @zacsimile and @David-Baddeley !), but the
QuiverRenderLayeris typed fortriangle_mesh.TrianglesBaseonly.We are interested in plotting single-molecule orientation microscopy (SMOLM) data where we do not have a surface, but do have XYZ and 3D orientation vectors (mu_x, mu_y, mu_z) for each localization.
We're happy to re-tool what's there a bit, but wanted to check in first to see a) whether I missed something and there is already a convenient way to visualize this in PYMEVis without modifying anything, or b) whether our approach would be the cleanest.
Describe the solution you'd like
QuiverRenderLayerand rejigupdate_from_datasourceso it accepts a normal localization datasource rather than TriangsBase.Describe alternatives you've considered
you having already written this somewhere ;)
Additional context
active smolm work in our lab
style of visualizations we are aiming for (but interactively in 3D, of course!)
Are you prepared to work on it?
yes