est.core.io.read_from_ascii#

est.core.io.read_from_ascii(file_path: str, columns_names: dict, energy_unit=<Unit('electron_volt')>, dimensions: ~typing.Sequence[int] | None = None, scan_title: str | None = None, timeout: float = 1.0) XASObject[source]#
Parameters:
  • file_path – path to the file containing the spectra. Must be a .dat file that pymca can handle

  • columns_names – name of the columns

  • dimensions – dimensions of the input data. Can be (X, Y) or (Y, X)

:return XasObject created from the input