Closed superstar54 closed 6 months ago
Suppose we have an eigenvector and amplitude.
One can create a trajectory for the mode.
trajectory = [] times = np.linspace(0, 2 * np.pi, 10) for t in times: # arrow vector vectors = amplitude * eigenvector * np.sin(t) # new atoms new_atoms = atoms.copy() new_atoms.positions = atoms.positions + vectors new_atoms.set_array("moment", vectors)
Suppose we have an eigenvector and amplitude.
One can create a trajectory for the mode.