tomodrgn.utils.first_n_factors#

first_n_factors()[source]#

Decorator. Caches a function’s return value each time it is called. If called later with the same arguments, the cached value is returned (not reevaluated).