You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

35 lines
716 B

#ifndef HDF5SCENARIO_H
#define HDF5SCENARIO_H
#include "H5Cpp.h"
#include "hdf5.h"
#include "H5File.h"
#include "model/hardware/core/lowLevelApi/TrxBoard.h"
#define MAX_ARRAY_DEPTH 131072U
using namespace std;
using namespace H5;
class Hdf5
{
private:
H5File _file;
float_t floatArray[MAX_ARRAY_DEPTH];
template<class T>
void datasetBranch(const string& branchPath, T datasetValue[MAX_ARRAY_DEPTH]);
public:
void hdf5Path (const string &h5Path);
void scenarioRead (ScenGenHardwareOutput_t &scenParams);
void prbDependParamsRead (ScenPrbDepHardwareParam &prbDepParams);
QVector<quint32> stbRead (void);
QVector<float> lineFilterRead (void);
};
#endif // HDF5SCENARIO_H