read_2_images

pyflct.utils.read_2_images(filename, order='row')[source]

Reads two arrays of the same size from a dat file.

Note

This function can be used to read only special arrays which were written using the write functions in pyflct or the IDL IO routines as given on the FLCT website.

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

  • 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”.

Returns

tuple – A tuple containing two ndarray.