16 boost::function<double ()> f;
17 for(
int i = 0; i < err->num_channels(); ++i) {
19 if (not spec_flag(i))
continue;
22 out->register_data_source(
"/SpectralParameters/signal_" +
23 hdf_band_names[i] +
"_fph", f);
25 out->register_data_source(
"/SpectralParameters/noise_" +
26 hdf_band_names[i] +
"_fph", f);
28 out->register_data_source(
"/SpectralParameters/residual_mean_square_" +
29 hdf_band_names[i], f);
31 out->register_data_source(
"/SpectralParameters/relative_residual_mean_square_" +
32 hdf_band_names[i], f);
34 out->register_data_source(
"/SpectralParameters/reduced_chi_squared_" +
35 hdf_band_names[i] +
"_fph", f);
38 out->register_data_source(
"/RetrievalResults/last_step_levenberg_marquardt_parameter",
41 out->register_data_source(
"/RetrievalResults/xco2_uncert",
43 out->register_data_source(
"/RetrievalResults/xco2_uncert_interf",
45 out->register_data_source(
"/RetrievalResults/xco2_uncert_noise",
47 out->register_data_source(
"/RetrievalResults/xco2_uncert_smooth",
49 out->register_data_source(
"/RetrievalResults/dof_co2_profile",
51 out->register_data_source(
"/RetrievalResults/dof_full_vector",
53 out->register_data_source(
"/RetrievalResults/xco2_avg_kernel",
55 out->register_data_source(
"/RetrievalResults/xco2_avg_kernel_norm",
57 out->register_data_source(
"/RetrievalResults/xco2_correlation_interf",
59 out->register_data_source(
"/RetrievalResults/co2_profile_averaging_kernel_matrix",
61 out->register_data_source(
"/RetrievalResults/interference_smoothing_uncert",
63 out->register_data_source(
"/RetrievalResults/xco2_gain_vector",
67 out->register_data_source(
"/SpectralParameters/modeled_radiance",
blitz::Array< double, 2 > co2_averaging_kernel() const
Portion of averaging kernel that relates the part of the state vector that is used by the CO2 VMR cal...
double gamma_last_step() const
Levenberg-Marquardt parameter for last step we processed.
blitz::Array< double, 1 > xco2_gain_vector() const
This calculates xco2_gain_vector.
double xco2_uncert_smooth() const
Calculate xco2_uncert_smooth.
double residual_mean_sq(int Band) const
Return the residual mean square for the O2 band.
double signal(int band) const
Calculate an approximation to the size of the continuum signal where there is no significant atmosphe...
#define REGISTER_LUA_DERIVED_CLASS(X, Y)
blitz::Array< double, 1 > xco2_avg_kernel_norm() const
Calculate the normalized XCO2 averaging kernel.
double xco2_uncertainty() const
XCO2 uncertainty.
double relative_residual_mean_sq(int Band) const
Return the relative residual mean square for the given band.
virtual void register_output(const boost::shared_ptr< Output > &out) const
Register portions of class that will be written to output.
blitz::Array< double, 1 > modeled_radiance() const
Modeled radiance.
blitz::Array< double, 1 > xco2_avg_kernel() const
Calculate the XCO2 averaging kernel.
As described in the Output class, we have a decentralized model of producing output for L2 Full Physi...
blitz::Array< double, 1 > interference_smoothing_uncertainty() const
Calculate the interference smoothing uncertainty.
double xco2_uncert_noise() const
Calculate xco2_uncert_noise.
This registers the portions of the ErrorAnalysis class that should be written as output.
blitz::Array< double, 1 > xco2_correlation_interf() const
Calculate xco2_correlation_interf.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
#define REGISTER_LUA_END()
double degrees_of_freedom_xco2() const
Calculate the degrees of freedom for the portion of the state vector used to determine xco2...
double reduced_chisq(int Band) const
Return the reduced chisq for band.
double degrees_of_freedom_full_vector() const
Calculate the degrees of freedom for the full state vector.
double noise(int band) const
Helper class for sort done in noise.
double xco2_uncert_interf() const
Calculate xco2_uncert_interf.