Closed philipstarkey closed 6 years ago
Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).
Resolves issue #25, where IndexError was raised in extract_measurements of NI devices since numpy 1.12.
β \<\<cset d7aabfab49127249688e490936b63d398d69cf69>>
Original report (archived issue) by Russell Anderson (Bitbucket: rpanderson, GitHub: rpanderson).
As of numpy 1.12, indexing with floats raises
IndexError
. This occurs inextract_measurements
, asnumpy.floor
andnumpy.ceil
(used to definestart_index
andstop_index
) return floats.