Calibration::TemplateUncertainty Class Reference

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

#include <TemplateUncertainty.h>

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

Public Member Functions

 TemplateUncertainty ()
 Default constructor.
 
TemplateUncertaintyclone () const
 Clone operator.
 
void add (const Uncertainty *)
 Add the uncertainty of another instance.
 
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 double get_weighted_norm (const Jones< double > &) const
 Given a coherency matrix, return the weighted norm. More...
 
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.
 
- 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 changed (MEAL::Function::Attribute a)
 Callback method attached to transformation::changed signal.
 
virtual void build ()
 Compute inv_var attribute.
 
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

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 Calibration::TemplateUncertainty::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::ObservationUncertainty.

Reimplemented in Calibration::TotalCovariance.


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

Generated using doxygen 1.8.17