Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to normalize scipy cross correlation

a = (a - np.mean(a)) / (np.std(a) * len(a))
b = (b - np.mean(b)) / (np.std(b))
c = np.correlate(a, b, 'full')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #normalize #scipy #cross #correlation
ADD COMMENT
Topic
Name
8+3 =