obspy.io.mseed.util._ctypes_array_2_numpy_array

_ctypes_array_2_numpy_array(buffer_, buffer_elements, sampletype)[source]

Takes a Ctypes array and its length and type and returns it as a NumPy array.

Parameters:
  • buffer Ctypes c_void_p pointer to buffer.
  • buffer_elements length of the whole buffer
  • sampletype type of sample, on of “a”, “i”, “f”, “d”