[Numpy-discussion] Only integer scalar arrays can be converted to a scalar index

2017-09-14 Thread Michael Bostock
Hi, I am trying to do a slding window on a cube (3D array) to get the average over a block of vertical 1D arrays. I have achieved this using the stride_tricks.asstrided but this will load the whole cube into memory at once and is not suitable for large cubes. I have also achieved it using an ndite

[Numpy-discussion] converting list of int16 values to bitmask and back to list of int32\float values

2017-09-14 Thread Nissim Derdiger
Hi all! I'm writing a Modbus TCP client using pymodbus3 library. When asking for some parameters, the response is always a list of int16. In order to make the values usable, I need to transfer them into 32bit bites, than put them in the correct order (big\little endian wise), and then to cast the

Re: [Numpy-discussion] Only integer scalar arrays can be converted to a scalar index

2017-09-14 Thread Elliot Hallmark
Won't any solution not using hdf5 or some other chunked on disk storage method load the whole cube into memory? ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion