scarlet.cache

class scarlet.cache.Cache[source]

Bases: object

Cache to hold all complex proximal operators, transformation etc.

Convention to use is that the lookup name refers to the class or method that pushes content onto the cache, the key can be chosen at will.

Methods

check

set

static check(name, key)[source]
static set(name, key, content)[source]