Calibration::MeasurementEquation Class Reference

Models multiple transformations of multiple inputs. More...

#include <MeasurementEquation.h>

Inheritance diagram for Calibration::MeasurementEquation:
MEAL::Complex2 MEAL::Evaluable< Jones< double > > MEAL::Function Reference::Able Reference::HeapTracked Calibration::ReceptionModel

Public Member Functions

 MeasurementEquation ()
 Default constructor.
 ~MeasurementEquation ()
 Destructor.
virtual void set_input (Complex2 *state)
 Set the input, $ \rho_j $, where $ j $ = get_input_index.
virtual void add_input (Complex2 *state=0)
 Add an input, $ \rho_N $, where $ N $ = get_num_input.
Complex2 * get_input ()
 Get the current input.
unsigned get_num_input () const
 Get the number of input states.
unsigned get_input_index () const
 Get the input index, $ j $.
void set_input_index (unsigned index)
 Set the input index, $ j $.
virtual void erase_input (unsigned index)
 Remove the specified input from the model.
virtual void set_transformation (Complex2 *xform)
 Set the transformation, $J_i$,where $i$=get_transformation_index.
virtual void add_transformation (Complex2 *xform=0)
 Add a transformation, $J_P$, where $P$ = get_num_transformation.
virtual void set_transformation (MEAL::Real4 *xform)
 Set the transformation, $M_i$,where $i$=get_transformation_index.
virtual void add_transformation (MEAL::Real4 *xform=0)
 Add a transformation, $M_P$, where $P$ = get_num_transformation.
MEAL::Transformation< Complex2 > * get_transformation ()
 Get the current transformation.
unsigned get_num_transformation () const
 Get the number of transformation states.
unsigned get_transformation_index () const
 Get the transformation index, $ i $.
void set_transformation_index (unsigned index)
 Set the transformation index, $ i $.
virtual void erase_transformation (unsigned index)
 Remove the specified transformation from the model.
Public Member Functions inherited from MEAL::Complex2
virtual Complex2clone () const
Public Member Functions inherited from MEAL::Evaluable< Jones< double > >
Evaluableoperator= (const Evaluable &copy)
evaluate (std::vector< T > *grad=0) const
EstimateTraits< T >::type estimate () const
Public Member Functions inherited from MEAL::Function
 Function (const Function &model)
Functionoperator= (const Function &model)
virtual void copy (const Function *model)
virtual TextInterface::Parserget_interface ()
virtual void parse (const std::string &text)
virtual void print (std::string &text) const
virtual std::string get_name () const=0
virtual std::string get_description () const
unsigned get_nparam () const
std::string get_param_name (unsigned index) const
std::string get_param_description (unsigned index) const
double get_param (unsigned index) const
void set_param (unsigned index, double value)
double get_variance (unsigned index) const
void set_variance (unsigned index, double value)
bool get_infit (unsigned index) const
void set_infit (unsigned index, bool flag)
void set_argument (unsigned dimension, Argument *axis)
Estimate< double > get_Estimate (unsigned index) const
void set_Estimate (unsigned index, const Estimate< double > &param)
void set_verbose (bool)
bool get_verbose () const
void set_evaluation_changed (bool _changed=true)
bool get_evaluation_changed () const
const ParameterPolicyget_parameter_policy () const
ParameterPolicyget_parameter_policy ()
bool has_parameter_policy () const
virtual void print_parameters (std::string &text, const std::string &separator) const
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 calculate (Jones< double > &result, std::vector< Jones< double > > *)
 Returns $ \rho^\prime $ and its gradient.
MEAL::Transformation< Complex2 > * new_transformation (Complex2 *)
 Construct new integrated instance of CongruenceTransformation.
MEAL::Transformation< Complex2 > * new_transformation (MEAL::Real4 *)
 Construct new integrated instance of MuellerTransformation.
Protected Member Functions inherited from MEAL::Evaluable< Jones< double > >
virtual void calculate (T &result, std::vector< T > *)=0
Protected Member Functions inherited from MEAL::Function
void copy_evaluation_changed (const Function &model)
void copy_parameter_policy (const Function *)
void set_parameter_policy (ParameterPolicy *policy)
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Protected Attributes

MEAL::Composite composite
 Composite parameter policy.
MEAL::VectorRule< MEAL::Complex2inputs
 The inputs, $ \rho_j $.
MEAL::VectorRule< MEAL::Transformation< MEAL::Complex2 > > xforms
 The transformations, $ J_i $ and $ M_k $.
Protected Attributes inherited from MEAL::Evaluable< Jones< double > >
Reference::To< EvaluationPolicy< T > > evaluation_policy
Protected Attributes inherited from MEAL::Function
Reference::To< ParameterPolicyparameter_policy
Reference::To< ArgumentPolicyargument_policy
bool set_parameter_policy_context
bool this_verbose

Additional Inherited Members

Public Types inherited from MEAL::Evaluable< Jones< double > >
typedef T Result
Public Types inherited from MEAL::Function
enum  Attribute
Static Public Member Functions inherited from MEAL::Function
static Model * load (const std::string &filename)
static Functionload_Function (const std::string &filename)
static Functionfactory (const std::string &text)
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 ()
Public Attributes inherited from MEAL::Function
 ParameterCount
 Evaluation
Callback< Attributechanged
Static Public Attributes inherited from MEAL::Complex2
static const char * Name
Static Public Attributes inherited from MEAL::Evaluable< Jones< double > >
static const char * Name
Static Public Attributes inherited from MEAL::Function
static bool verbose
static bool very_verbose
static bool check_zero
static bool check_variance
static bool cache_results

Detailed Description

Models multiple transformations of multiple inputs.

This represents the propagation of multiple source states through multiple signal paths.

Member Function Documentation

◆ add_input()

void Calibration::MeasurementEquation::add_input ( Complex2 * input = 0)
virtual

Add an input, $ \rho_N $, where $ N $ = get_num_input.

Postcondition
current_input will be set to the newly added input

References inputs.

Referenced by Calibration::SourceDeltaEstimate::create_source(), and Calibration::SourceEstimate::create_source().

◆ add_transformation() [1/2]

void Calibration::MeasurementEquation::add_transformation ( Complex2 * xform = 0)
virtual

Add a transformation, $J_P$, where $P$ = get_num_transformation.

Postcondition
current_xform will be set to the newly added transformation

References new_transformation(), and xforms.

◆ add_transformation() [2/2]

void Calibration::MeasurementEquation::add_transformation ( MEAL::Real4 * xform = 0)
virtual

Add a transformation, $M_P$, where $P$ = get_num_transformation.

Postcondition
current_xform will be set to the newly added transformation

References new_transformation(), and xforms.

◆ calculate()

void Calibration::MeasurementEquation::calculate ( Jones< double > & result,
std::vector< Jones< double > > * grad )
protected

Returns $ \rho^\prime $ and its gradient.

Returns $ \rho^\prime_j $ and its gradient.

References composite, MEAL::Function::get_nparam(), inputs, MEAL::Function::parameter_policy, MEAL::Function::verbose, and xforms.

◆ erase_input()

void Calibration::MeasurementEquation::erase_input ( unsigned index)
virtual

Remove the specified input from the model.

Reimplemented in Calibration::ReceptionModel, and ReceptionModel.

References inputs.

Referenced by Calibration::ReceptionModel::erase_input().

◆ erase_transformation()

void Calibration::MeasurementEquation::erase_transformation ( unsigned index)
virtual

Remove the specified transformation from the model.

Reimplemented in Calibration::ReceptionModel, and ReceptionModel.

References xforms.

Referenced by Calibration::ReceptionModel::erase_transformation().

◆ set_input()

void Calibration::MeasurementEquation::set_input ( Complex2 * input)
virtual

Set the input, $ \rho_j $, where $ j $ = get_input_index.

This method unmaps the old input before mapping the new

References inputs.

◆ set_transformation() [1/2]

void Calibration::MeasurementEquation::set_transformation ( Complex2 * xform)
virtual

Set the transformation, $J_i$,where $i$=get_transformation_index.

This method unmaps the old transformation before mapping the new

References new_transformation(), and xforms.

◆ set_transformation() [2/2]

void Calibration::MeasurementEquation::set_transformation ( MEAL::Real4 * xform)
virtual

Set the transformation, $M_i$,where $i$=get_transformation_index.

This method unmaps the old transformation before mapping the new

References new_transformation(), and xforms.


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

Generated using doxygen 1.14.0