Function amici::hdf5::getDoubleScalarAttribute

Function Documentation

double amici::hdf5::getDoubleScalarAttribute(const H5::H5File &file, const std::string &optionsObject, const std::string &attributeName)

Read scalar native double attribute from HDF5 object.

Return

Attribute value

Parameters
  • file: HDF5 file

  • optionsObject: Object to read attribute from

  • attributeName: Name of attribute to read