FERS 1.0.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
hdf5_handler.cpp File Reference

Source file for HDF5 data export and import functions. More...

#include "hdf5_handler.h"
#include <algorithm>
#include <complex>
#include <filesystem>
#include <format>
#include <highfive/highfive.hpp>
#include <stdexcept>
#include "core/logging.h"
#include "core/parameters.h"
+ Include dependency graph for hdf5_handler.cpp:

Go to the source code of this file.

Namespaces

namespace  serial
 

Functions

void serial::writeOutputFileMetadataAttributes (HighFive::File &file, const core::OutputFileMetadata &metadata)
 Writes additive FERS output metadata attributes to an open HDF5 file.
 
void serial::readPulseData (const std::string &name, std::vector< ComplexType > &data)
 Reads pulse data from an HDF5 file.
 
void serial::addChunkToFile (HighFive::File &file, const std::vector< ComplexType > &data, RealType time, RealType fullscale, unsigned count, const core::PulseChunkMetadata *metadata=nullptr)
 Adds a chunk of data to an HDF5 file.
 
std::vector< std::vector< RealType > > serial::readPattern (const std::string &name, const std::string &datasetName)
 Reads a 2D pattern dataset from an HDF5 file.
 

Variables

std::mutex serial::hdf5_global_mutex
 Global mutex to protect all HDF5 C-library calls, which are not thread-safe.
 

Detailed Description

Source file for HDF5 data export and import functions.

Definition in file hdf5_handler.cpp.