epraya.Delaunay#

Delaunay(Exp, M=35)#

Implementation of a modificated version of the SOPHE method, in which all possible orientations of the system are represented as points over the surface of a radius 1 sphere, that can be divided pendending of the symmetries from the system. The points over the surface can be adapted using the Delaunay triangulation to a triangular grid of lenght M, with a weight for every triangle that counts for it’s contribution in the spectrum.

Parameters:
  • Exp (Class) – Container with the experimental conditions of the system.

  • M (int) – Number of segments that compose the grid.

Returns:

  • uvectors[ (,0] : np.array) – Vectors (points in the grid) to consider in the calculation of the spectrum in the x direction.

  • uvectors[ (,1] : np.array) – Vectors (points in the grid) to consider in the calculation of the spectrum in the y direction.

  • uvectors[ (,2] : np.array) – Vectors (points in the grid) to consider in the calculation of the spectrum in the z direction.

  • uweight (np.array) – Normalized value of the weight of the points to evaluate it’s contribution to the spectrum.

  • hulk (array_like) – Smaller convex poligon tha contains all the points require for the simulation.