array_to_npy

array_to_npy#

stimupy.utils.export.array_to_npy(arr, filename)#

Save a numpy array to npy-file.

Parameters:
  • arr (numpy.ndarray) – array to be exported.

  • filename (Path or str) – (full) path to the file to be created.