Class MEAL::TemplateUncertainty

class TemplateUncertainty : public MEAL::ObservationUncertainty

Combines the uncertainty of the template and the observation.

Subclassed by MEAL::TotalCovariance

Public Functions

TemplateUncertainty()

Default constructor.

virtual TemplateUncertainty *clone() const

Clone operator.

virtual void add(const Uncertainty*)

Add the uncertainty of another instance.

virtual void set_variance(const Stokes<double> &var)

Set the uncertainty of the observation.

void set_template_variance(const Stokes<double> &var)

Set the uncertainty of the template.

virtual void set_variance(const Stokes<std::complex<double>> &var)

Set the uncertainty of the observation.

void set_template_variance(const Stokes<std::complex<double>> &var)

Set the uncertainty of the template.

void set_transformation(MEAL::Complex2 *transformation)

Set the transformation from template to observation.

virtual double get_weighted_norm(const Jones<double>&) const

Given a coherency matrix, return the weighted norm.

virtual Jones<double> get_weighted_conjugate(const Jones<double>&) const

Given a coherency matrix, return the weighted conjugate matrix.

virtual Stokes<std::complex<double>> get_weighted_components(const Jones<double>&) const

Given a coherency matrix, return the weighted Stokes parameters.