[Numpy-discussion] Overlapping time series

RayS rays at blue-cove.com
Tue Feb 11 09:13:02 EST 2014


At 06:07 AM 2/11/2014, you wrote:
>On 11/02/2014 14:56, Sturla Molden wrote:
> > Daniele Nicolodi <daniele at grinta.net> wrote:
> >
> >> Correct me if I'm wrong, but this assumes that missing data points are
> >> represented with Nan.  In my case missing data points are just missing.
> >
> > Then your data cannot be stored in a 2 x N array as you indicated.
>
>I was probably not that clear: I have two 2xN arrays, one for each data
>recording, one column for time (taken from the same clock for both
>measurements) and one with data values.  Each array has some gaps.

gaps at the ends I assume...
use numpy.where() with the time channel as the condition

- Ray






More information about the NumPy-Discussion mailing list