MilliVolt / matcher

GNU General Public License v3.0
1 stars 0 forks source link

two failed ffi powered cross correlation attempt to nail the offset #33

Open myf opened 8 years ago

myf commented 8 years ago

branches: https://github.com/MilliVolt/matcher/tree/ffi-myf https://github.com/MilliVolt/matcher/tree/ffi-scipy-myf

the exercise started since we are looking for a more vectorized way to run the matcher instead of for loop. the inspiration is drawn from https://stackoverflow.com/questions/4688715/find-time-shift-between-two-similar-waveforms . Assuming the two time series as waveforms, then there are tried-and-true ways to align them.

the result is a bit letdown, both assumed that offset should be 5 between two perfectly aligned data.

I'm just documenting it here for future references.