thouis / numpy-trac-migration

numpy Trac to github issues migration
2 stars 3 forks source link

normalized cross-correlation (migrated from Trac #1714) #3741

Open thouis opened 11 years ago

thouis commented 11 years ago

Original ticket http://projects.scipy.org/numpy/ticket/1714 Reported 2011-01-15 by trac user bubla, assigned to unknown.

Hello, I have made a patch that extends the correlate function so it can compute normalized cross-correlation now See [http://en.wikipedia.org/wiki/Cross-correlation#Normalized_cross-correlation the Wikipedia article].

I have added documentation and simple doctest too, of course. The patch is against the latest master Git

thouis commented 11 years ago

Attachment in Trac by trac user bubla, 2011-01-15: correlate.parch

thouis commented 11 years ago

Comment in Trac by atmention:rgommers, 2011-03-29

Since this is new functionality, you should ask on the mailing list whether this can be included.

A unit test is necessary, doctests are not executed by default in the test suite.