NormalizeStokes.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2004 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/MEAL/MEAL/NormalizeStokes.h
10
11#ifndef __MEAL_NormalizeStokes_h
12#define __MEAL_NormalizeStokes_h
13
14#include "MEAL/Invariant.h"
15#include "MEAL/ScalarParameter.h"
16
17namespace MEAL {
18
19 class Scalar;
20
22
24
25 public:
26
29
32
35
37 void set_other (const Estimate<double>& other);
38
41
43 void normalize (Stokes< Estimate<float> >& stokes);
44
46 void normalize (Stokes< Estimate<double> >& stokes);
47
49 void normalize (Stokes< Estimate<double> >& stokes, const Estimate<double>& total_squared_invariant);
50
51 protected:
52
55
58
60 Stokes<ScalarMath> output;
61
62 private:
63
65 void init ();
66
67 };
68
69}
70
71#endif
72
Stokes< ScalarMath > output
The output Stokes parameters.
Definition NormalizeStokes.h:60
~NormalizeStokes()
Destructor.
Definition NormalizeStokes.C:35
void normalize(Stokes< Estimate< float > > &stokes)
Normalize the Stokes parameters by their invariant interval.
Definition NormalizeStokes.C:53
NormalizeStokes()
Default constructor.
Definition NormalizeStokes.C:25
NormalizeStokes & operator=(const NormalizeStokes &)
Assignment operator.
Definition NormalizeStokes.C:41
Reference::To< Invariant > invariant
Calculates the invariant interval and its bias.
Definition NormalizeStokes.h:54
void set_other(const Estimate< double > &other)
Set the other term in the denominator.
Definition NormalizeStokes.C:47
Reference::To< ScalarParameter > other
The other term in the denominator.
Definition NormalizeStokes.h:57
Pure virtual base class of scalar functions.
Definition Scalar.h:20
Namespace in which all modeling and calibration related code is declared.
Definition ExampleComplex2.h:16

Generated using doxygen 1.14.0