save#
- orix.io.save(filename: str | Path, object2write: CrystalMap, overwrite: bool | None = None, **kwargs)[source]#
Write data to a supported file format listed in plugins.
- Parameters:
- filename
Name of file to write to.
- object2write
Object to write to file.
- overwrite
If not given and the file exists, the user is queried. If
True
(False
) the file is (not) overwritten if it exists.- **kwargs
Keyword arguments passed to the corresponding plugins’
file_writer()
. See their individual docstrings for available arguments.