Describe the bug
Voronoi diagrams calculated in 2D boxes return the expected results, however, the Delauny triangulation returned is incorrect. Expected results can be obatined using scipy.spatial.Delauny or with 3D structural equivelants.
Where plots from the 2D case were created using the line voro('2D_file.gsd', is2D=True and the flattened 3D case were created using the line voro('3D_file.gsd').
Scipy results were produced with the following code:
Where plots from the 2D case were created using the line delauny('2D_file.gsd', is2D=True and the flattened 3D case were created using the line delauny('3D_file.gsd').
Error output
For the 2D case, the expected output, calculated from scipy.spatial.Delauny is:
Freud returns the following result:
In the 3D case, you get the expected output. scipy.spatial.Delauny returns:
Freud returns a similar results:
System configuration (please complete the following information):
Describe the bug Voronoi diagrams calculated in 2D boxes return the expected results, however, the Delauny triangulation returned is incorrect. Expected results can be obatined using
scipy.spatial.Delauny
or with 3D structural equivelants.To Reproduce Using the following function:
Where plots from the 2D case were created using the line
voro('2D_file.gsd', is2D=True
and the flattened 3D case were created using the linevoro('3D_file.gsd')
.Scipy results were produced with the following code:
Where plots from the 2D case were created using the line
delauny('2D_file.gsd', is2D=True
and the flattened 3D case were created using the linedelauny('3D_file.gsd')
.Error output For the 2D case, the expected output, calculated from
scipy.spatial.Delauny
is: Freud returns the following result:In the 3D case, you get the expected output.
scipy.spatial.Delauny
returns: Freud returns a similar results:System configuration (please complete the following information):