openpiv_cxx.tools.save

openpiv_cxx.tools.save(filename, fmt='%8.4f', delimiter='\t', **kwargs)

Save flow field to an ascii file.

Parameters:
  • filename (string) – The path of the file where to save the flow field.

  • fmt (string) – A format string. See documentation of numpy.savetxt for more details.

  • delimiter (string) – Character separating columns.

  • **kwargs (ndarray) – Components to save.

Examples

openpiv_cxx.tools.save(

‘dummy.txt’, x = x, y = y, u = u, v = v

)