save#
- EBSDDetector.save(filename: str | Path, convention: Literal['bruker', 'tsl', 'edax', 'amatek', 'oxford', 'aztec', 'emsoft', 'emsoft4', 'emsoft5'] = 'bruker', **kwargs) None[source]#
Save the 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”/”amatek”, “oxford”/”aztec”, “bruker”, and “emsoft”/”emsoft4”/”emsoft5”. “emsoft” and “emsoft5” is the same convention. See Notes in
EBSDDetectorfor 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.