Class MEAL::ObservationUncertainty

class ObservationUncertainty : public MEAL::CoherencyMeasurement::Uncertainty

Combines the uncertainty of the template and the observation.

Subclassed by MEAL::TemplateUncertainty

Public Functions

inline ObservationUncertainty()

Default constructor.

ObservationUncertainty(const Stokes<double> &variance)

Construct with the uncertainty of the observation.

virtual ObservationUncertainty *clone() const

Return a copy constructed clone of self.

virtual void add(const Uncertainty*)

Add the uncertainty of another instance.

virtual void set_variance(const Stokes<double>&)

Set the uncertainty of the observation.

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

Set the uncertainty of the 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.

virtual Stokes<std::complex<double>> get_variance() const

Return the variance of each Stokes parameter.

virtual void scale(double)

Scale the variance by the square of a scalar.