from_sources

method of dascore.core.lazy_array.LazyArray source

from_sources(
    sources: collections.abc.Sequence[ArraySource] ,
    starts = None,
    axis: int = 0,
    shape: tuple[tuple[int, …], None] = None,
    base_uri: str = ““,
)-> ‘LazyArray’

Return an array which reads one member from each source.

Parameters

Parameter Description
sources The loadable sources, each of which states the extent of its
whole array.
starts The corner each source is placed at, as an (n, ndim) array of
sample numbers. By default the sources are laid end to end.
axis The axis the sources are laid along when starts is not given.
shape The shape of the output; the smallest which holds every
member by default.
base_uri A prefix the sources’ paths are stored relative to. A path
which does not start with it is stored whole, and a member’s
path is always the two joined.