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 
17 namespace 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 
void set_gain(const Estimate< double > &gain)
void set_boost(unsigned i, const Estimate< double > &b_i)
Estimate< double > get_boost(unsigned i) const
MeanEstimate< double > mean_gain
Best estimate of receiver gain.
Definition: MeanPolar.h:43
void update(MEAL::Complex2 *model) const
Update the Model parameters with the current value of the mean.
Definition: MeanPolar.C:11
void set_rotation(unsigned i, const Estimate< double > &phi_i)
T get_value() const
Estimate< double > get_gain() const
Estimate< double > get_rotation(unsigned i) const
MeanRadian< double > mean_rotation[3]
Best estimate of receiver rotations.
Definition: MeanPolar.h:49
MeanEstimate< double > mean_boost[3]
Best estimate of receiver boost.
Definition: MeanPolar.h:46
void integrate(const MEAL::Complex2 *model)
Add the Model parameters to the running mean.
Definition: MeanPolar.C:32

Generated using doxygen 1.8.17