Class PheSAAlignment


  • public class PheSAAlignment
    extends java.lang.Object
    • Method Detail

      • initialTransform

        public static double[][] initialTransform​(int mode)
        . generate initial orientations of the molecule: mode1: 4 orientations: initial orientation and 180 degree rotation about each axis mode2: mode1 and 90 degree rotations about each axis a transformation vector consists of 7 elements: the first 4 elements form a Quaternion and describe the rotation the last three elements are the translation vector
        Parameters:
        mode -
        Returns:
      • getSelfAtomOverlapRef

        public double getSelfAtomOverlapRef()
      • getSelfAtomOverlapFit

        public double getSelfAtomOverlapFit()
      • getSelfPPOverlapRef

        public double getSelfPPOverlapRef()
      • getSelfPPOverlapFit

        public double getSelfPPOverlapFit()
      • rotateMol

        public static void rotateMol​(Conformer conf,
                                     Quaternion rotor,
                                     double[] transl)
      • rotateMol

        public static void rotateMol​(StereoMolecule mol,
                                     double[][] m)
      • rotateMol

        public static void rotateMol​(Conformer conf,
                                     double[][] m)
      • translateMol

        public static void translateMol​(StereoMolecule mol,
                                        double[] translate)
      • multiplyMatrix

        public static void multiplyMatrix​(double[][] r,
                                          double[][] s,
                                          double[][] rs)
      • multiplyInverseMatrix

        public static void multiplyInverseMatrix​(double[][] r,
                                                 double[][] s,
                                                 double[][] rs)
      • getRotationMatrix

        public static void getRotationMatrix​(double theta,
                                             Coordinates axis,
                                             double[][] r)
      • findAlignment

        public double[] findAlignment​(double[][] initialTransforms,
                                      TransformationSequence optimizedTransform)
      • findAlignment

        public double[] findAlignment​(double[][] initialTransforms,
                                      TransformationSequence optimizedTransform,
                                      boolean optimize)
      • findAlignment

        public double[] findAlignment​(double[][] initialTransforms,
                                      TransformationSequence optimizedTransform,
                                      boolean optimize,
                                      boolean tversky)