romtools.vector_space.utils.snapshot_loader#
Interfaces for loading snapshot blocks on demand.
Classes
|
Interface for loading a contiguous range of snapshots. |
- class romtools.vector_space.utils.snapshot_loader.SnapshotLoader(*args, **kwargs)[source]#
Bases:
ProtocolInterface for loading a contiguous range of snapshots.
The final axis of the returned array is the snapshot axis and must contain exactly
end - startsnapshots.startis inclusive andendis exclusive. The dimensions preceding the snapshot axis represent the local state shape and must remain consistent between calls.