Class HDF5CLibReader¶
Defined in File faccessors.py
Inheritance Relationships¶
Base Type¶
public faccessors.FileReader(Class FileReader)
Class Documentation¶
- faccessors.HDF5CLibReader : public faccessors.FileReader
An HDF5 reader for files generated directly by the C/C++ code.
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 We assume the file is produced by the C/C++ front-end. Thus the file will have a generic header row specifying the inputs/outputs Returns: A pair of input, output data values
- get_file_format_suffix(cls)¶
Public Static Attributes
- suffix = "h5"¶
Protected Functions
- _pack_dsets_to_list(self, dsets, selector)¶