py21cmfast.cache_tools.clear_cache

py21cmfast.cache_tools.clear_cache(**kwargs)[source]

Delete datasets in the cache.

Walks through the cache, with given filters, and deletes all un-initialised dataset objects, optionally printing their representation to screen.

Parameters:

kwargs – All options passed through to query_cache().