Create a networkx graph to search the voids in structure.
|
|
__init__(self,
struct,
spacing=2.0,
scaffold=None)
Create networkx graph based on the structure PBC or coordinates. |
|
|
|
tuple
|
getNodeXYZ(self,
node)
Convert networkx node (tuple of X, Y, Z index) to XYZ coordinates |
|
|
|
|
removeOverlappedNodes(self,
atom_ids=None,
vdw_scale=1.0)
Remove all nodes that overlap a bitset-on atom (all atoms by default)
in current structure. |
|
|
|
tuple
|
voids(self)
A generator that returns groups of connected nodes that define voids
in the structure. |
|
|
|
tuple
|
|
|
tuple
|
getBuriedNode(self,
blob)
A generator that returns nodes that is buried inside the blob of
connected nodes. |
|
|
|
tuple
|
getBuriedXYZ(self,
blob)
Like getBuriedNode but return the xyz coordinates. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|