1 #ifndef CHISQ_CONVERGENCE_H 2 #define CHISQ_CONVERGENCE_H 19 double dropf = 0.1,
double boostf = 10,
20 double min_chisq = 0.01,
21 int max_iteration = 50);
26 bool& convergence_failed,
30 const blitz::Array<double, 1>& Residual,
31 const blitz::Array<double, 1>& Residual_cov_diag);
32 virtual void print(std::ostream& Os)
const;
34 double stopping_criteria_, dropf_, boostf_, min_chisq_, max_iteration_;
virtual void convergence_check(const FitStatistic &fit_stat_last, FitStatistic &fit_stat, bool &has_converged, bool &convergence_failed, double &gamma, bool &step_diverged)
Check for the convergence of a Solver, or if we have taken a divergent step.
This class holds various parameters describing how good of a fit we have.
virtual void evaluate_quality(FitStatistic &fit_stat, const blitz::Array< double, 1 > &Residual, const blitz::Array< double, 1 > &Residual_cov_diag)
Evaluates the quality of a converged fit from the residuals and expected residual error...
This class tests for convergence of a Levenberg-Marquardt solver.
This class tests for convergence of a Levenberg-Marquardt solver.
ChisqConvergence(double stopping_criteria=0.001, double dropf=0.1, double boostf=10, double min_chisq=0.01, int max_iteration=50)
Constructor.
virtual ~ChisqConvergence()
Contains classes to abstract away details in various Spurr Radiative Transfer software.
virtual void print(std::ostream &Os) const
Print object to stream.