Entering edit mode
3.7 years ago
d.s.molodenskiy
•
0
I am trying to create a plugin that calculates and shows in pyplot the X-ray scattering from any arbitrary assembly of proteins such that the plugin catches the mouse events (e.g. when one of the molecules was rotated by the mouse), generates the scattering on-the-fly and updates the resulting plot in matplotlib. So far I got stuck at the first step of how to catch the events in PyMOL and whether it is possible to create custom events, for example, keyboard short cuts. Any help will be highly appreciated!