This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / io / _fortran / FortranFile / read_reals

function

scipy.io._fortran:FortranFile.read_reals

source: build-install/usr/lib/python3.14/site-packages/scipy/io/_fortran.py:316

Signature

def read_reals(self, dtype = f8)

Summary

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

Parameters

dtype : dtype, optional

Data type specifying the size and endianness of the data.

Returns

data : ndarray

A 1-D array object.

See also

read_ints
read_record

Aliases

  • scipy.io.FortranFile.read_reals