py21cmfast.wrapper.arrays.H5Backend¶
- class py21cmfast.wrapper.arrays.H5Backend¶
Bases:
CacheBackendBackend for caching arrays in a HDF5 file.
- read() numpy.ndarray¶
Read an array from the cache.
- Return type:
numpy.ndarray
- write(val: numpy.ndarray, overwrite: bool = False) None¶
Write an array to the cache.
- Parameters:
val (numpy.ndarray)
overwrite (bool)
- Return type:
None
- dataset: str¶
- path: pathlib.Path¶