SciPy

scipy.io.FortranFile.read_reals

FortranFile.read_reals(self, dtype='f8')[source]

Reads a record of a given type from the file, defaulting to a floating point number (real*8 in Fortran).

Parameters
dtypedtype, optional

Data type specifying the size and endiness of the data.

Returns
datandarray

A one-dimensional array object.

Previous topic

scipy.io.FortranFile.read_ints

Next topic

scipy.io.FortranFile.read_record