foxes.core.Algorithm.find_chunk_in_store(mdata, tdata=None, prev_s=0, prev_t=0, error=True)[source]

Finds indices in chunk store

Parameters

name: str

The data name

mdata: foxes.core.MData

The mdata object

tdata: foxes.core.TData, optional

The tdata object

prev_s: int

How many states chunks backward

prev_t: int

How many points chunks backward

error: bool

Flag for raising KeyError if data not found

Returns

inds: tuple

The (i0, n_states, t0, n_targets) data of the returning chunk