{ } Raw JSON

bundles / scipy latest / scipy / io / matlab / _miobase / convert_dtypes

function

scipy.io.matlab._miobase:convert_dtypes

source: /scipy/io/matlab/_miobase.py :134

Signature

def   convert_dtypes ( dtype_template order_code )

Summary

Convert dtypes in mapping to given order

Parameters

dtype_template : mapping

mapping with values returning numpy dtype from np.dtype(val)

order_code : str

an order code suitable for using in dtype.newbyteorder()

Returns

dtypes : mapping

mapping where values have been replaced by np.dtype(val).newbyteorder(order_code)

Aliases

  • scipy.io.matlab._mio4.convert_dtypes