helixmc.util.params2coords

helixmc.util.params2coords(params)

Convert base-pair step parameters to bp-center coordinates and rotation matrix.

Parameters:

params : ndarray, shape (N,6)

Input base-pair step parameters. Distances in unit of Å, angles in unit of radians. Order = [Shift, Slide, Rise, Tilt, Roll, Twist]

Returns:

o2 : ndarray, shape (N,3)

Coordiantes for the bp-centers of the 2nd base-pair.

R2 : ndarray, shape (N,3,3)

Rotational matrix for the transformation.

See also

coords2params
Convert bp-center coordinates and rotation matrix to base-pair step parameters.