MeanInstrument.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/MeanInstrument.h
10
11#ifndef __Calibration_MeanInstrument_H
12#define __Calibration_MeanInstrument_H
13
14#include "Pulsar/MeanSingleAxis.h"
15#include "Pulsar/MeanFeed.h"
16
17namespace Calibration {
18
19 class MeanSingleAxis;
20 class MeanFeed;
21
23 class MeanInstrument : public MEAL::Mean<MEAL::Complex2> {
24
25 public:
26
28 void integrate (const MEAL::Complex2* model);
29
31 void update (MEAL::Complex2* model) const;
32
34 double chisq (const MEAL::Complex2* model) const;
35
36 protected:
37
40
43
44 };
45
46}
47
48#endif
A weighted mean of Feed parameter estimates.
Definition MeanFeed.h:22
A weighted mean of Instrument parameter estimates.
Definition MeanInstrument.h:23
void integrate(const MEAL::Complex2 *model)
Add the Model parameters to the running mean.
Definition MeanInstrument.C:23
MeanFeed feed
The mean values of the Feed model parameters.
Definition MeanInstrument.h:42
void update(MEAL::Complex2 *model) const
Update the Model parameters with the current value of the mean.
Definition MeanInstrument.C:12
MeanSingleAxis single_axis
The mean values of the SingleAxis model parameters.
Definition MeanInstrument.h:39
double chisq(const MEAL::Complex2 *model) const
Return a measure of the difference between the mean and model.
Definition MeanInstrument.C:34
A weighted mean of SingleAxis parameter estimates.
Definition MeanSingleAxis.h:22

Generated using doxygen 1.14.0