ReFRACtor
max_a_posteriori_output.h
Go to the documentation of this file.
1 #ifndef MAX_A_POSTERIORI_OUTPUT_H
2 #define MAX_A_POSTERIORI_OUTPUT_H
3 #include "register_output_base.h"
4 #include "max_a_posteriori.h"
5 
6 namespace FullPhysics {
7 /****************************************************************/
15 public:
16 //-----------------------------------------------------------------------
20 //-----------------------------------------------------------------------
21 
23  bool Write_jacobian = false)
24  : map(MAP), write_jacobian(Write_jacobian) {}
25  virtual ~MaxAPosterioriOutput() {}
26  virtual void register_output(const boost::shared_ptr<Output>& out) const;
27 private:
28  blitz::Array<double,2> a_posteriori_covariance() const
29  { return map->a_posteriori_covariance(); }
30 
31  blitz::Array<double,2> a_priori_cov() const
32  { return map->a_priori_cov(); }
33 
34  blitz::Array<double,2> averaging_kernel() const
35  { return map->averaging_kernel(); }
36 
37  int parameter_size() const
38  { return map->parameter_size(); }
39 
40  blitz::Array<double,1> a_priori_params() const
41  { return map->a_priori_params(); }
42 
43  blitz::Array<double,1> param_a_priori_uncertainty() const
44  { return map->param_a_priori_uncertainty(); }
45 
46  blitz::Array<double,1> parameters() const
47  { return map->parameters(); }
48 
49  blitz::Array<double,1> param_a_posteriori_uncertainty() const
50  { return map->param_a_posteriori_uncertainty(); }
51 
52  blitz::Array<double,2> jacobian() const
53  { return map->jacobian(); }
54 
56  bool write_jacobian;
57 };
58 }
59 #endif
MaxAPosterioriOutput(const boost::shared_ptr< MaxAPosteriori > &MAP, bool Write_jacobian=false)
You can optionally turn on the writing of the Jacobian.
This registers the portions of the MaxAPosteriori class that should be written as output...
As described in the Output class, we have a decentralized model of producing output for L2 Full Physi...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
virtual void register_output(const boost::shared_ptr< Output > &out) const
Register portions of class that will be written to output.

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