scipy.io.FortranFile.read_reals

FortranFile.read_reals(dtype='f8')[源代码]

从文件中读取给定类型的记录,默认为浮点数 (real*8 在Fortran中)。

参数
dtype数据类型,可选

指定数据大小和持久性的数据类型。

退货
datandarray

一维数组对象。