Class AnalyticalParameterHdf5Reader

Inheritance Relationships

Base Type

Class Documentation

class AnalyticalParameterHdf5Reader : public parpe::AnalyticalParameterProvider

The AnalyticalParameterHdf5Reader class reads from an HDF5 file the dependencies of experimental conditions and observables on parameters which are to be computed analytically.

Public Functions

AnalyticalParameterHdf5Reader() = default
AnalyticalParameterHdf5Reader(const H5::H5File &file, std::string analyticalParameterIndicesPath, std::string mapPath)

AnalyticalParameterHdf5Reader.

Parameters:
  • file

  • scalingParameterIndicesPath – location in HDF5 file of the list of indices of the analytically determined parameters within the overall optimization parameters

  • mapPath – path of to the dataset with the parameter-observable-condition mapping

AnalyticalParameterHdf5Reader(AnalyticalParameterHdf5Reader const&) = delete
virtual std::vector<int> getConditionsForParameter(int parameterIndex) const override

Get vector of condition indices for which the parameter with the given index is used.

Parameters:

parameterIndex – referring to the index in the analytical parameter list in the HDF5 file (not the optimization parameter index).

Returns:

Vector of condition indices

virtual std::vector<int> const &getObservablesForParameter(int parameterIndex, int conditionIdx) const override

Get vector of observable indices for the specified condition for which the specified parameter is used.

Parameters:

parameterIndex

Returns:

virtual std::vector<int> getOptimizationParameterIndices() const override

Vector with indices of the of the analytically determined parameters within the overall optimization parameter vector.

Returns:

~AnalyticalParameterHdf5Reader() override