[SciPy-User] synchronizing timestamps from different systems; unpaired linear regression

Chris Rodgers xrodgers@gmail....
Fri Apr 13 18:22:16 CDT 2012


On Thu, Apr 12, 2012 at 12:00 AM, srean <srean.list@gmail.com> wrote:
> There have many good suggestions, I will add another. One option would
> be to model this via dynamic programming. I think searching for
> "sequence alignment" and "time warping" will give you a lot of helpful
> hits.

That is a great tip, thanks. I knew someone must have worked on this
problem before. I will see how they solved the problem instead of
reinventing the wheel. I see DTW is included in mlpy. Also, estimating
clock skew from autocorrelations sounds like it would definitely work.


Samuel: Actually these are not spikes but behavioral events
(nosepokes, stimulus onsets)



> And this was because a $5000 biomedial TTL generator was not accurate
> enough ... unlike an 10-15 year old 386 computer I found in the trash.

My case is not the same because these clocks were never intended to be
used in this way. But I sympathize with your frustration. One can sell
the exact same piece of equipment for 10x more if it is labeled as
"biomedical". If there is one thing I have learned in my PhD, it is
that you make a lot more money selling research hardware than using
it.


Thanks all!

On Thu, Apr 12, 2012 at 9:59 AM, Nathaniel Smith <njs@pobox.com> wrote:
> On Thu, Apr 12, 2012 at 4:25 PM, Sturla Molden <sturla@molden.no> wrote:
>> I solved the problem by measuring the relative clock rates very
>> accurately (by time-staming TTL signals from the parallel port a
>> computer running MS-DOS),
>
> If anyone goes this way, it turns out that Linux these days can
> actually handle this sort of precision-timed TTL signaling about as
> well as MS-DOS, and it's a heck of a lot easier to set up. You can
> even do it from Python+Cython.
>
> - N
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user


More information about the SciPy-User mailing list