Skip to content

[ENHANCEMENT] Quiver rendering without vertices (e.g. for dipole orientation visualization) #1504

Description

@barentine

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions