Révision 5412d6ef
b/modules/screening.py | ||
---|---|---|
183 | 183 |
alignment center, it first averages the vectors pointing to neighboring |
184 | 184 |
atoms and then tries to align this average vector to the target. If the |
185 | 185 |
average vector is 0 it takes the vector to the nearest neighbor. |
186 |
@param molec: The molecule to alugn
|
|
186 |
@param orig_molec: The molecule to align.
|
|
187 | 187 |
@param ctr_coord: The coordinates to use ase alignment center. |
188 | 188 |
@param ref_vect: The vector to be aligned with. |
189 |
@return: ase.Atoms of the aligned molecule |
|
189 |
@return: ase.Atoms of the aligned molecule.
|
|
190 | 190 |
""" |
191 | 191 |
from copy import deepcopy |
192 | 192 |
from ase import Atom |
Formats disponibles : Unified diff