This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / io / matlab / _miobase / read_dtype

function

scipy.io.matlab._miobase:read_dtype

source: build-install/usr/lib/python3.14/site-packages/scipy/io/matlab/_miobase.py:157

Signature

def read_dtype(mat_stream, a_dtype)

Summary

Generic get of byte stream data of known type

Parameters

mat_stream : file_like object

MATLAB (tm) mat file stream

a_dtype : dtype

dtype of array to read. a_dtype is assumed to be correct endianness.

Returns

arr : ndarray

Array of dtype a_dtype read from stream.

Aliases

  • scipy.io.matlab._mio4.read_dtype