A class for efficiently selecting a range of atoms.
|
__init__(self,
slice_)
Initialize a slice selection. |
|
|
|
isDynamic(self)
Returns:
A bool indicating whether this selection changes from frame to frame. |
|
|
|
getArraySelection(self,
frame)
Returns:
An object that can be used as an index in a numpy array. |
|
|
|
getOffsets(self,
frame)
Returns:
A selection as a sequence of integers, using zero based indexing so
it can be used with a numpy array. |
|
|
|
getAtomIndices(self,
frame)
Returns:
A selection as a sequence of integers, using one based indexing so it
can be used with a Structure. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|