write_2_images#

pyflct.utils.write_2_images(filename, array1, array2, order='row')[source]#

Write two arrays of the same size to a dat file.

Parameters:
  • filename (str) – The name of dat file.

  • array1 (numpy.ndarray) – The first array to be stored.

  • array2 (numpy.ndarray) – The second array to be stored.

  • order ({"row" | "column"}, optional) – The order in which the array elements are stored that is whether they are stored as row major or column major. Defaults to “row”.