|
|
| ComplexRVM () |
| | Default constructor.
|
|
| ComplexRVM (const ComplexRVM ©) |
| | Copy constructor.
|
|
ComplexRVM & | operator= (const ComplexRVM ©) |
| | Assignment operator.
|
|
| ~ComplexRVM () |
| | Destructor.
|
|
RVM * | get_rvm () |
| | Return the rotating vector model.
|
|
void | set_rvm (RVM *) |
| void | add_state (double phase, std::complex< Estimate< double > > &L) |
| | Add a state: phase in radians, L is measured linear polarization.
|
|
void | set_state (unsigned i) |
| | Set the current state for which the model will be evaluated.
|
|
unsigned | get_nstate () const |
| | Get the number of states.
|
|
void | set_phase (unsigned i, double phase) |
| | Set the phase of the ith state.
|
|
double | get_phase (unsigned i) const |
| | Get the phase of the ith state.
|
|
void | set_linear (unsigned i, const Estimate< double > &L) |
| | Set the linear polarization of the ith state.
|
|
Estimate< double > | get_linear (unsigned i) const |
| | Get the linear polarization of the ith state.
|
|
void | set_gains_infit (bool flag=true) |
| | Set the fit flag of every gain parameter.
|
|
void | set_gains_maximum_likelihood (bool flag=true) |
| | Replace gains with maximum likelihood estimators.
|
|
bool | get_gains_maximum_likelihood () const |
| std::string | get_name () const |
| | Return the name of the class.
|
|
void | operator*= (Complex *model) |
| | Add the model to the product.
|
| std::string | get_name () const |
| | Return the name of the class.
|
|
| GroupRule () |
| | Default constructor.
|
|
GroupRule & | operator= (const GroupRule &meta) |
| | Assignment operator.
|
|
| ~GroupRule () |
| | Destructor.
|
|
void | add_model (Complex *model) |
| | Add an element to the result.
|
|
void | remove_model (Complex *model) |
| | Remove an element from the result.
|
|
Complex * | get_model (unsigned i) |
| | Get the specified component.
|
|
unsigned | get_nmodel () const |
| | Get the number of components.
|
|
void | clear () |
| | Clear all models.
|
| void | parse (const std::string &text) |
| | Parse the values of model parameters and fit flags from a string.
|
|
std::string | class_name () const |
| virtual Complex * | clone () const |
| | Clone method.
|
|
| Evaluable () |
| | Default constructor.
|
|
Evaluable & | operator= (const Evaluable ©) |
| | Assignment operator.
|
|
std::complex< double > | evaluate (std::vector< std::complex< double > > *grad=0) const |
| | Return the Jones matrix and its gradient.
|
|
EstimateTraits< std::complex< double > >::type | estimate () const |
| | Return the Jones Estimate matrix.
|
|
| Function () |
| | Default constructor.
|
|
| Function (const Function &model) |
| | Copy constructor.
|
|
Function & | operator= (const Function &model) |
| | Assignment operator.
|
|
virtual | ~Function () |
| | Virtual destructor.
|
|
virtual void | copy (const Function *model) |
| | Does the work for operator =.
|
| virtual TextInterface::Parser * | get_interface () |
| | Return a text interface that can be used to access this instance.
|
| virtual void | print (std::string &text) const |
| | Prints the values of model parameters and fit flags to a string.
|
|
virtual std::string | get_description () const |
| | Return the description of the class.
|
|
unsigned | get_nparam () const |
| | Return the number of parameters.
|
|
std::string | get_param_name (unsigned index) const |
| | Return the name of the specified parameter.
|
|
std::string | get_param_description (unsigned index) const |
| | Return the description of the specified parameter.
|
|
double | get_param (unsigned index) const |
| | Return the value of the specified parameter.
|
|
void | set_param (unsigned index, double value) |
| | Set the value of the specified parameter.
|
|
double | get_variance (unsigned index) const |
| | Return the variance of the specified parameter.
|
|
void | set_variance (unsigned index, double value) |
| | Set the variance of the specified parameter.
|
|
bool | get_infit (unsigned index) const |
| | Return true if parameter at index is to be fitted.
|
|
void | set_infit (unsigned index, bool flag) |
| | Set flag for parameter at index to be fitted.
|
|
void | set_argument (unsigned dimension, Argument *axis) |
| | Set the independent variable of the specified dimension.
|
|
Estimate< double > | get_Estimate (unsigned index) const |
| | Return an Estimate of the specified parameter.
|
|
void | set_Estimate (unsigned index, const Estimate< double > ¶m) |
| | Set the Estimate of the specified parameter.
|
|
void | set_verbose (bool) |
| | Set the verbosity of this instance.
|
|
bool | get_verbose () const |
| | Get the verbosity of this instance.
|
|
void | set_evaluation_changed (bool _changed=true) |
| | Set true if the Function evaluation has changed.
|
|
bool | get_evaluation_changed () const |
| | Return true if the Function evaluation has changed.
|
|
const ParameterPolicy * | get_parameter_policy () const |
| | Provide access to the parameter_policy attribute.
|
|
ParameterPolicy * | get_parameter_policy () |
| | Provide access to the parameter_policy attribute.
|
|
bool | has_parameter_policy () const |
| | Some wrappers may not have a parameter policy.
|
|
| Able (const Able &) |
|
Able & | operator= (const Able &) |
|
unsigned | get_reference_count () const |
|
| HeapTracked (const HeapTracked &) |
|
HeapTracked & | operator= (const HeapTracked &) |
|
bool | __is_on_heap () const |
|
|
typedef Complex::Result | Result |
|
typedef Complex::Result | Result |
|
typedef std::complex< double > | Result |
| | The return type of the evaluate method.
|
| enum | Attribute { ParameterCount
, Evaluation
} |
| | Function attributes that require the attention of Composite models. More...
|
|
template<class Model> |
| static Model * | load (const std::string &filename) |
| | Construct a new Model instance from a file.
|
|
static Function * | load_Function (const std::string &filename) |
| | Construct a new Function instance from a file.
|
| static Function * | factory (const std::string &text) |
| | Construct a new Function instance from a string.
|
|
static size_t | get_instance_count () |
|
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 () |
|
Callback< Attribute > | changed |
| | Callback executed when a Function Attribute has been changed.
|
| static const char * | Name = "Complex" |
| | The name of the class.
|
|
static const char * | Name |
| | The name of the class.
|
|
static bool | verbose = false |
| | Verbosity flag.
|
|
static bool | very_verbose = false |
| | Low-level verbosity flag.
|
|
static bool | check_zero = false |
| | When set, some Functions will throw an Error if they evaluate to zero.
|
|
static bool | check_variance = false |
| | When set, some Functions will throw an Error if input variance <= 0.
|
|
static bool | cache_results = false |
| | When set, use the Cached evaluation policy and callbacks.
|
| const Result | get_identity () const |
| | Return the identity of the multiplication group (one)
|
| void | operate (Result &total, const Result &element) |
| | Multiply the total by the element.
|
| const Result | partial (const Result &element) const |
| | Neighbouring terms stay in each other's partial derivatives.
|
| void | print_parameters (std::string &text, const std::string &sep) const |
| | Prints the values of model parameters and fit flags to a string.
|
|
void | calculate (Result &result, std::vector< Result > *grad) |
| | Return the result and its gradient.
|
| virtual void | calculate (std::complex< double > &result, std::vector< std::complex< double > > *)=0 |
| | Calculate the complex value and its gradient.
|
|
void | copy_evaluation_policy (const Evaluable *other) |
|
void | copy_evaluation_changed (const Function &model) |
| | Copy the evaluation changed state of another model instance.
|
|
void | copy_parameter_policy (const Function *) |
| | Copy the parameter policy of another instance.
|
|
void | set_parameter_policy (ParameterPolicy *policy) |
| | Set the parameter policy.
|
|
Handle * | __reference (bool active) const |
|
void | __dereference (bool auto_delete=true) const |
|
Reference::To< EvaluationPolicy< std::complex< double > > > | evaluation_policy |
| | The policy for managing function evaluation.
|
|
Reference::To< ParameterPolicy > | parameter_policy |
| | The policy for managing function parameters.
|
|
Reference::To< ArgumentPolicy > | argument_policy |
| | The policy for managing function arguments.
|
|
bool | set_parameter_policy_context |
| | Set the parameter policy context.
|
|
bool | this_verbose |
| | The verbosity of this instance.
|
Rotating Vector Model of Stokes Q and U as a function of pulse phase.