Class HDF5PackedReader¶
Defined in File faccessors.py
Inheritance Relationships¶
Base Type¶
public faccessors.FileReader(Class FileReader)
Class Documentation¶
- faccessors.HDF5PackedReader : public faccessors.FileReader
load the data in the file and return a tupple of the inputs, outputs This reader DOES NOT assume the data being written by the application in C/C++. Instead it assumes 2 datasets in the hdf5 file one for the inputs and one for the outputs Returns: A pair of input, output numpy darrays
Public Functions
- __init__(self, str file_name)¶
- open(self)¶
Open File
- close(self)¶
Close File
- __enter__(self)¶
- __exit__(self, exc_type, exc_val, exc_tb)¶
- load(self)¶
load the data in the file and return a tupple of the inputs, outputs
- get_file_format_suffix(cls)¶
Public Static Attributes
- suffix = "h5"¶