comparison novelty.py @ 17:c01fcb752221

new annotations
author mitian
date Fri, 21 Aug 2015 10:15:29 +0100
parents a34f9c5d0cd9
children b4bf37f94e92
comparison
equal deleted inserted replaced
16:8b814fe5781d 17:c01fcb752221
86 else: 86 else:
87 kernel[i-1,j-1] = gauss 87 kernel[i-1,j-1] = gauss
88 88
89 return kernel 89 return kernel
90 90
91 def segmentation(ssm, peak_picker=peak_picker, kernel_size=48, normalise=False, plot=False): 91 def process(ssm, peak_picker=peak_picker, kernel_size=48, normalise=False, plot=False):
92 '''Detect segment boundaries in the ssm.''' 92 '''Detect segment boundaries in the ssm.'''
93 # peak_picker for the 1st round boudary detection 93 # peak_picker for the 1st round boudary detection
94 94
95 95
96 novelty = getNoveltyCurve(ssm, kernel_size, normalise=False) 96 novelty = getNoveltyCurve(ssm, kernel_size, normalise=False)