.. index:: pair: struct; gpr::ScgOptimizationSettings .. _doxid-structgpr_1_1_scg_optimization_settings: struct gpr::ScgOptimizationSettings =================================== .. toctree:: :hidden: Overview ~~~~~~~~ SCG-specific settings (trust-region scale, log-magnSigma2 barriers, curvature mode). :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct ScgOptimizationSettings { // fields :ref:`OptimizerCommonSettings` :target:`common`; double :target:`lambda_limit`; double :target:`lambda`; bool :target:`use_tail_lower_barrier`; double :target:`tail_lower_barrier`; :ref:`ScgCurvatureMode` :target:`curvature_mode`; :ref:`GPModelProfile` :target:`model_profile`; :ref:`MapPriorWeightMode` :ref:`map_prior_weight_mode`; bool :ref:`map_use_configured_magn_prior`; bool :ref:`map_use_lognormal_magn_prior`; double :target:`map_magn_prior_mu`; double :target:`map_magn_prior_s2`; double :target:`map_magn_prior_nu`; bool :ref:`map_use_configured_lengthscale_prior`; double :target:`map_lengthscale_prior_mu`; double :target:`map_lengthscale_prior_s2`; double :target:`map_lengthscale_prior_nu`; bool :ref:`stationarity_step_stop` = false; std::vector :target:`active_parameters`; // construction :target:`ScgOptimizationSettings`(); // methods void :target:`setDefault`(); }; .. _details-structgpr_1_1_scg_optimization_settings: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ SCG-specific settings (trust-region scale, log-magnSigma2 barriers, curvature mode). Fields ------ .. index:: pair: variable; map_prior_weight_mode .. _doxid-structgpr_1_1_scg_optimization_settings_1a11826bd16be5c6e05e18d5d2b1e7112e: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`MapPriorWeightMode` map_prior_weight_mode Annealed (default) or full prior weight; see :ref:`MapPriorWeightMode `. .. index:: pair: variable; map_use_configured_magn_prior .. _doxid-structgpr_1_1_scg_optimization_settings_1aa045bf6f8ee10a9856b5dbc4eef3356f: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool map_use_configured_magn_prior When true, MAP objective uses configured :ref:`PriorSqrtt ` params on magnSigma2 instead of the half-Cauchy default (from setPriorParametersSqrtt). .. index:: pair: variable; map_use_lognormal_magn_prior .. _doxid-structgpr_1_1_scg_optimization_settings_1aa54d9a6e2c7bf85f9585a06a70e7514e: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool map_use_lognormal_magn_prior When true, MAP objective uses a log-normal prior on the positive signal variance magnSigma2 (:ref:`PriorLogNormal `; mu and s2 from map_magn_prior\_\*). Default false. Takes precedence over the half-Cauchy and the configured half-Student-t magnitude priors. .. index:: pair: variable; map_use_configured_lengthscale_prior .. _doxid-structgpr_1_1_scg_optimization_settings_1adbb0054b1d023c1aa0ee933695bd652b: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool map_use_configured_lengthscale_prior When true, MAP objective uses configured :ref:`PriorT ` (nu>0) or :ref:`PriorGaussian ` on lengthscales instead of the Student-t default (setPriorParametersGaussian). .. index:: pair: variable; stationarity_step_stop .. _doxid-structgpr_1_1_scg_optimization_settings_1ab83c6cff4209f6c6d2afe28a6c180695: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool stationarity_step_stop = false Empty selects every parameter; false entries remain fixed during fitting. Stop the fit when the step falls below tolerance_sol times one plus the parameter norm, the stationarity scale of the refit-skip test; set by the model when that test is in force.