Faraday rotation transformation. More...

#include <Faraday.h>

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

Public Types

typedef Jones< double > Return
 enable use with the ColdPlasma template
Public Types inherited from MEAL::Evaluable< Jones< double > >
typedef T Result
Public Types inherited from MEAL::Function
enum  Attribute

Public Member Functions

 Faraday ()
 Default constructor.
std::string get_name () const
 Return the name of the class.
void set_rotation_measure (const Estimate< double > &rotation_measure)
 Set the rotation measure.
Estimate< double > get_rotation_measure () const
 Get the rotation measure.
void set_reference_frequency (double MHz)
 Set the reference frequency in MHz.
double get_reference_frequency () const
 Get the reference frequency in MHz.
void set_frequency (double MHz)
 Set the frequency in MHz.
double get_frequency () const
 Get the frequency in MHz.
void set_reference_wavelength (double metres)
 Set the reference wavelength in metres.
double get_reference_wavelength () const
 Get the reference wavelength in metres.
void set_wavelength (double metres)
 Set the wavelength in metres.
double get_wavelength () const
 Get the wavelength in metres.
void set_axis (const Vector< 3, double > &axis)
 Set the axis about which the rotation occurs.
double get_rotation () const
 Get the Faraday rotation angle.
void set_measure (double rotation_measure)
 Set the rotation measure.
double get_measure () const
 Get the rotation measure.
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_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 > > *grad)
 Calculate the Jones matrix and its gradient.
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::Rotation1 rotation
 The Rotation operation.
double reference_wavelength
 Reference wavelength in metres.
double wavelength
 Wavelength in metres.
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

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

Faraday rotation transformation.

This class computes the Faraday rotation between two frequencies, as parameterized by the rotation measure.

Member Function Documentation

◆ get_measure()

double Calibration::Faraday::get_measure ( ) const

Get the rotation measure.

This alias enables use of this class with the ColdPlasma template

References MEAL::Function::get_param().

◆ get_name()

string Calibration::Faraday::get_name ( ) const
virtual

Return the name of the class.

Implements MEAL::Function.

◆ set_measure()

void Calibration::Faraday::set_measure ( double rm)

Set the rotation measure.

This alias enables use of this class with the ColdPlasma template

References MEAL::Function::set_param().


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

Generated using doxygen 1.14.0