FiberIO

class of dascore.io.core source

FiberIO()

Interface for a fiber data format; subclass it to add format support.

Methods

Name Description
get_format Derive the format name and version from the family detector.
get_metadata Return the metadata of each logical patch in a resource.
get_version Return this family’s file version, or None for another family.
read Read patches by selecting metadata and loading the resulting array windows.
read_array Read one logical patch’s array over half-open positional windows.
scan Return patch metadata; the dispatcher attaches source provenance.
write Write the spool to a resource (eg path, stream, etc.).