modelarrayio.cli.utils.write_hdf5_scalar_matrices

modelarrayio.cli.utils.write_hdf5_scalar_matrices(h5_file: File, scalars: Mapping[str, Sequence[ndarray]], sources_by_scalar: Mapping[str, Sequence[str]], *, storage_dtype: str, compression: str, compression_level: int, shuffle: bool, chunk_voxels: int, target_chunk_mb: float) None[source]

Write per-scalar matrices into an open HDF5 file.