autopew.io.EPMA.JEOL

Export function for the JEOL field-emission gun electron probe microanalyser (EPMA) using “probe for EPMA”.

autopew.io.EPMA.JEOL.write_pos(df, filepath=PosixPath('exportedpoints.pos'), encoding='cp1252', z=10.7, **kwargs)[source]

Export an dataframe of coordinates to a .pos file.

Parameters:
  • df (pandas.DataFrame) – Dataframe containing points to serialise.
  • filepath (str | pathlib.Path) – Filepath for export.
  • encoding (str) – Encoding for the output file.
  • z (int) – Optional specification of default focus value to use.
Returns:

Return type:

pandas.DataFrame