mat7.3:加载MATLAB 7.3 .mat文件。 即将hdf5加载到Python数据类型中

时间:2021-05-08 00:11:53
【文件属性】:
文件名称:mat7.3:加载MATLAB 7.3 .mat文件。 即将hdf5加载到Python数据类型中
文件大小:1.28MB
文件格式:ZIP
更新时间:2021-05-08 00:11:53
Python 垫子7.3 将MATLAB 7.3 .mat文件加载到Python中。 从MATLAB 7.3开始, .mat文件已更改为存储为自定义hdf5文件。 这意味着它们不能再由scipy.io.loadmat加载并提升。 NotImplementedError : Please use HDF reader for matlab v7 . 3 files 快速开始 该库将MATLAB 7.3 HDF5文件加载到Python字典中。 import mat73 data_dict = mat73 . loadmat ( 'data.mat' ) 就这么简单! 通过启用use_attrdict=True您甚至可以将structs子条目作为属性访问,就像在MATLAB中一样: data_dict = mat73 . loadmat ( 'data.mat' , use_attrdict =
【文件预览】:
mat7.3-master
----.github()
--------workflows()
----LICENSE(34KB)
----setup.cfg(39B)
----setup.py(757B)
----README.md(2KB)
----mat73()
--------__init__.py(8KB)
----tests()
--------create_mat.m(1KB)
--------testfile1.mat(38KB)
--------testfile3.mat(160KB)
--------test_mat73.py(14KB)
--------testfile2.mat(44KB)
--------testfile5.mat(40KB)
--------testfile4.mat(1.47MB)
----.gitignore(2KB)

网友评论