Calibration::MeasurementEquation Class Reference

Models multiple transformations of multiple inputs. More...

#include <MeasurementEquation.h>

Inheritance diagram for Calibration::MeasurementEquation:
MEAL::Complex2 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. More...
 
virtual void add_input (Complex2 *state=0)
 Add an input, $ \rho_N $, where $ N $ = get_num_input. More...
 
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. More...
 
virtual void add_transformation (Complex2 *xform=0)
 Add a transformation, $J_P$, where $P$ = get_num_transformation. More...
 
virtual void set_transformation (MEAL::Real4 *xform)
 Set the transformation, $M_i$,where $i$=get_transformation_index. More...
 
virtual void add_transformation (MEAL::Real4 *xform=0)
 Add a transformation, $M_P$, where $P$ = get_num_transformation. More...
 
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 $.
 
- Public Member Functions inherited from MEAL::Complex2
virtual Complex2clone () const
 
- Public Member Functions inherited from Evaluable< Jones< double > >
 Evaluable (const Evaluable &copy)
 
Evaluableoperator= (const Evaluable &copy)
 
Jones< double > evaluate (std::vector< Jones< double > > *grad=0) const
 
EstimateTraits< Jones< double > >::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
 
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. More...
 
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 Evaluable< Jones< double > >
void calculate (Evaluable *eval, Jones< double > &result, std::vector< Jones< double > > *grad)
 
- 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 Evaluable< Jones< double > >
Reference::To< EvaluationPolicy< Jones< double > > > 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 Evaluable< Jones< double > >
typedef Jones< double > 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 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

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

◆ 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

◆ calculate()

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

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

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

Implements Evaluable< Jones< double > >.

◆ 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

◆ 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

Referenced by Pulsar::PolnProfileFit::set_standard().

◆ 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


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

Generated using doxygen 1.8.17