Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/io/matlab/mio5.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 'mclass_info', 'mxCHAR_CLASS', 'mxSPARSE_CLASS',
9 'BytesIO', 'native_code',
10 'swapped_code', 'MatFileReader', 'docfiller', 'matdims',
11 'read_dtype', 'arr_to_chars', 'arr_dtype_number', 'MatWriteError',
12 'MatReadError', 'MatReadWarning', 'VarReader5', 'MatlabObject',
13 'MatlabFunction', 'MDTYPES', 'NP_TO_MTYPES', 'NP_TO_MXTYPES',
14 'miCOMPRESSED', 'miMATRIX', 'miINT8', 'miUTF8', 'miUINT32',
15 'mxCELL_CLASS', 'mxSTRUCT_CLASS', 'mxOBJECT_CLASS', 'mxDOUBLE_CLASS',
16 'mat_struct', 'ZlibInputStream', 'MatFile5Reader', 'varmats_from_mat',
17 'EmptyStructMarker', 'to_writeable', 'NDT_FILE_HDR', 'NDT_TAG_FULL',
18 'NDT_TAG_SMALL', 'NDT_ARRAY_FLAGS', 'VarWriter5', 'MatFile5Writer'
19]
21def __dir__():
22 return __all__
25def __getattr__(name):
26 return _sub_module_deprecation(sub_package="io.matlab", module="mio5",
27 private_modules=["_mio5"], all=__all__,
28 attribute=name)