I need to port some code from python (a prototype which i haven’t written), into C# and C++.
The original python code makes use of scipy.ndimage.filters correlate1d with the mode = “wrap”. As far as I understood, wrap is a manner of normalizing the output of the correlation.
Do you know of any C++ (or C#/.Net) available function/library that would perform such an algorithm (it should provides a really similar output), or do you know of what the algorithm in wrap mode corresponds to ? I could code the algorithm as a solution, but I have no idea what is the formula behind the wrap mode.
@JoeKington had commented the question giving the link to github branch of scipy, with the C code for the function correlate1d..