{ } Raw JSON

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

function

scipy.io.matlab._miobase:read_dtype

source: /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