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, compute = True, **kwargs) 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 via ``dask.array.store`` using a single ``compute()`` call, with each chunk sought to its correct byte offset so chunks may be written in any order. :param dataset: The :any:`Dataset` to write. :param path: The path to write the raw binary file to.