py21cmfast.wrapper.arrays.CacheBackend¶
- class py21cmfast.wrapper.arrays.CacheBackend¶
Bases:
abc.ABCAbstract base class for cache backends.
- abstractmethod read() numpy.ndarray¶
Read an Array from the cache.
- Return type:
numpy.ndarray
- abstractmethod write(val: numpy.ndarray) None¶
Write an Array to the cache.
- Parameters:
val (numpy.ndarray)
- Return type:
None