bundles / scipy 1.17.1 / scipy / io / matlab / _miobase / read_dtype
function
scipy.io.matlab._miobase:read_dtype
Signature
def read_dtype ( mat_stream , a_dtype ) Summary
Generic get of byte stream data of known type
Parameters
mat_stream: file_like objectMATLAB (tm) mat file stream
a_dtype: dtypedtype of array to read.
a_dtypeis assumed to be correct endianness.
Returns
arr: ndarrayArray of dtype
a_dtyperead from stream.
Aliases
-
scipy.io.matlab._mio4.read_dtype