Пример #1
0
 def compute_tangents(self, y):
     nebm_clib.compute_tangents(self.tangents, y, self.energies,
                                self.n_dofs_image, self.n_images)
     nebm_cartesian.project_images(self.tangents, y, self.n_images,
                                   self.n_dofs_image)
     nebm_cartesian.normalise_images(self.tangents, self.n_images,
                                     self.n_dofs_image)
Пример #2
0
    def compute_tangents(self, y):
        nebm_clib.compute_tangents(self.tangents, y, self.energies,
                                   self.n_dofs_image, self.n_images
                                   )

        nebm_cartesian.normalise_images(self.tangents,
                                        self.n_images, self.n_dofs_image
                                        )
Пример #3
0
    def compute_tangents(self, y):
        """
        Calculation of tangents from the Geodesic NEBM, so we can use the
        interpolation methods for the energy band

        TODO: An alternative approximation of the band can be made with simple
        spline interpolations although the GNEBM interpolation has more
        information of the gradients
        """
        nebm_clib.compute_tangents(self.tangents, y, self.energies,
                                   self.n_dofs_image, self.n_images
                                   )
        nebm_clib.project_images(self.tangents, y,
                                 self.n_images, self.n_dofs_image
                                 )
        nebm_clib.normalise_images(self.tangents,
                                   self.n_images, self.n_dofs_image
                                   )
Пример #4
0
 def compute_tangents(self, y):
     nebm_clib.compute_tangents(self.tangents, y, self.energies,
                                self.n_dofs_image, self.n_images
                                )
 def compute_tangents(self, y):
     nebm_clib.compute_tangents(self.tangents, y, self.energies,
                                self.n_dofs_image, self.n_images
                                )