kms15/axographio

Off by one error in times column

Closed this issue · 1 comments

For some files, a round off error would occur when converting the time
column to an array, resulting in one extra data point.  This was caused by
using np.arange (which counts up to but not including an upper bound)
rather than np.linspace (which gives n datapoint between an upper and lower
bound, optionally excluding the upper bound).  Round off errors can cause
the upper bound to be effectively included for arange, but not for linspace.  

Thanks to Hillel Chiel for finding this error.  

Original issue reported on code.google.com by Kendrick...@gmail.com on 21 Jul 2009 at 10:34

This is fixed in the currently posted version (0.1.1b)

Original comment by Kendrick...@gmail.com on 21 Jul 2009 at 10:35