CrossCoherency.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/CrossCoherency.h
10 
11 #ifndef __MEAL_CrossCoherency_H
12 #define __MEAL_CrossCoherency_H
13 
14 #include "MEAL/SingularCoherency.h"
15 #include "MEAL/Wrap.h"
16 
17 namespace MEAL {
18 
19  class JonesSpinor;
20  class Complex;
21 
23 
28  class CrossCoherency : public Wrap<Coherency>
29  {
30 
31  public:
32 
34  CrossCoherency ();
35 
38 
41 
43  ~CrossCoherency ();
44 
45  void set_modeA (SingularCoherency*);
46  void set_modeB (SingularCoherency*);
47  void set_correlation (Complex*);
48 
50  std::string get_name () const;
51 
52  protected:
53 
56 
59 
62 
64  void init ();
65  };
66 
67 }
68 
69 #endif
virtual void set_spinorB(Spinor *)
Set spinor B.
Definition: SpinorJones.C:35
~CrossCoherency()
Destructor.
Definition: CrossCoherency.C:74
Pure virtual base class of all complex 2x2 matrix functions.
Definition: Complex2.h:34
CrossCoherency & operator=(const CrossCoherency &copy)
Assignment operator.
Definition: CrossCoherency.C:63
A correlation coefficient on the unit disk in the complex plane.
Definition: ComplexCorrelation.h:24
void set_model(From *_model)
Set the function to be converted.
Definition: Convert.h:35
Reference::To< JonesSpinor > modeB
The spinor representation of mode B.
Definition: CrossCoherency.h:66
virtual void set_spinorA(Spinor *)
Set spinor A.
Definition: SpinorJones.C:30
Reference::To< Complex > correlation
The complex correlation coefficient.
Definition: CrossCoherency.h:60
Returns the outer product of two spinors, .
Definition: SpinorJones.h:27
Partial coherence of 100% polarized modes.
Definition: CrossCoherency.h:33
Reference::To< JonesSpinor > modeA
The spinor representation of mode A.
Definition: CrossCoherency.h:63
std::string get_name() const
Return the name of the class.
Definition: CrossCoherency.C:101
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
A coherency matrix with determinant equal to zero.
Definition: SingularCoherency.h:32
Returns the Spinor representation of a singular coherency matrix.
Definition: JonesSpinor.h:27
void init()
Works for the constructors.
Definition: CrossCoherency.C:21
virtual void copy(const Function *model)
Does the work for operator =.
Definition: Function.C:58
CrossCoherency()
Default constructor.
Definition: CrossCoherency.C:49

Generated using doxygen 1.8.17