{ } Raw JSON

bundles / scipy 1.17.1 / scipy / io / _fortran / FortranFile / read_ints

function

scipy.io._fortran:FortranFile.read_ints

source: /scipy/io/_fortran.py :295

Signature

def   read_ints ( self dtype = i4 )

Summary

Reads a record of a given type from the file, defaulting to an integer type (INTEGER*4 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_reals
read_record

Aliases

  • scipy.io.FortranFile.read_ints