-
foxes.core.Algorithm.get_from_chunk_store(name, mdata, tdata=
None
, prev_s=0
, prev_t=0
, ret_inds=False
, error=True
)[source] Get data to the 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
- ret_inds: bool
Also return (i0, n_states, t0, n_targets) of the returned chunk
- error: bool
Flag for raising KeyError if data not found
Returns¶
- data: numpy.ndarray
The data
- inds: tuple, optional
The (i0, n_states, t0, n_targets) data of the returning chunk