Answers for "how to normalize scipy cross correlation"

0

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')
Posted by: Guest on June-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language