Compute the bond angles between the supplied triplets of indices in each frame of a trajectory.
Parameters: | traj : Trajectory
angle_indices : np.ndarray, shape=(num_pairs, 2), dtype=int
periodic : bool, default=True
opt : bool, default=True
|
---|---|
Returns: | angles : np.ndarray, shape=[n_frames, n_angles], dtype=float
|