- Timestamp:
- 04/17/23 02:36:01 (21 months ago)
- Location:
- framspy
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/FramsticksLib.py
r1220 r1221 151 151 """ 152 152 :param method: -1 = genetic Levenshtein distance; 0, 1, 2 = phenetic dissimilarity (SimilMeasureGreedy, SimilMeasureHungarian, SimilMeasureDistribution); -2, -3 = phenetic density distribution (count, frequency). 153 See also prepareDissimilarityCalculation().154 153 :return: A square array with dissimilarities of each pair of genotypes. 155 154 """ -
framspy/dissimilarity/density-distribution.py
r1219 r1221 187 187 """ 188 188 189 min_x = np.min([np.min(array1[:,0]),np.min(array2[:,0])]) 189 min_x = np.min([np.min(array1[:,0]),np.min(array2[:,0])]) 190 190 max_x = np.max([np.max(array1[:,0]),np.max(array2[:,0])]) 191 191 min_y = np.min([np.min(array1[:,1]),np.min(array2[:,1])]) … … 248 248 print("Base voxels fig1: ", numvox1, " fig2: ", numvox2) 249 249 print("After reduction voxels fig1: ", sum(s1[1]), " fig2: ", sum(s2[1])) 250 raise ValueError("B Ad signature!")250 raise ValueError("Bad signature!") 251 251 252 252 reduce_fun = self.reduceSignaturesFreq if self.frequency else self.reduceSignaturesDens -
framspy/recording-body-coords.sim
r1170 r1221 15 15 # Adjust 'Energy0' to achieve the lifespan you need. 16 16 # 'evalcount' should likely be 1 unless you need other performance criteria (like vertpos or distance) averaged from multiple evaluations. 17 # Put this file in the "data" subdirectory within the Framsticks distribution .17 # Put this file in the "data" subdirectory within the Framsticks distribution unless you prefer to provide its path when loading. 18 18 19 19 sim_params:
Note: See TracChangeset
for help on using the changeset viewer.