JonesCloude.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2008 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/MEAL/MEAL/JonesCloude.h
10 
11 #ifndef __MEAL_JonesCloude_H
12 #define __MEAL_JonesCloude_H
13 
14 #include "MEAL/Complex4.h"
15 #include "MEAL/Complex2.h"
16 #include "MEAL/Convert.h"
17 
18 namespace MEAL {
19 
21  class JonesCloude : public Convert<Complex2,Complex4>
22  {
23 
24  public:
25 
27  JonesCloude (Complex2* = 0);
28 
30  virtual void set_transformation (Complex2* model) { set_model(model); }
31 
33  virtual Complex2* get_transformation () { return get_model(); }
34 
35  std::string get_name () const;
36 
37  protected:
38 
40  virtual void calculate (Result& result, std::vector<Result>*);
41  };
42 
43 }
44 
45 #endif
46 
Pure virtual base class of all complex 2x2 matrix functions.
Definition: Complex2.h:34
JonesCloude(Complex2 *=0)
Default constructor.
Definition: JonesCloude.C:11
void set_model(Complex2 *_model)
Set the function to be converted.
Definition: Convert.h:35
Reference::Complex4< Complex2 > model
The function to be converted.
Definition: Convert.h:53
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
Complex2 * get_model()
Get the function to be converted.
Definition: Convert.h:42
virtual void calculate(Result &result, std::vector< Result > *)
Calculate the Cloude matrix and its gradient.
Definition: JonesCloude.C:26
virtual Complex2 * get_transformation()
Get the transformation, .
Definition: JonesCloude.h:43
virtual void set_transformation(Complex2 *model)
Set the transformation, .
Definition: JonesCloude.h:40
std::string get_name() const
Return the name of the class.
Definition: JonesCloude.C:17
Matrix< 4, 4, std::complex< double > > Result
The return type of the evaluate method.
Definition: Evaluable.h:40

Generated using doxygen 1.8.17