PhysicalCoherency.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2005 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/MEAL/MEAL/PhysicalCoherency.h
10 
11 #ifndef __MEAL_PhysicalCoherency_H
12 #define __MEAL_PhysicalCoherency_H
13 
14 #include "MEAL/Coherency.h"
15 
16 namespace MEAL {
17 
19 
27  class PhysicalCoherency : public Coherency {
28 
29  public:
30 
33 
35  virtual void set_stokes (const Stokes<double>& stokes);
36 
38  virtual void set_stokes (const Stokes< Estimate<double> >& stokes);
39 
41  virtual Stokes< Estimate<double> > get_stokes () const;
42 
43  // ///////////////////////////////////////////////////////////////////
44  //
45  // Function implementation
46  //
47  // ///////////////////////////////////////////////////////////////////
48 
50  std::string get_name () const;
51 
52  protected:
53 
55  void calculate (Jones<double>& result, std::vector<Jones<double> >*);
56 
57  };
58 
59 }
60 
61 #endif
const ScalarMath exp(const ScalarMath &x)
Return a ScalarMath instance representing exp(x)
Definition: ScalarMath.C:224
Abstract base class implements parameter storage and access.
Definition: Parameters.h:28
std::string get_name() const
Return the name of the class.
Definition: PhysicalCoherency.C:25
const ScalarMath log(const ScalarMath &x)
Return a ScalarMath instance representing log(x)
Definition: ScalarMath.C:232
virtual Stokes< Estimate< double > > get_stokes() const
Get the Stokes parameters and their estimated errors.
Definition: PhysicalCoherency.C:121
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
virtual void set_stokes(const Stokes< double > &stokes)
Set the Stokes parameters of the model.
Definition: PhysicalCoherency.C:92
void calculate(Jones< double > &result, std::vector< Jones< double > > *)
Calculate the Jones matrix and its gradient.
Definition: PhysicalCoherency.C:32
void set_name(unsigned index, const std::string &name)
Return the name of the specified parameter.
Definition: Parameters.h:69
PhysicalCoherency()
Default constructor.
Definition: PhysicalCoherency.C:14

Generated using doxygen 1.8.17