hyperspy.io_plugins.image module

hyperspy.io_plugins.image.file_reader(filename, **kwds)

Read data from any format supported by PIL.

Parameters

filename (str) –

hyperspy.io_plugins.image.file_writer(filename, signal, file_format='png', **kwds)

Writes data to any format supported by PIL

Parameters
  • filename (str) –

  • signal (a Signal instance) –

  • file_format (str) – The fileformat defined by its extension that is any one supported by PIL.