Skip to content

Core

ArrayStore(path, mode='r', disk_format=DiskFormat.NONE, **kwargs)

Bases: Store, ABC

Abstract interface for storing and retrieving arrays, e.g., coordinates, velocities, forces.

kind = StoreKind.ARRAY

iter(path, elements=None, view=None, chunk_size=1, **kwargs)

Yield chunks of data instead of reading all into memory.

PARAMETER DESCRIPTION

path

TYPE: Path | str

view

View for all but the first dimension.

TYPE: OptionalSliceSpec DEFAULT: None

chunk

Number of data points of the first axis to yield.

shape(path)

Get the shape of the underlying array.