python读取HDF5文件

一、安装方法

1
pip install h5py

二、使用方法

1
2
3
import h5py
filename = 'H-H1_LOSC_4_v1-815411200-4096.hdf5'
data = h5py.File(filename, 'r')