StokesError.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2006 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/MEAL/MEAL/StokesError.h
10 
11 #ifndef __MEAL_StokesError_H
12 #define __MEAL_StokesError_H
13 
14 #include "Pauli.h"
15 #include "Reference.h"
16 
17 namespace MEAL {
18 
20  class StokesError : public Reference::Able {
21 
22  public:
23 
26 
28  void set_variance (const Stokes<double>&);
29 
31  void set_transformation (const Jones<double>&);
32 
34  Stokes<double> get_variance () const;
35 
37  void set_transformation_gradient (const Jones<double>&);
38 
40  Stokes<double> get_variance_gradient () const;
41 
43  Stokes<double> get_input_variance () const;
44 
45  protected:
46 
48  Stokes<double> input;
49 
51  Jones<double> jones;
52 
54  Jones<double> jones_grad;
55 
57  bool built;
58 
60  void build();
61 
63  Matrix<4,4,double> xform;
64 
66  Matrix<4,4,double> del;
67 
68  };
69 
70 }
71 
72 #endif
Matrix< 4, 4, double > xform
The Mueller matrix of the transformation.
Definition: StokesError.h:73
Jones< double > jones
The Jones matrix of the transformation.
Definition: StokesError.h:61
Propagates Stokes parameter uncertainty through congruence transformation.
Definition: StokesError.h:25
Matrix< 4, 4, double > del
The Mueller matrix of the transformation gradient component.
Definition: StokesError.h:76
void set_transformation_gradient(const Jones< double > &)
Set the transformation gradient component.
Definition: StokesError.C:49
Stokes< double > get_variance_gradient() const
Get the variances of the output Stokes parameters gradient component.
Definition: StokesError.C:56
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
Jones< double > jones_grad
The Jones matrix of the transformation gradient component.
Definition: StokesError.h:64
Stokes< double > get_input_variance() const
Get the input variance (not transformed)
Definition: StokesError.C:23
StokesError()
Default constructor.
Definition: StokesError.C:11
void build()
Computes del.
Definition: StokesError.C:64
Stokes< double > get_variance() const
Get the variances of the output Stokes parameters.
Definition: StokesError.C:37
bool built
Flag set to false when del must be recomputed.
Definition: StokesError.h:67
void set_transformation(const Jones< double > &)
Set the transformation.
Definition: StokesError.C:29
void set_variance(const Stokes< double > &)
Set the variances of the input Stokes parameters.
Definition: StokesError.C:17
Stokes< double > input
The input Stokes parameter variances.
Definition: StokesError.h:58

Generated using doxygen 1.8.17