Class HDF5Writer¶
Defined in File faccessors.py
Inheritance Relationships¶
Base Type¶
public faccessors.FileWriter(Class FileWriter)
Derived Type¶
public faccessors.HDF5PackedWriter(Class HDF5PackedWriter)
Class Documentation¶
- faccessors.HDF5Writer : public faccessors.FileWriter
A simple hdf5 backend.
Subclassed by faccessors.HDF5PackedWriter
Public Functions
- __init__(self, str file_name)¶
- __str__(self)¶
Return a string representation of the FileWriter interface
- open(self)¶
Connect to the DB (or open file if file-based DB)
- close(self)¶
Close DB
- __enter__(self)¶
- __exit__(self, exc_type, exc_val, exc_tb)¶
- store(self, np.array inputs, np.array outputs)¶
Store the two arrays in a hdf5 file
- get_file_format_suffix(cls)¶
Public Static Attributes
- suffix = "h5"¶
Protected Functions
- _store_dataset(self, dset_name, data)¶