# HG changeset patch # User Nicolas Saunier # Date 1439243539 14400 # Node ID dad99b86a1046421c350904d7c6dd8b894b51afb # Parent 4e89341edd29f6fe41b9a0fc668e27da030446bb# Parent c6d4ea05a2d0493f33d270b78465ef5891954254 merge with default diff -r c6d4ea05a2d0 -r dad99b86a104 python/events.py --- a/python/events.py Mon Aug 10 01:06:59 2015 -0400 +++ b/python/events.py Mon Aug 10 17:52:19 2015 -0400 @@ -295,13 +295,15 @@ print('unknown type of point: '+pointType) return allPoints -def prototypeCluster(interactions, similarityMatrix, alignmentMatrix, indicatorName, minSimilarity): +def prototypeCluster(interactions, similarityMatrix, alignmentMatrix, indicatorName, minSimilarity, minClusterSize = None): '''Finds exemplar indicator time series for all interactions Returns the prototype indices (in the interaction list) and the label of each indicator (interaction) if an indicator profile (time series) is different enough (