ReFRACtor
convergence_check.cc
Go to the documentation of this file.
1 #include "convergence_check.h"
2 
3 using namespace FullPhysics;
4 
5 #ifdef HAVE_LUA
6 #include "register_lua.h"
9 #endif
10 
11 //-----------------------------------------------------------------------
13 //-----------------------------------------------------------------------
14 
15 void FitStatistic::print(std::ostream& Os) const
16 {
17  Os << "FitStatistic\n"
18  << " number_iteration: " << number_iteration << "\n"
19  << " number_divergent: " << number_divergent << "\n"
20  << " outcome: " << (int) outcome << "\n"
21  << " fit_succeeded: " << fit_succeeded << "\n"
22  << " d_sigma_sq: " << d_sigma_sq << "\n"
23  << " d_sigma_sq_scaled: " << d_sigma_sq_scaled << "\n"
24  << " chisq_apriori: " << chisq_apriori << "\n"
25  << " chisq_measured: " << chisq_measured << "\n"
26  << " chisq_apriori_fc: " << chisq_apriori_fc << "\n"
27  << " chisq_measured_fc: " << chisq_measured_fc << "\n"
28  << " gamma2: " << gamma2() << "\n"
29  << " gamma2_fc: " << gamma2_fc() << "\n";
30 }
31 
double d_sigma_sq
This is d_sigma_sq, which is the product of the correction to the state vector and the right hand siz...
void print(std::ostream &Os) const
Print to a stream.
double chisq_measured_fc
Chisq of the residuals of the measurement vs.
double gamma2_fc() const
Parameter "gamma2_fc", which is just chisq_apriori_fc + chisq_measured_fc.
double chisq_apriori_fc
Chisq of the X_i vs.
#define REGISTER_LUA_CLASS(X)
Definition: register_lua.h:116
int number_divergent
Number of divergent steps.
This class tests for convergence of a Levenberg-Marquardt solver.
bool fit_succeeded
Was the fit successful?
OUTCOME outcome
Flag indicating success of fit, or why fit wasn&#39;t succesful.
double d_sigma_sq_scaled
This is d_sigma_sq, scaled by the size of the state vector.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
double chisq_measured
Chisq of the residuals of the measurement vs. model prediction.
#define REGISTER_LUA_END()
Definition: register_lua.h:134
int number_iteration
Number of iterations.
double chisq_apriori
Chisq of the X_i vs. the apriori X value.
double gamma2() const
Parameter "gamma2", which is just chi2_apriori + chi2_measured.

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:10