scipy.io.FortranFile.

read_ints#

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

从文件中读取给定类型的记录,默认为整数类型(Fortran 中的 INTEGER*4)。

参数:
dtypedtype,可选

数据类型,指定数据的大小和字节序。

返回:
datandarray

一维数组对象。