ReFRACtor
|
The forward model represents the encapsulation of modeling spectra from an atmospheric state then applying instrument specific effects to it. More...
#include <forward_model.h>
Public Member Functions | |
virtual | ~ForwardModel () |
virtual int | num_channels () const =0 |
The number of spectral channels associated with forward model. More... | |
virtual void | print (std::ostream &Os) const |
std::string | print_to_string () const |
Print to string. More... | |
virtual Spectrum | radiance (int channel_index, bool skip_jacobian=false) const =0 |
Spectrum for the given spectral band. More... | |
virtual Spectrum | radiance_all (bool skip_jacobian=false) const |
Radiance data all stacked together as one long spectrum (so band 0, followed by band 1, etc.). More... | |
virtual void | setup_grid ()=0 |
This notifies the forward model that it should setup the grid. More... | |
virtual const SpectralDomain | spectral_domain (int channel_index) const =0 |
Spectral domain for the given spectral band. More... | |
virtual SpectralDomain::TypePreference | spectral_domain_type_preference () const =0 |
Type preference for spectral domain. More... | |
virtual const boost::optional< blitz::Range > | stacked_pixel_range (int channel_index) const |
The range of indicies that corresponds to a particular band in the stacked radiances. More... | |
The forward model represents the encapsulation of modeling spectra from an atmospheric state then applying instrument specific effects to it.
Definition at line 14 of file forward_model.h.
|
inlinevirtual |
Definition at line 16 of file forward_model.h.
|
pure virtual |
The number of spectral channels associated with forward model.
Implements FullPhysics::StackedRadianceMixin.
Implemented in FullPhysics::StandardForwardModel, and FullPhysics::FdForwardModel.
|
inlinevirtual |
Reimplemented in FullPhysics::StandardForwardModel, and FullPhysics::FdForwardModel.
Definition at line 55 of file forward_model.h.
|
inlineinherited |
Print to string.
This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.
Definition at line 31 of file printable.h.
|
pure virtual |
Spectrum for the given spectral band.
Note that this may be empty.
channel_index | Band to give value for |
skip_jacobian | If true, don't do the Jacobian calculation. Often this is significantly faster to calculate. |
Implements FullPhysics::StackedRadianceMixin.
Implemented in FullPhysics::StandardForwardModel, and FullPhysics::FdForwardModel.
|
virtualinherited |
Radiance data all stacked together as one long spectrum (so band 0, followed by band 1, etc.).
Definition at line 25 of file stacked_radiance_mixin.cc.
|
pure virtual |
This notifies the forward model that it should setup the grid.
Implemented in FullPhysics::StandardForwardModel.
|
pure virtual |
Spectral domain for the given spectral band.
Note that this may be empty.
Implements FullPhysics::StackedRadianceMixin.
Implemented in FullPhysics::StandardForwardModel, and FullPhysics::FdForwardModel.
|
pure virtual |
Type preference for spectral domain.
This may seem an odd thing to have a function for, but this is needed by ForwardModelOutput.
Implemented in FullPhysics::StandardForwardModel.
|
virtualinherited |
The range of indicies that corresponds to a particular band in the stacked radiances.
The range may well be empty if a band is not used at all. This is a useful edge case, but unfortunately blitz::Range does not support empty ranges. As a simple work around, we use the boost::optional class to return a value only if the range is not empty.
Definition at line 6 of file stacked_radiance_mixin.cc.