py21cmfast.wrapper.arrays.H5Backend

class py21cmfast.wrapper.arrays.H5Backend

Bases: CacheBackend

Backend for caching arrays in a HDF5 file.

read()

Read an array from the cache.

Return type:

numpy.ndarray

write(val, overwrite=False)

Write an array to the cache.

Parameters:
  • val (numpy.ndarray)

  • overwrite (bool)

Return type:

None

__slots__ = ()
dataset: str
path: pathlib.Path