A class to provide operations on a modified mode array. This class
holds only mode array (i.e. eigenvector) data, and has no associations
with an NMA instance. Scalar multiplication of :class:`Mode` instance or
addition of two :class:`Mode` instances results in a :class:`Vector`
instance.
|
__init__(self,
array,
title=' Unknown ' ,
is3d=True)
Instantiate with a name, an array, and a 3d flag. |
|
|
|
|
|
|
|
|
|
is3d(self)
Return **True** if vector instance describes a 3-dimensional
property, such as a deformation for a set of atoms. |
|
|
|
getTitle(self)
Get the descriptive title for the vector instance. |
|
|
|
setTitle(self,
title)
Set the descriptive title for the vector instance. |
|
|
|
|
|
|
|
getNormed(self)
Return mode after normalizing it. |
|
|
|
numDOF(self)
Return number of degrees of freedom. |
|
|
|
|
Inherited from VectorBase :
__abs__ ,
__add__ ,
__div__ ,
__iadd__ ,
__idiv__ ,
__imul__ ,
__isub__ ,
__mul__ ,
__neg__ ,
__pow__ ,
__radd__ ,
__rmul__ ,
__rsub__ ,
__sub__ ,
getArrayNx3 ,
numModes
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|