Calibration::ObservationUncertainty Class Reference

Combines the uncertainty of the template and the observation. More...

#include <ObservationUncertainty.h>

Inheritance diagram for Calibration::ObservationUncertainty:
Calibration::CoherencyMeasurement::Uncertainty Reference::Able Reference::HeapTracked Calibration::TemplateUncertainty Calibration::TotalCovariance

Public Member Functions

 ObservationUncertainty ()
 Default constructor.
 ObservationUncertainty (const Stokes< double > &variance)
 Construct with the uncertainty of the observation.
ObservationUncertaintyclone () 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.
Stokes< std::complex< double > > get_weighted_components (const Jones< double > &) const
 Given a coherency matrix, return the weighted Stokes parameters.
Stokes< std::complex< double > > get_variance () const
 Return the variance of each Stokes parameter.
void scale (double)
 Scale the variance by the square of a scalar.
Public Member Functions inherited from Calibration::CoherencyMeasurement::Uncertainty
virtual void add (const Uncertainty *)=0
 Add the uncertainty of another instance.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Protected Attributes

Stokes< std::complex< double > > inv_variance
 The inverse of the observation variance.

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

Combines the uncertainty of the template and the observation.

Member Function Documentation

◆ add()

void ObservationUncertainty::add ( const Uncertainty * other)
virtual

Add the uncertainty of another instance.

Reimplemented in Calibration::TemplateUncertainty, and Calibration::TotalCovariance.

References inv_variance, and ObservationUncertainty().

◆ clone()

ObservationUncertainty * ObservationUncertainty::clone ( ) const
virtual

Return a copy constructed clone of self.

Implements Calibration::CoherencyMeasurement::Uncertainty.

Reimplemented in Calibration::TemplateUncertainty, and Calibration::TotalCovariance.

References ObservationUncertainty().

◆ get_variance()

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

Return the variance of each Stokes parameter.

Implements Calibration::CoherencyMeasurement::Uncertainty.

References inv_variance.

◆ get_weighted_components()

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

Given a coherency matrix, return the weighted Stokes parameters.

Implements Calibration::CoherencyMeasurement::Uncertainty.

Reimplemented in Calibration::TemplateUncertainty.

References inv_variance.

Referenced by Calibration::TemplateUncertainty::get_weighted_components().

◆ get_weighted_conjugate()

Jones< double > ObservationUncertainty::get_weighted_conjugate ( const Jones< double > & matrix) const
virtual

Given a coherency matrix, return the weighted conjugate matrix.

Implements Calibration::CoherencyMeasurement::Uncertainty.

Reimplemented in Calibration::TemplateUncertainty, and Calibration::TotalCovariance.

References inv_variance.

Referenced by Calibration::TemplateUncertainty::get_weighted_conjugate().

◆ get_weighted_norm()

double ObservationUncertainty::get_weighted_norm ( const Jones< double > & matrix) const
virtual

Given a coherency matrix, return the weighted norm.

Given a coherency matrix, return the difference.

Implements Calibration::CoherencyMeasurement::Uncertainty.

Reimplemented in Calibration::TemplateUncertainty, and Calibration::TotalCovariance.

References inv_variance.

Referenced by Calibration::TemplateUncertainty::get_weighted_norm().

◆ scale()

void ObservationUncertainty::scale ( double x)
virtual

Scale the variance by the square of a scalar.

Implements Calibration::CoherencyMeasurement::Uncertainty.

References inv_variance.

◆ set_variance() [1/2]

void ObservationUncertainty::set_variance ( const Stokes< double > & variance)
virtual

Set the uncertainty of the observation.

Reimplemented in Calibration::TemplateUncertainty.

References inv_variance.

Referenced by Calibration::TemplateUncertainty::build(), and ObservationUncertainty().

◆ set_variance() [2/2]

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

Set the uncertainty of the observation.

Reimplemented in Calibration::TemplateUncertainty.

References inv_variance.


The documentation for this class was generated from the following files:

Generated using doxygen 1.14.0