scipy.io.FortranFile.read_ints#

FortranFile.read_ints(dtype='i4')[source]#

Reads a record of a given type from the file, defaulting to an integer type (INTEGER*4 in Fortran).

Parameters:
dtypedtype, optional

Data type specifying the size and endiness of the data.

Returns:
datandarray

A 1-D array object.