save#

EBSDDetector.save(filename: str, convention: str = 'Bruker', **kwargs) None[source]#

Save detector in a text file with projection centers (PCs) in the given convention.

Parameters:
filename

Name of text file to write to. See savetxt() for supported file formats.

convention

PC convention. Default is Bruker’s convention. Options are “tsl”/”edax”, “oxford”, “bruker”, “emsoft”, “emsoft4”, and “emsoft5”. “emsoft” and “emsoft5” is the same convention. See Notes in EBSDDetector for conversions between conventions.

**kwargs

Keyword arguments passed to savetxt(), e.g. fmt="%.4f" to reduce the number of PC decimals from the default 7 to 4.