Changeset 1223
- Timestamp:
- 04/17/23 18:55:05 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/dissimilarity/density-distribution.py
r1221 r1223 6 6 7 7 class DensityDistribution: 8 """ Dissimilarity measures based on the distribution. The structure's bounding box is divided into equal-sized cuboids, the number of which depends on the 'steps' parameter. Then the structure's surface is covered with points, the density of the surface's sampling depends on the 'density' parameter. There are two versions of the measure. In the default version ('frequency'=False) a signature is computed as centroids and a number of samples in each cuboid. In the 'frequency' version FFT is computed from the vector containing the number of samples in each cuboid. The distance between signatures can be computed using EMD, L1, or L2 norms. 9 """ 8 10 libm = cdll.LoadLibrary(find_library('m')) 9 11 EPSILON = 0.0001
Note: See TracChangeset
for help on using the changeset viewer.