MeanPolar.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/Polarimetry/Pulsar/MeanPolar.h
10
11#ifndef __Calibration_MeanPolar_H
12#define __Calibration_MeanPolar_H
13
14#include "MEAL/Mean.h"
15#include "MEAL/Complex2.h"
16
17namespace Calibration {
18
20 class MeanPolar : public MEAL::Mean<MEAL::Complex2> {
21
22 public:
23
25 void integrate (const MEAL::Complex2* model);
26
28 void update (MEAL::Complex2* model) const;
29
30 protected:
31
34
37
40
41 };
42
43}
44
45#endif
46
A weighted mean of MEAL::Polar parameter estimates.
Definition MeanPolar.h:20
void integrate(const MEAL::Complex2 *model)
Add the Model parameters to the running mean.
Definition MeanPolar.C:32
MeanEstimate< double > mean_gain
Best estimate of receiver gain.
Definition MeanPolar.h:33
MeanEstimate< double > mean_boost[3]
Best estimate of receiver boost.
Definition MeanPolar.h:36
MeanRadian< double > mean_rotation[3]
Best estimate of receiver rotations.
Definition MeanPolar.h:39
void update(MEAL::Complex2 *model) const
Update the Model parameters with the current value of the mean.
Definition MeanPolar.C:11

Generated using doxygen 1.14.0