.. index:: pair: struct; gpr::neb::BandMidpointCertificate .. _doxid-structgpr_1_1neb_1_1_band_midpoint_certificate: struct gpr::neb::BandMidpointCertificate ======================================== .. toctree:: :hidden: Overview ~~~~~~~~ Whole-band resolution check on the surrogate: the climbing image must be at least as high as each segment midpoint's energy mean plus two posterior standard deviations above the likelihood noise floor. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct BandMidpointCertificate { // fields bool :target:`evaluated` = false; bool :target:`holds` = false; int :ref:`worst_segment` = -1; double :ref:`excess` = 0.0; double :ref:`raw_excess` = 0.0; Eigen::VectorXd :ref:`worst_position`; double :ref:`worst_variance` = std::numeric_limits::quiet_NaN(); int :ref:`measurements` = 0; bool :ref:`true_ridge` = false; Eigen::VectorXd :ref:`measured_position`; std::vector :ref:`segment_excess`; std::vector :target:`segment_raw_excess`; std::vector :target:`segment_variance`; std::vector :target:`segment_position`; }; .. _details-structgpr_1_1neb_1_1_band_midpoint_certificate: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Whole-band resolution check on the surrogate: the climbing image must be at least as high as each segment midpoint's energy mean plus two posterior standard deviations above the likelihood noise floor. The measured certificate samples gaps whose upper bound exceeds the CI. A band whose polyline crosses a higher ridge between two images (02_hcch: images 2.2 eV apart straddling the 0.21 eV ridge while the climbing image sat on a 0.107 eV plateau saddle) fails here although its climbing-image neighbours pass the chord-leak certificate. Costs one surrogate evaluation per segment. Fields ------ .. index:: pair: variable; worst_segment .. _doxid-structgpr_1_1neb_1_1_band_midpoint_certificate_1a6dddf944878dc5c85cb9e0e049546648: .. ref-code-block:: cpp :class: doxyrest-title-code-block int worst_segment = -1 segment with the highest energy upper bound .. index:: pair: variable; excess .. _doxid-structgpr_1_1neb_1_1_band_midpoint_certificate_1a98286777b15ae555b13d405e1e431c05: .. ref-code-block:: cpp :class: doxyrest-title-code-block double excess = 0.0 mean E_mid - E_ci for that segment (eV) .. index:: pair: variable; raw_excess .. _doxid-structgpr_1_1neb_1_1_band_midpoint_certificate_1a3e04c8c118937fdc4ba31d6f4a394dde: .. ref-code-block:: cpp :class: doxyrest-title-code-block double raw_excess = 0.0 the same segment's chord midpoint, unrelaxed .. index:: pair: variable; worst_position .. _doxid-structgpr_1_1neb_1_1_band_midpoint_certificate_1a8fc5c551b388fff8db526d005e42d71f: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd worst_position the relaxed midpoint of worst_segment .. index:: pair: variable; worst_variance .. _doxid-structgpr_1_1neb_1_1_band_midpoint_certificate_1a1de13838abeebdbbf73479188427c673: .. ref-code-block:: cpp :class: doxyrest-title-code-block double worst_variance = std::numeric_limits::quiet_NaN() posterior variance there .. index:: pair: variable; measurements .. _doxid-structgpr_1_1neb_1_1_band_midpoint_certificate_1a3fb74854eeff42c07987eabac3a6580d: .. ref-code-block:: cpp :class: doxyrest-title-code-block int measurements = 0 oracle rows bought by the measured variant .. index:: pair: variable; true_ridge .. _doxid-structgpr_1_1neb_1_1_band_midpoint_certificate_1aa38550b73cc5a26e6e1eb3efed3f2ba2: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool true_ridge = false refused after a measured midpoint above the CI .. index:: pair: variable; measured_position .. _doxid-structgpr_1_1neb_1_1_band_midpoint_certificate_1a16230872685971ef38d999049815d53f: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd measured_position The measured midpoint that lay above the climbing image, when one did: a true-surface point the band's discretisation missed. .. index:: pair: variable; segment_excess .. _doxid-structgpr_1_1neb_1_1_band_midpoint_certificate_1a77c1dd7ae7d0209a93df4fc06f652844: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector segment_excess Per segment: relaxed excess, raw chord excess, relaxed position and its posterior variance (NaN / empty where the segment was skipped).