helixmc.util.dr2coords¶
-
helixmc.util.
dr2coords
(dr)¶ Convert delta-r vectors to coordinates.
Parameters: dr : ndarray, shape (N,3)
Input delta_r vectors (dr[i] = r[i+1] - r[i]).
Returns: coord : ndarray, shape (N+1,3)
Coordinates for the base-pair-centers (r[i]).
See also
coords2dr
- Convert xyz coordinates of axis curve to delta-r vectors.