Zarr, h5py and PyTables
Store large arrays on disk in chunks: Zarr (cloud-friendly), HDF5 via h5py or PyTables.
Intermediate
import h5py
with h5py.File("scope.h5", "w") as f:
f.create_dataset("ch1", data=samples, compression="gzip")
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.