OrthogonalModes.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/OrthogonalModes.h
10 
11 #ifndef __MEAL_OrthogonalModes_H
12 #define __MEAL_OrthogonalModes_H
13 
14 #include "MEAL/Coherency.h"
15 #include "MEAL/Wrap.h"
16 
17 namespace MEAL {
18 
20  class OrthogonalModes : public Wrap<Coherency>
21  {
22 
23  public:
24 
26  OrthogonalModes ();
27 
30 
33 
36 
38  Coherency* get_modeA () const { return modeA; }
39 
41  Coherency* get_modeB () const { return modeB; }
42 
44  std::string get_name () const;
45 
46  protected:
47 
49  void init ();
50 
53  };
54 
55 }
56 
57 #endif
A sum of orthogonally polarized modes.
Definition: OrthogonalModes.h:25
Coherency * get_modeA() const
Mode A.
Definition: OrthogonalModes.h:48
NegationRule< T > * negation(T *model)
Returns a new negation of the model.
Definition: NegationRule.h:56
Coherency * get_modeB() const
Mode B.
Definition: OrthogonalModes.h:51
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
A coherency matrix parameterized by a logarithmic gain times a boost.
Definition: ModeCoherency.h:38
void init()
Works for the constructors.
Definition: OrthogonalModes.C:17
OrthogonalModes & operator=(const OrthogonalModes &copy)
Assignment operator.
Definition: OrthogonalModes.C:47
void set_axis(UnitTangent *)
Set the model of the unit vector.
Definition: ModeCoherency.C:92
OrthogonalModes()
Default constructor.
Definition: OrthogonalModes.C:33
Represents a sum of models.
Definition: SumRule.h:25
~OrthogonalModes()
Destructor.
Definition: OrthogonalModes.C:59
Coherency()
Default constructor.
Definition: Coherency.C:14
virtual void copy(const Function *model)
Does the work for operator =.
Definition: Function.C:58
UnitTangent * get_axis()
Get the model of the unit vector.
Definition: ModeCoherency.C:86
std::string get_name() const
Return the name of the class.
Definition: OrthogonalModes.C:64

Generated using doxygen 1.8.17