eradiate.kernel.write_binary_grid3d# eradiate.kernel.write_binary_grid3d(filename, values)[source]# Write volume data to a binary file so that a gridvolume kernel plugin can be instantiated with that file. Parameters: filename (path-like) – File name. values (ndarray or DataArray) – Data array to output to the volume data file. This array must have 3 or 4 dimensions (x, y, z, spectrum). If the array is 3-dimensional, it will automatically be assumed to have only one spectral channel.