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
17namespace MEAL {
18
19 class JonesSpinor;
20 class Complex;
21
23
27
28 class CrossCoherency : public Wrap<Coherency>
29 {
30
31 public:
32
35
38
41
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
Pure virtual base class of all complex-valued functions.
Definition Complex.h:39
CrossCoherency()
Default constructor.
Definition CrossCoherency.C:49
~CrossCoherency()
Destructor.
Definition CrossCoherency.C:74
std::string get_name() const
Return the name of the class.
Definition CrossCoherency.C:101
Reference::To< Complex > correlation
The complex correlation coefficient.
Definition CrossCoherency.h:55
void init()
Works for the constructors.
Definition CrossCoherency.C:21
CrossCoherency & operator=(const CrossCoherency &copy)
Assignment operator.
Definition CrossCoherency.C:63
Reference::To< JonesSpinor > modeA
The spinor representation of mode A.
Definition CrossCoherency.h:58
Reference::To< JonesSpinor > modeB
The spinor representation of mode B.
Definition CrossCoherency.h:61
virtual void copy(const Function *model)
Does the work for operator =.
Definition Function.C:58
Returns the Spinor representation of a singular coherency matrix.
Definition JonesSpinor.h:23
A coherency matrix with determinant equal to zero.
Definition SingularCoherency.h:28
Wrap another function.
Definition Wrap.h:24
Namespace in which all modeling and calibration related code is declared.
Definition ExampleComplex2.h:16

Generated using doxygen 1.14.0