At 06:07 AM 2/11/2014, you wrote: >On 11/02/2014 14:56, Sturla Molden wrote: > > Daniele Nicolodi <dani...@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 _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion