vmd.atomsel.fit

atomsel.fit()

Compute the transformation matrix for the root-mean-square (RMS) alignment of this selection to the one given. The format of the matrix is suitable for passing to the atomsel.move() method

Parameters:
  • selection (atomsel) – Selection to compute fit to. Must have the same number of atoms as this selection
  • weight (list of float) – Per-atom weights to apply during calculation Must be the same size as this selection. Optional
Returns:

(16-tuple of float)

Transformation matrix, in column major / fortran

ordering