IMP  2.2.0
The Integrative Modeling Platform
container/connectivity.py

Shows how to use and visualize the IMP::misc::ConnectingPairContainer.

1 ## \example container/connectivity.py
2 # Shows how to use and visualize the IMP::misc::ConnectingPairContainer.
3 
4 import IMP.container
5 import IMP.display
6 
8 ds = IMP.core.create_xyzr_particles(m, 20, .1)
11 m.evaluate(False)
13 w = IMP.display.ChimeraWriter("pairs.py")
14 w.add_geometry(pg)
15 print pg.get_name()
16 del w