![]() |
PURIFY
Next-generation radio interferometric imaging
|
Purify interface class to handle HDF5 input files. More...
#include <h5reader.h>
Public Member Functions | |
H5Handler ()=delete | |
H5Handler (const std::string &filename) | |
Default constructor (serial behaviour) More... | |
template<typename T = double> | |
std::vector< T > | read (const std::string &label) const |
Method to read the entire dataset. More... | |
template<typename T = double> | |
std::vector< T > | distread (const std::string &label) |
template<typename T = double> | |
std::vector< T > | stochread (const std::string &label, size_t batchsize, bool shuffle=false) |
Purify interface class to handle HDF5 input files.
Definition at line 48 of file h5reader.h.
|
delete |
|
inline |
Default constructor (serial behaviour)
Definition at line 55 of file h5reader.h.
|
inline |
Method to read a dataset slice with slices evenly split across MPI ranks
Definition at line 84 of file h5reader.h.
References read().
Referenced by TEST_CASE().
|
inline |
Method to read the entire dataset.
Definition at line 76 of file h5reader.h.
Referenced by distread(), purify::H5::read_visibility(), stochread(), and TEST_CASE().
|
inline |
Method to stochastically draw a subset from the distributed dataset slice
Definition at line 96 of file h5reader.h.
References read().
Referenced by purify::H5::stochread_visibility(), and TEST_CASE().