Compute the dihedral angles between the supplied quartets of atoms in each frame in a trajectory.
| Parameters: | traj : Trajectory 
 indices : np.ndarray, shape=(n_dihedrals, 4), dtype=int 
 periodic : bool, default=True 
 opt : bool, default=True 
 | 
|---|---|
| Returns: | dihedrals : np.ndarray, shape=(n_frames, n_dihedrals), dtype=float 
 |