ReFRACtor
fd_forward_model.h
Go to the documentation of this file.
1 #ifndef FD_FORWARD_MODEL_H
2 #define FD_FORWARD_MODEL_H
3 #include "forward_model.h"
4 #include "state_vector.h"
5 
6 namespace FullPhysics {
7 /****************************************************************/
18 class FdForwardModel : public ForwardModel {
19 public:
20  FdForwardModel(const boost::shared_ptr<ForwardModel>& Real_Forward_model,
22  const blitz::Array<double, 1>& Perturbation);
23  virtual ~FdForwardModel() {}
25  { return statev; }
26  virtual void print(std::ostream& Os) const { Os << "FdForwardModel"; }
27  virtual Spectrum radiance(int Spec_index, bool Skip_jacobian = false) const;
28  virtual int num_channels() const
29  {return real_fm->num_channels();}
30  virtual const SpectralDomain spectral_domain(int Spec_index) const
31  {return real_fm->spectral_domain(Spec_index);}
32 private:
35  blitz::Array<double, 1> perturb;
36 };
37 }
38 #endif
virtual boost::shared_ptr< StateVector > state_vector() const
For different instruments, it is more natural to either work with wavenumbers (e.g., GOSAT) or wavelength (e.g., OCO).
This is a full spectrum, which contains a SpectralRange and SpectralDomain.
Definition: spectrum.h:18
The forward model represents the encapsulation of modeling spectra from an atmospheric state then app...
Definition: forward_model.h:14
virtual Spectrum radiance(int Spec_index, bool Skip_jacobian=false) const
Spectrum for the given spectral band.
This a forward model class that calcualtes jacobians using the finite difference method.
FdForwardModel(const boost::shared_ptr< ForwardModel > &Real_Forward_model, const boost::shared_ptr< StateVector > &Sv, const blitz::Array< double, 1 > &Perturbation)
Constructor.
virtual int num_channels() const
The number of spectral channels associated with forward model.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
This gets the perturbation to use with a finite difference Jacobian.
Definition: perturbation.h:10
virtual void print(std::ostream &Os) const
virtual const SpectralDomain spectral_domain(int Spec_index) const
Spectral domain for the given spectral band.

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