Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MDAKit / Hackathon] Voronoi Tessellation #31

Open
IAlibay opened this issue Sep 25, 2023 · 2 comments
Open

[MDAKit / Hackathon] Voronoi Tessellation #31

IAlibay opened this issue Sep 25, 2023 · 2 comments

Comments

@IAlibay
Copy link
Member

IAlibay commented Sep 25, 2023

Overview

A Voronoi diagram is
the division of a space into regions around a set of seed points such
that each point in a given region is closer to that seed point than
any other. Voronoi tessellations can be used in various density and
spatial analysis, e.g. for characterizing membranes or interaction
surfaces/binding sites.

Voronoi tessellation and related algorithms (e.g. Delaunay triangulation)
have been implemented in scipy (https://docs.scipy.org/doc/scipy/reference/spatial.html#delaunay-triangulation-convex-hulls-and-voronoi-diagrams).

@richardjgowers
Copy link
Member

https://math.lbl.gov/voro++/ does PBC so is probably better in the longer term. Alternatively you'd have to use the "augment coordinates" approach to get PBC-like behaviour.

@tylerjereddy
Copy link
Member

There is a ticket open to add PBC support in SciPy: scipy/scipy#11858. It probably needs a champion though. For "planar" membranes if you really need PBC and there's another tool you want to wrap I suppose that could make sense.

For virus/vesicle systems, I don't see much benefit to PBC since you can just center the virus in the unit cell and it will be self-contained, so I'd just use SciPy indeed via https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.SphericalVoronoi.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants