arpes.deep_learning.io.from_portable_bin
- arpes.deep_learning.io.from_portable_bin(path: pathlib.Path) numpy.ndarray [source]
Reads data from a relatively portable binary format.
A “portable” binary file is a directory containing a binary file and a very small json file which contains
dtype
shape
offset
We do this instead of using pickling in order to ensure that the data formats are portable.