obspy.io.gse2.libgse2.read_integer_data

read_integer_data(fh, npts)[source]

Reads npts points of uncompressed integers from given file handler.

Parameters:
  • fh (file) File Pointer
  • npts (int) Number of samples to read
Return type:

numpy.ndarray, dtype=int32

Returns:

Data as numpy.ndarray of type int32.