Exemplo n.º 1
0
    def find_permutation(self, X1, X2):
        """find the rotation which minimizes the distance between the structures"""
        ca1 = self.topology.coords_adapter(X1)
        ca2 = self.topology.coords_adapter(X2)

        return find_best_permutation(ca1.posRigid,
                                     ca2.posRigid,
                                     permlist=self.permlist)
Exemplo n.º 2
0
 def find_permutation(self, X1, X2):
     """find the rotation which minimizes the distance between the structures"""
     ca1 = self.topology.coords_adapter(X1)
     ca2 = self.topology.coords_adapter(X2)
     
     return find_best_permutation(ca1.posRigid, ca2.posRigid, permlist=self.permlist)
Exemplo n.º 3
0
 def find_permutation(self, X1, X2):
     return find_best_permutation(X1, X2, self.permlist, box_lengths=self.boxlengths)        
Exemplo n.º 4
0
 def find_permutation(self, X1, X2):
     return find_best_permutation(X1,
                                  X2,
                                  self.permlist,
                                  box_lengths=self.boxlengths)
Exemplo n.º 5
0
 def find_permutation(self, X1, X2):
     ca1 = self.topology.coords_adapter(X1)
     ca2 = self.topology.coords_adapter(X2)
     
     return find_best_permutation(ca1.posRigid, ca2.posRigid)