arpes.deep_learning.io.from_portable_bin#

arpes.deep_learning.io.from_portable_bin(path)[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

  1. dtype

  2. shape

  3. offset

We do this instead of using pickling in order to ensure that the data formats are portable.