move¶
-
Cartesian.
move
(vector=[0, 0, 0], matrix=array([[ 1., 0., 0.], [ 0., 1., 0.], [ 0., 0., 1.]]), indices=None, copy=False)[source]¶ Move a Cartesian.
The Cartesian is first rotated, mirrored... by the matrix and afterwards translated by the vector
Parameters: - vector (np.array) – default is np.zeros(3)
- matrix (np.array) – default is np.identity(3)
- indices (list) – Indices to be moved.
- copy (bool) – Atoms are copied or translated to the new location.
Returns: Return type: