Ignore:
Timestamp:
04/17/23 18:55:05 (19 months ago)
Author:
oriona
Message:

Description of the measures added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/dissimilarity/density-distribution.py

    r1221 r1223  
    66
    77class 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    """
    810    libm = cdll.LoadLibrary(find_library('m'))
    911    EPSILON = 0.0001
Note: See TracChangeset for help on using the changeset viewer.