Changeset 1225


Ignore:
Timestamp:
04/19/23 17:53:56 (20 months ago)
Author:
oriona
Message:

New deafult params set, unnecessary print removed.

File:
1 edited

Legend:

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

    r1224 r1225  
    1212    EPSILON = 0.0001
    1313   
    14     def __init__(self, frams_module=None, density = 10, resolution = 3, reduce_empty=True, frequency=False, metric = 'emd', fixedZaxis=False, verbose=False):
     14    def __init__(self, frams_module=None, density = 10, resolution = 8, reduce_empty=True, frequency=False, metric = 'emd', fixedZaxis=False, verbose=False):
    1515        """ __init__
    1616        Args:
     
    245245        s1, s2 = self.getSignaturesForPair(voxels1, voxels2)
    246246
    247         if numvox1 != sum(s1[1]) or numvox2 != sum(s2[1]):
    248             print("Bad signature!")
    249             print("Base voxels fig1: ", numvox1, " fig2: ", numvox2)
    250             print("After reduction voxels fig1: ", sum(s1[1]), " fig2: ", sum(s2[1]))
    251             raise RuntimeError("Bad signature!")
    252 
    253247        reduce_fun = self.reduceEmptySignatures_Frequency if self.frequency else self.reduceEmptySignatures_Density
    254248        if self.reduce_empty:
Note: See TracChangeset for help on using the changeset viewer.