Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/io/matlab/mio4.py: 83%
6 statements
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-14 06:37 +0000
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-14 06:37 +0000
1# This file is not meant for public use and will be removed in SciPy v2.0.0.
2# Use the `scipy.io.matlab` namespace for importing the functions
3# included below.
5from scipy._lib.deprecation import _sub_module_deprecation
7__all__ = [ # noqa: F822
8 'MatFile4Reader', 'MatFile4Writer', 'SYS_LITTLE_ENDIAN',
9 'VarHeader4', 'VarReader4', 'VarWriter4', 'arr_to_2d', 'mclass_info',
10 'mdtypes_template', 'miDOUBLE', 'miINT16', 'miINT32', 'miSINGLE',
11 'miUINT16', 'miUINT8', 'mxCHAR_CLASS', 'mxFULL_CLASS', 'mxSPARSE_CLASS',
12 'np_to_mtypes', 'order_codes', 'MatFileReader', 'docfiller',
13 'matdims', 'read_dtype', 'convert_dtypes', 'arr_to_chars',
14 'arr_dtype_number', 'squeeze_element', 'chars_to_strings'
15]
17def __dir__():
18 return __all__
21def __getattr__(name):
22 return _sub_module_deprecation(sub_package="io.matlab", module="mio4",
23 private_modules=["_mio4"], all=__all__,
24 attribute=name)