Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python normalized 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: #python #normalized #correlation
ADD COMMENT
Topic
Name
2+3 =