pdb2sql.superpose.superpose_selection

pdb2sql.superpose.superpose_selection(xyz_mobile, selection_mobile, selection_target, method)[source]

superpose the xyz using the selection

Parameters
  • aligned (xyz_mobile {np.ndarray} -- xyz to be) –

  • superposition (selection_target {np.ndarray} -- xyz of the target used for the) –

  • superposition

  • quaternion (method {str} -- svd or) –

Returns

np.ndarray – xyz of the xyz_mobile