Skip to contents

This function creates a temporary HDF5 file with the minimal structure expected by the H5NeuroVec constructor (rtype, /space, /data).

Usage

create_minimal_h5_for_H5NeuroVec(dims = c(3L, 3L, 2L, 5L), file_path = NULL)

Arguments

dims

4D dimensions, e.g., c(3L, 3L, 2L, 5L).

file_path

Optional: path to HDF5 file. If NULL, a temp file is created.

Value

Path to the created HDF5 file.