LazyArray

class of dascore.lazy.array source

LazyArray(
    recipe ,
    chain = None,
)

A recipe, and the operations pending on it.

Parameters

Parameter Description
recipe Which stored samples fill which box of the array.
chain The operations to run on the recipe’s array, in order; none by
default, when the array is the recipe’s.
Note

No slicing or transposing: a patch whose data are lazy runs only the operations which state a chunk contract, and metadata-only ones.

Methods

Name Description
load Read the recipe and run every pending step, in memory.