SingularCoherency.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/SingularCoherency.h
10 
11 #ifndef __MEAL_SingularCoherency_H
12 #define __MEAL_SingularCoherency_H
13 
14 #include "MEAL/Coherency.h"
15 
16 namespace MEAL {
17 
19 
27  class SingularCoherency : public Coherency
28  {
29 
30  public:
31 
34 
36  virtual void set_stokes (const Stokes<double>& stokes);
37 
39  virtual void set_stokes (const Stokes< Estimate<double> >& stokes);
40 
42  virtual Stokes< Estimate<double> > get_stokes () const;
43 
45  virtual void set_vector (const Vector<3,double>&);
46 
47  // ///////////////////////////////////////////////////////////////////
48  //
49  // Function implementation
50  //
51  // ///////////////////////////////////////////////////////////////////
52 
54  std::string get_name () const;
55 
56  protected:
57 
59  void calculate (Jones<double>& result, std::vector<Jones<double> >*);
60 
61  };
62 
63 }
64 
65 #endif
Abstract base class implements parameter storage and access.
Definition: Parameters.h:28
virtual Stokes< Estimate< double > > get_stokes() const
Get the Stokes parameters and their estimated errors.
Definition: SingularCoherency.C:100
SingularCoherency()
Default constructor.
Definition: SingularCoherency.C:15
virtual void set_stokes(const Stokes< double > &stokes)
Set the Stokes parameters of the model.
Definition: SingularCoherency.C:79
void calculate(Jones< double > &result, std::vector< Jones< double > > *)
Calculate the Jones matrix and its gradient.
Definition: SingularCoherency.C:32
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
std::string get_name() const
Return the name of the class.
Definition: SingularCoherency.C:25
virtual void set_vector(const Vector< 3, double > &)
Set the Stokes polarization vector.
Definition: SingularCoherency.C:84
void set_name(unsigned index, const std::string &name)
Return the name of the specified parameter.
Definition: Parameters.h:69

Generated using doxygen 1.8.17