anu_ctlab_io.raw ================ .. py:module:: anu_ctlab_io.raw .. autoapi-nested-parse:: Raw binary format support for :any:`anu_ctlab_io`. Provides write-only support for headerless raw binary files (C-order, little-endian). No optional extras are required for this format. Package Contents ---------------- .. py:function:: dataset_to_raw(dataset, path) Write dataset data to a headerless raw binary file. Elements are written in C-order (row-major), little-endian byte order, with no metadata. The dtype matches the source dataset exactly. Data is written incrementally: X/Y dimensions are merged into a single chunk and one Z-slab is computed and flushed to disk at a time, keeping memory usage proportional to one Z-chunk rather than the full array. :param dataset: The :any:`Dataset` to write. :param path: The path to write the raw binary file to.