1 #ifndef STOKES_COEFFICIENT_FRACTION_H 2 #define STOKES_COEFFICIENT_FRACTION_H 5 #include <boost/lexical_cast.hpp> 16 const blitz::Array<double, 1>& Coeffs,
17 const blitz::Array<bool, 1>& Flag);
19 virtual void print(std::ostream& Os)
const;
23 {
return "Parallel Polarization Band " +
24 boost::lexical_cast<std::string>(i + 1); }
36 return (t < 0 ? 0 : sqrt(t));
42 blitz::Array<double, 2> stokes_coeff_parallel;
virtual std::string sub_state_identifier() const
Return a string to identify this part of the state, this name should be all lower case and seperate p...
virtual ~StokesCoefficientFraction()
blitz::Array< double, 2 > sv_cov_sub
The subset of cov_full that is "owned" by this class, what was passed through update_sub_state.
double f_uncertainty(int Spec_index) const
f uncertainty.
virtual std::string state_vector_name_i(int i) const
Return state vector name for ith entry in coeff.
virtual boost::shared_ptr< StokesCoefficient > clone() const
Clone a StokesCoefficient object.
This class maintains the stokes coefficient portion of the state.
virtual void calc_stokes_coeff() const
Derived classes should provide a function to fill in pgrid when this is called.
As a design principle, we have each base class with the absolutely minimum interface needed for use f...
StokesCoefficientFraction(const blitz::Array< double, 2 > &Stokes_coeff_parallel, const blitz::Array< double, 1 > &Coeffs, const blitz::Array< bool, 1 > &Flag)
Constructor.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
virtual void print(std::ostream &Os) const
Print to stream.