slmsuite.misc.files
Utilities for interfacing with files.
This includes helper functions for naming directories without conflicts, and convenience
wrappers for file writing. slmsuite
uses the
HDF5 filetype
(.h5) by default, as it is fast, compact, and
widely supported by programming languages for scientific computing.
This uses the h5py
module.
Functions
Generate a file path like |
|
Obtains the path for the file or directory in |
|
Read data from an h5 file into a dictionary. |
|
Write data in a dictionary to an h5 file. |