file_writer#

kikuchipy.io.plugins.nordif.file_writer(filename: str, signal: EBSD | LazyEBSD) → None[source]#

Write an EBSD signal to a NORDIF binary file.

Parameters:
filename

Full path of HDF file.

signal

Signal instance.

Notes

Patterns are written in flyback order (column index changing fastest), which is the C order of the data array of shape (n rows, n columns, n pattern rows, n pattern columns).