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 
17 namespace 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 
42  MeanFeed feed;
43 
44  };
45 
46 }
47 
48 #endif
void update(MEAL::Complex2 *model) const
Update the Model parameters with the current mean.
Definition: MeanFeed.C:11
Phenomenological description of the instrument.
Definition: Instrument.h:31
A weighted mean of Feed parameter estimates.
Definition: MeanFeed.h:27
void update(MEAL::Complex2 *model) const
Update the Model parameters with the current mean.
Definition: MeanSingleAxis.C:13
const SingleAxis * get_backend() const
Provide access to the SingleAxis model.
Definition: VariableBackend.C:127
double chisq(const MEAL::Complex2 *model) const
Return a measure of the difference between the mean and model.
Definition: MeanInstrument.C:34
MeanFeed feed
The mean values of the Feed model parameters.
Definition: MeanInstrument.h:47
const Feed * get_feed() const
Provide access to the Feed model.
Definition: Instrument.C:177
void integrate(const MEAL::Complex2 *model)
Add the Model parameters to the running mean.
Definition: MeanInstrument.C:23
MeanSingleAxis single_axis
The mean values of the SingleAxis model parameters.
Definition: MeanInstrument.h:44
void update(MEAL::Complex2 *model) const
Update the Model parameters with the current value of the mean.
Definition: MeanInstrument.C:12
const VariableBackend * get_backend() const
Provide access to the backend model.
Definition: BackendFeed.C:60
A weighted mean of SingleAxis parameter estimates.
Definition: MeanSingleAxis.h:27

Generated using doxygen 1.8.17