JonesSpinor.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2011 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/MEAL/MEAL/JonesSpinor.h
10 
11 #ifndef __MEAL_JonesSpinor_H
12 #define __MEAL_JonesSpinor_H
13 
14 #include "MEAL/SingularCoherency.h"
15 #include "MEAL/Spinor.h"
16 #include "MEAL/Convert.h"
17 
18 namespace MEAL {
19 
21 
22  class JonesSpinor : public Convert<SingularCoherency,Spinor>
23  {
24 
25  public:
26 
28  std::string get_name () const;
29 
30  protected:
31 
33  virtual void calculate (Spinor::Result& result,
34  std::vector<Spinor::Result>*);
35 
36  unsigned pole;
37  };
38 
39 }
40 
41 #endif
42 
std::string get_name() const
Return the name of the class.
Definition: JonesSpinor.C:20
virtual void calculate(Spinor::Result &result, std::vector< Spinor::Result > *)
Calculate the Mueller matrix and its gradient.
Definition: JonesSpinor.C:71
const ScalarMath sqrt(const ScalarMath &x)
Return a ScalarMath instance representing x^.5.
Definition: ScalarMath.C:151
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
Returns the Spinor representation of a singular coherency matrix.
Definition: JonesSpinor.h:27
Vector< 2, std::complex< double > > Result
The return type of the evaluate method.
Definition: Evaluable.h:40

Generated using doxygen 1.8.17