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

#include <TotalCovariance.h>

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

Public Member Functions

 TotalCovariance ()
 Default constructor.
 
TotalCovarianceclone () const
 Clone operator.
 
void add (const Uncertainty *)
 Add the uncertainty of another instance.
 
void set_covariance (const Matrix< 4, 4, double > &opt)
 Set the covariances of the observed Stokes parameters. More...
 
void set_optimizing_transformation (const Matrix< 4, 4, double > &opt)
 Set the optimizing transformation applied to the template. More...
 
double get_weighted_norm (const Jones< double > &) const
 Given a coherency matrix, return the weighted norm. More...
 
Jones< double > get_weighted_conjugate (const Jones< double > &) const
 Given a coherency matrix, return the weighted conjugate matrix.
 
- Public Member Functions inherited from Calibration::TemplateUncertainty
 TemplateUncertainty ()
 Default constructor.
 
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.
 
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.
 
const MEAL::Complex2get_transformation () const
 
virtual Stokes< std::complex< double > > get_weighted_components (const Jones< double > &) const
 Given a coherency matrix, return the weighted Stokes parameters.
 
- Public Member Functions inherited from Calibration::ObservationUncertainty
 ObservationUncertainty ()
 Default constructor.
 
 ObservationUncertainty (const Stokes< double > &variance)
 Construct with the uncertainty of the observation.
 
Stokes< std::complex< double > > get_variance () const
 Return the variance of each Stokes parameter.
 
- 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 Member Functions

void build ()
 Compute inv_covar attribute.
 
- Protected Member Functions inherited from Calibration::TemplateUncertainty
void changed (MEAL::Function::Attribute a)
 Callback method attached to transformation::changed signal.
 
void check_build () const
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

Matrix< 4, 4, double > observation_covariance
 The covariances of the observed Stokes parameters.
 
bool observation_covariance_set
 
Matrix< 4, 4, double > inv_covar
 The inverse of the total covariance matrix.
 
Matrix< 4, 4, double > optimizer
 The optimizing transformation.
 
- Protected Attributes inherited from Calibration::TemplateUncertainty
Stokes< std::complex< double > > observation_variance
 The variance of the observed Stokes parameters.
 
Stokes< std::complex< double > > template_variance
 The variance of the template Stokes parameters.
 
Reference::To< MEAL::Complex2transformation
 The transformation from template to observation.
 
bool built
 Flag set when inv_var attribute is up-to-date.
 
- Protected Attributes inherited from Calibration::ObservationUncertainty
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 ()
 

Detailed Description

Combines the uncertainty of the template and the observation.

Member Function Documentation

◆ get_weighted_norm()

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

Given a coherency matrix, return the weighted norm.

Given a coherency matrix, return the difference.

Reimplemented from Calibration::TemplateUncertainty.

◆ set_covariance()

void TotalCovariance::set_covariance ( const Matrix< 4, 4, double > &  opt)

Set the covariances of the observed Stokes parameters.

Set the uncertainty of the observation.

◆ set_optimizing_transformation()

void TotalCovariance::set_optimizing_transformation ( const Matrix< 4, 4, double > &  opt)

Set the optimizing transformation applied to the template.

Set the optimizing transformation.


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

Generated using doxygen 1.8.17