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
17namespace MEAL {
18
21
22 public:
23
25 StokesError ();
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
Jones< double > jones_grad
The Jones matrix of the transformation gradient component.
Definition StokesError.h:54
bool built
Flag set to false when del must be recomputed.
Definition StokesError.h:57
Jones< double > jones
The Jones matrix of the transformation.
Definition StokesError.h:51
void set_variance(const Stokes< double > &)
Set the variances of the input Stokes parameters.
Definition StokesError.C:17
StokesError()
Default constructor.
Definition StokesError.C:11
Stokes< double > get_variance() const
Get the variances of the output Stokes parameters.
Definition StokesError.C:37
Stokes< double > get_input_variance() const
Get the input variance (not transformed)
Definition StokesError.C:23
Stokes< double > input
The input Stokes parameter variances.
Definition StokesError.h:48
Matrix< 4, 4, double > xform
The Mueller matrix of the transformation.
Definition StokesError.h:63
void build()
Computes del.
Definition StokesError.C:64
void set_transformation_gradient(const Jones< double > &)
Set the transformation gradient component.
Definition StokesError.C:49
void set_transformation(const Jones< double > &)
Set the transformation.
Definition StokesError.C:29
Stokes< double > get_variance_gradient() const
Get the variances of the output Stokes parameters gradient component.
Definition StokesError.C:56
Matrix< 4, 4, double > del
The Mueller matrix of the transformation gradient component.
Definition StokesError.h:66
Namespace in which all modeling and calibration related code is declared.
Definition ExampleComplex2.h:16

Generated using doxygen 1.14.0